跳转到主要内容
POST
Reference example

请求规范

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

费用与请求规则

按实际用量收费。 公开参考价格:每计费单位 $0.01 USD。 默认请求预估费用:$0.01 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
cursor
string
Required string length: 1 - 200
exclude_forwarders
boolean
默认值:true
exporter_country
string
Required string length: 2 - 80
importer_country
string
Required string length: 2 - 80
limit
integer
默认值:10
必填范围: 1 <= x <= 100
product
string
Required string length: 2 - 100
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 results of this page.

has_more
boolean
必填

Whether more results follow this page.

next_cursor
string | null
必填

Pass it as cursor to get the next page. Null on the last page.

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: country names as codes, the default dates filled in. data_through says how recent the records behind the answer are.

total
integer
必填

How many results match in all. Use it to decide between paging on and narrowing the query.