POST. Idempotency-Key is optional; send and reuse it when safe retries are needed.
Two independent dimensions control a query:
company_roleis the target company’s role in the trade:importerorexporter.catalogis the record catalog to query:importsorexports.
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
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
namecountrycountryCodedatehsCodehsDescriptionCnhsDescriptionEncompanyCountweightquantitysumOfUSDweightAvgPricequantityAvgPricetradeCountamountSharePct
Complete report result
item.result from trade-reports is grouped by section:
Response body
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.
