跳转到主要内容
POST
Reference example

请求规范

  • 方法与路径: POST /apis/v1/trade/leads/find
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/trade/leads/find
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 公开参考价格:每计费单位 $0.04 USD。 默认请求预估费用:$0.04 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
hs_code
string
必填
Required string length: 6 - 10
Pattern: ^[0-9]{6,10}$
role
enum<string>
必填
可用选项:
exporter,
importer
contacts_per_company
enum<integer>
默认值:1
可用选项:
1
必填范围: 0 <= x <= 9223372036854776000
cursor
string
Required string length: 1 - 200
department
enum<string>[]
Required array length: 1 - 11 elements
可用选项:
engineering,
finance,
hr,
it,
legal,
management,
marketing,
operations,
purchasing,
quality,
sales
exclude_forwarders
boolean
默认值:true
exporter_country
string
Required string length: 2 - 80
importer_country
string
Required string length: 2 - 80
limit
integer
默认值:5
必填范围: 1 <= x <= 10
min_email_status
enum<string>
默认值:verified
可用选项:
risky,
verified
product
string
Required string length: 2 - 100
require
enum<string>
默认值:person_email
可用选项:
any_contact,
person_email
seniority
enum<string>[]
Required array length: 1 - 6 elements
可用选项:
c_level,
executive,
manager,
owner,
senior,
staff
since
string
Required string length: 10
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
sort
enum<string>
默认值:shipments
可用选项:
recorded_value,
shipments
trading_with
string
Required string length: 2 - 200
until
string
Required string length: 10
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

响应

Normalized successful response

data
object[]
必填

The leads, in the order of the ranked list.

has_more
boolean
必填

Whether the ranked list goes on after the last company looked at.

next_cursor
string | null
必填

Pass it as cursor to go on after the last company that was looked at.

notice
string | null
必填

A plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise.

query
object
必填

The request as it was understood, with the default dates filled in. scanned says how many companies were looked at for this page, passed_over why the ones without a lead gave none, and data_through how recent the records are.

total
integer
必填

How many companies the ranked list has in all.