Skip to main content
The Customs API provides company discovery, company-name candidates, counterparties, product categories, trends, country distribution, and complete trade reports. Every endpoint is an asynchronous POST. Idempotency-Key is optional; send and reuse it when safe retries are needed. Two independent dimensions control a query:
  • company_role is the target company’s role in the trade: importer or exporter.
  • catalog is the record catalog to query: imports or exports.
They can be combined independently. Most requests use the first two common combinations. Cross-combinations are useful when looking up a company from the opposite side’s record catalog. company_role answers “what role does the target company play?” while catalog answers “which side’s record catalog should be queried?” They are not duplicate fields.

Endpoints

Find customs company candidates

Find exact name strings that have trade records in a date range.

Discover companies by trade

Find importers or exporters from product, country, and date criteria.

Query endpoints

These endpoints share one request format:
cURL

Shared request fields

string
required
2-300 characters; use an exact name confirmed by the candidates endpoint.
string
required
importer or exporter.
string
imports or exports; independent of company_role. Defaults to the common catalog for the role.
date
required
YYYY-MM-DD.
date
required
YYYY-MM-DD; cannot precede start_date.
integer
default:"1"
1-1000; default 1.
integer
default:"20"
1-20; default 20. Out-of-range values are normalized to the boundary.
string
default:"months"
months, quarters, or years; default months.
string
One 2, 4, 6, 8, or 10 digit HS Code; lists and ranges are unsupported.
string
Product-description filter.
string
ISO 3166-1 alpha-3 origin code, such as CHN.
string
ISO 3166-1 alpha-3 destination code, such as USA.
The maximum query range is one year. Country and region codes use three letters; common examples include USA, CHN, IDN, PHL, and GBR. Invalid dates, company names, company_role, catalog, or country codes fail immediately without creating a job.

Single-section result

For a successful job, item.result contains the query scope and a paginated data object:
Response body
Public rows can contain only these stable fields:
  • name
  • country
  • countryCode
  • date
  • hsCode
  • hsDescriptionCn
  • hsDescriptionEn
  • companyCount
  • weight
  • quantity
  • sumOfUSD
  • weightAvgPrice
  • quantityAvgPrice
  • tradeCount
  • amountSharePct
Not every section returns every field.

Complete report result

item.result from trade-reports is grouped by section:
Response body
A complete report may partially succeed. Check each section’s status; a succeeded job does not imply that all four sections succeeded.

Credits

Current default customs pricing is based on rows returned.
Before execution, the service may reserve enough credits for the requested page size and sections. Final settlement uses actual returned rows, rounds the aggregate charge up to a whole credit, and releases unused reservation. Treat the completed job’s billing.charged_credits as the source of truth. Pricing can change with the active billing configuration.