Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/trade/companies/co_g7sfqjqgfxj3/contacts?limit=1' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/trade/companies/{id}/contacts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/trade/companies/{id}/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/trade/companies/{id}/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/trade/companies/{id}/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/trade/companies/{id}/contacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/trade/companies/{id}/contacts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/trade/companies/{id}/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"department": "purchasing",
"email": "<string>",
"email_status": "verified",
"id": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"seniority": "owner",
"title": "<string>",
"other_email": "<string>",
"phones": [
"<string>"
]
}
],
"notice": "<string>",
"query": {
"domain": "<string>",
"resolution": {
"exhausted": true,
"mode": "waterfall",
"steps_tried": 123
}
}
}Global Trade & Customs
Find decision-maker contacts with verified work emails at a company
Global Trade & Customs API (trade.companies.id.contacts)
GET
https://api.aisa.one
/
apis
/
v1
/
trade
/
companies
/
{id}
/
contacts
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/trade/companies/co_g7sfqjqgfxj3/contacts?limit=1' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/trade/companies/{id}/contacts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/trade/companies/{id}/contacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/trade/companies/{id}/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/trade/companies/{id}/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/trade/companies/{id}/contacts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/trade/companies/{id}/contacts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/trade/companies/{id}/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"department": "purchasing",
"email": "<string>",
"email_status": "verified",
"id": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"seniority": "owner",
"title": "<string>",
"other_email": "<string>",
"phones": [
"<string>"
]
}
],
"notice": "<string>",
"query": {
"domain": "<string>",
"resolution": {
"exhausted": true,
"mode": "waterfall",
"steps_tried": 123
}
}
}请求规范
- 方法与路径: GET /apis/v1/trade/companies/{id}/contacts
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/trade/companies/{id}/contacts - id: path; 必填
- department: query; 可选
- domain: query; 可选
- limit: query; 可选
- min_email_status: query; 可选
- seniority: query; 可选
{
"operationId": "trade.companies.id.contacts",
"method": "GET",
"path": "/apis/v1/trade/companies/{id}/contacts",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"examples": {
"default": {
"value": "co_g7sfqjqgfxj3"
},
"minimal": {
"value": "co_g7sfqjqgfxj3"
}
},
"in": "path",
"name": "id",
"required": true,
"schema": {
"maxLength": 40,
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]{1,40}$",
"type": "string"
}
},
{
"in": "query",
"name": "department",
"required": false,
"schema": {
"type": "string",
"x-aisa-delimiter": ",",
"x-aisa-item-pattern": "^(purchasing|sales|management|operations|marketing|finance|engineering|quality|it|hr|legal)$",
"x-aisa-maxItems": 11,
"x-aisa-minItems": 1
}
},
{
"in": "query",
"name": "domain",
"required": false,
"schema": {
"maxLength": 253,
"minLength": 3,
"type": "string"
}
},
{
"examples": {
"default": {
"value": 1
},
"minimal": {
"value": 1
}
},
"in": "query",
"name": "limit",
"required": false,
"schema": {
"default": 5,
"maximum": 25,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "min_email_status",
"required": false,
"schema": {
"default": "verified",
"enum": [
"risky",
"verified"
],
"type": "string"
}
},
{
"in": "query",
"name": "seniority",
"required": false,
"schema": {
"type": "string",
"x-aisa-delimiter": ",",
"x-aisa-item-pattern": "^(owner|c_level|executive|manager|senior|staff)$",
"x-aisa-maxItems": 6,
"x-aisa-minItems": 1
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 公开参考价格:每计费单位 $0.03 USD。 默认请求预估费用:$0.03 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
查询参数
响应
Normalized successful response