Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Customs Trade by HS Code

API 文档
https://api.sandbase.ai/v1/api/tendata/trade/hs-codes

Break down the customs records that match a trade query by HS code, with weight, USD value and shipment count for each code.

价格
起价 $0.016美元 / 次调用
方法
POST
响应
异步 JSON
参数
5 个必填 · 20 个可选

Playground

输入
Page number, starting at 1. 范围:1 到 9007199254740991。
Data-source side: customs import records or export records.
Query window end, YYYY-MM-DD.
120
Rows per page (1-20). Each returned row is billed, so this caps the cost of one call. 范围:1 到 20。
Query window start, YYYY-MM-DD. The window may span at most three years.
Customs HS code, 4+ digits (e.g. '630492'). A 2-digit chapter code works only combined with productDesc or a company name.
Weight range in kilograms, as [min, max].
Exporter company name (min 2 chars). Drop company suffixes and special characters for better matching.
Importer company name (min 2 chars). Drop company suffixes and special characters for better matching.
Quantity range, as [min, max].
Total USD value range, as [min, max].
Set to FUZZY_SINGLE for single-keyword fuzzy matching; omit for the default smart search.
Product description keywords; separate multiple keywords with semicolons (e.g. 'electronics; home appliance').
Quantity unit filter (e.g. 'PCS', 'PKG').
Arrival port name.
Transport mode (e.g. sea, air, road).
Include producer companies (available on Russia/Kazakhstan sources).
Departure port name.
Drop records whose named party is blank (e.g. ["importer"]).
Prefer the vendor's optimized data sources.
USD unit price per kilogram range, as [min, max].
Origin country ISO3 code(s), semicolon-separated (e.g. 'CHN;USA').
Drop records whose named party is a logistics company (e.g. ["exporter"]). Buyers have reported forwarders still being returned, so screen party names yourself.
USD unit price per quantity range, as [min, max].
Destination country ISO3 code(s), semicolon-separated (e.g. 'USA;CHN').
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Customs Trade by HS Code

Break down the customs records that match a trade query by HS code, with weight, USD value and shipment count for each code.

Pricing

  • Inspect reference unit price: $0.016 USD per result.
  • Final settlement uses the provider-reported actual cost after strict validation; the reference price is not used to infer the final charge.

探索更多

相关 APIs

全部 APIs
API价格响应
Tendata每次调用从 $0.016 起异步 JSON
Tendata每次调用从 $0.016 起异步 JSON
Tendata每次调用从 $0.0016 起异步 JSON
Tendata每次调用从 $0.019 起异步 JSON
Tendata每次调用从 $0.064 起异步 JSON
Tendata每次调用从 $0.0016 起异步 JSON

问题

常见问题

如何使用 Customs Trade by HS Code API?

向 https://api.sandbase.ai/v1/api/tendata/trade/hs-codes 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Customs Trade by HS Code API 的价格是多少?

起价每次调用 $0.016,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Customs Trade by HS Code API 接受哪些参数?

必填:pageNo (integer), catalog(imports, exports 之一), endDate (string), pageSize (integer) 和 startDate (string)。 可选:hsCode (string), weight (array), exporter (string), importer (string), quantity (array) 和 sumOfUSD (array) 以及另外 14 项。 Parameters 表和本页的 Playground 列出了每个字段。

Customs Trade by HS Code API 返回什么?

JSON 结果。此端点异步运行,因此响应会告诉您如何获取已完成的结果。

我需要 Tendata 开发者账户或 API key 吗?

不需要。Customs Trade by HS Code 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Tendata API 访问权限。