跳转到主要内容
GET
Reference example

请求规范

  • 方法与路径: GET /apis/v1/trade/companies/{id}/shipments
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/trade/companies/{id}/shipments
  • id: path; 必填
  • cursor: query; 可选
  • exporter_country: query; 可选
  • fields: query; 可选
  • hs_code: query; 可选
  • importer_country: query; 可选
  • limit: query; 可选
  • product: query; 可选
  • role: query; 可选
  • since: query; 可选
  • sort: query; 可选
  • until: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

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

授权

Authorization
string
header
必填

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

路径参数

id
string
必填
Required string length: 1 - 40
Pattern: ^[A-Za-z0-9_-]{1,40}$

查询参数

cursor
string
Required string length: 1 - 200
exporter_country
string
Required string length: 2 - 80
fields
string
hs_code
string
Required string length: 6 - 10
Pattern: ^[0-9]{6,10}$
importer_country
string
Required string length: 2 - 80
limit
integer
默认值:10
必填范围: 1 <= x <= 100
product
string
Required string length: 2 - 100
role
enum<string>
默认值:importer
可用选项:
exporter,
importer
since
string
Required string length: 10
Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
sort
enum<string>
默认值:date_desc
可用选项:
date_asc,
date_desc
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.