Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request POST \
--url https://api.aisa.one/apis/v1/trade/leads/find \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hs_code": "847130",
"importer_country": "US",
"limit": 1,
"role": "importer"
}'curl --request POST \
--url https://api.aisa.one/apis/v1/trade/leads/find \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hs_code": "847130",
"role": "importer"
}
'import requests
url = "https://api.aisa.one/apis/v1/trade/leads/find"
payload = {
"hs_code": "847130",
"role": "importer"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hs_code: '847130', role: 'importer'})
};
fetch('https://api.aisa.one/apis/v1/trade/leads/find', 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/leads/find",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'hs_code' => '847130',
'role' => 'importer'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/trade/leads/find"
payload := strings.NewReader("{\n \"hs_code\": \"847130\",\n \"role\": \"importer\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/trade/leads/find")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"hs_code\": \"847130\",\n \"role\": \"importer\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/trade/leads/find")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"hs_code\": \"847130\",\n \"role\": \"importer\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"channels": {
"emails": [
"<string>"
],
"messaging": [
{
"app": "whatsapp",
"value": "<string>"
}
],
"phones": [
"<string>"
],
"social": {
"facebook": "<string>",
"instagram": "<string>",
"linkedin": "<string>",
"pinterest": "<string>",
"tiktok": "<string>",
"twitter": "<string>",
"youtube": "<string>"
}
},
"company": {
"country": "<string>",
"id": "<string>",
"name": "<string>",
"recorded_value_usd": 123,
"shipments": 123,
"website": "<string>"
},
"contacts": [
{
"department": "purchasing",
"email": "<string>",
"email_status": "verified",
"id": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"seniority": "owner",
"title": "<string>",
"other_email": "<string>",
"phones": [
"<string>"
]
}
]
}
],
"has_more": true,
"next_cursor": "<string>",
"notice": "<string>",
"query": {
"data_through": "<string>",
"passed_over": {
"incomplete": 123,
"no_website": 123,
"nobody": 123
},
"scanned": 123
},
"total": 123
}Global Trade & Customs
Find active importers or exporters with verified contacts
Global Trade & Customs API (trade.leads.find)
POST
https://api.aisa.one
/
apis
/
v1
/
trade
/
leads
/
find
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request POST \
--url https://api.aisa.one/apis/v1/trade/leads/find \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hs_code": "847130",
"importer_country": "US",
"limit": 1,
"role": "importer"
}'curl --request POST \
--url https://api.aisa.one/apis/v1/trade/leads/find \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hs_code": "847130",
"role": "importer"
}
'import requests
url = "https://api.aisa.one/apis/v1/trade/leads/find"
payload = {
"hs_code": "847130",
"role": "importer"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hs_code: '847130', role: 'importer'})
};
fetch('https://api.aisa.one/apis/v1/trade/leads/find', 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/leads/find",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'hs_code' => '847130',
'role' => 'importer'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/trade/leads/find"
payload := strings.NewReader("{\n \"hs_code\": \"847130\",\n \"role\": \"importer\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/trade/leads/find")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"hs_code\": \"847130\",\n \"role\": \"importer\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/trade/leads/find")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"hs_code\": \"847130\",\n \"role\": \"importer\"\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"channels": {
"emails": [
"<string>"
],
"messaging": [
{
"app": "whatsapp",
"value": "<string>"
}
],
"phones": [
"<string>"
],
"social": {
"facebook": "<string>",
"instagram": "<string>",
"linkedin": "<string>",
"pinterest": "<string>",
"tiktok": "<string>",
"twitter": "<string>",
"youtube": "<string>"
}
},
"company": {
"country": "<string>",
"id": "<string>",
"name": "<string>",
"recorded_value_usd": 123,
"shipments": 123,
"website": "<string>"
},
"contacts": [
{
"department": "purchasing",
"email": "<string>",
"email_status": "verified",
"id": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"seniority": "owner",
"title": "<string>",
"other_email": "<string>",
"phones": [
"<string>"
]
}
]
}
],
"has_more": true,
"next_cursor": "<string>",
"notice": "<string>",
"query": {
"data_through": "<string>",
"passed_over": {
"incomplete": 123,
"no_website": 123,
"nobody": 123
},
"scanned": 123
},
"total": 123
}Request contract
- Method and path: POST /apis/v1/trade/leads/find
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/trade/leads/find
{
"operationId": "trade.leads.find",
"method": "POST",
"path": "/apis/v1/trade/leads/find",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"default": {
"value": {
"hs_code": "847130",
"importer_country": "US",
"limit": 1,
"role": "importer"
}
},
"minimal": {
"value": {
"hs_code": "847130",
"importer_country": "US",
"limit": 1,
"role": "importer"
}
}
},
"schema": {
"additionalProperties": false,
"allOf": [
{
"anyOf": [
{
"properties": {
"hs_code": {}
},
"required": [
"hs_code"
]
},
{
"properties": {
"product": {}
},
"required": [
"product"
]
},
{
"properties": {
"trading_with": {}
},
"required": [
"trading_with"
]
}
]
}
],
"properties": {
"contacts_per_company": {
"default": 1,
"enum": [
1
],
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
},
"cursor": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"department": {
"items": {
"enum": [
"engineering",
"finance",
"hr",
"it",
"legal",
"management",
"marketing",
"operations",
"purchasing",
"quality",
"sales"
],
"type": "string"
},
"maxItems": 11,
"minItems": 1,
"type": "array"
},
"exclude_forwarders": {
"default": true,
"type": "boolean"
},
"exporter_country": {
"maxLength": 80,
"minLength": 2,
"type": "string"
},
"hs_code": {
"maxLength": 10,
"minLength": 6,
"pattern": "^[0-9]{6,10}$",
"type": "string"
},
"importer_country": {
"maxLength": 80,
"minLength": 2,
"type": "string"
},
"limit": {
"default": 5,
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"min_email_status": {
"default": "verified",
"enum": [
"risky",
"verified"
],
"type": "string"
},
"product": {
"maxLength": 100,
"minLength": 2,
"type": "string"
},
"require": {
"default": "person_email",
"enum": [
"any_contact",
"person_email"
],
"type": "string"
},
"role": {
"enum": [
"exporter",
"importer"
],
"type": "string"
},
"seniority": {
"items": {
"enum": [
"c_level",
"executive",
"manager",
"owner",
"senior",
"staff"
],
"type": "string"
},
"maxItems": 6,
"minItems": 1,
"type": "array"
},
"since": {
"maxLength": 10,
"minLength": 10,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"type": "string"
},
"sort": {
"default": "shipments",
"enum": [
"recorded_value",
"shipments"
],
"type": "string"
},
"trading_with": {
"maxLength": 200,
"minLength": 2,
"type": "string"
},
"until": {
"maxLength": 10,
"minLength": 10,
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"type": "string"
}
},
"required": [
"role"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Published reference price: $0.04 USD per billable unit. Default request estimate: $0.04 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
- Option 1
- Option 2
- Option 3
Response
Normalized successful response