APIsPricingEnterpriseBlogLibrary
Get Started

3 Endpoints

  • Customs Trade Companies
  • Customs Shipment Records
  • Customs Trade Statistics
  1. APIs
  2. /
  3. Customs Data

Customs Data

Customs Trade Statistics API

A customs trade statistics API that aggregates trade by HS code, country or time period, returning weight, value, unit price and value share.

/api/customs/trade-stats$0.035 per aggregate bucket

Paste this into your coding agentClaude CodeCodexCursor

$setup https://mindcase.co/skills.md

Playground

Input Form

Output limits

100 aggregate buckets × $0.035 = $3.50

Sample Result

10 rows
Bucket Key
Grouped By
Country Code
Weight (kg)
Quantity
Reported Value (USD)
Unit Price per kg (USD)
Unit Price (USD)
Trade Count
Value Share (%)
COL
originCountry
COL
521,629,199.08
211,315,973
2,285,335,899
4.381
10.815
19,686
0.159
BRA
originCountry
BRA
489,380,110.98
182,254,327
1,599,403,117
3.268
8.776
20,291
0.111
MEX
originCountry
MEX
337,846,165.83
94,925,795
1,532,024,625
4.535
16.139
8,952
0.106
CHN
originCountry
CHN
695,661,410.09
73,182,235
1,338,230,235
1.924
18.286
61,247
0.093
VNM
originCountry
VNM
445,212,056.46
41,013,299
1,089,158,912
2.446
26.556
26,395
0.076
CAN
originCountry
CAN
930,577
324,758,048
1,791,727,473
1,925.394
5.517
981
0.191
CIV
originCountry
CIV
258,830,937
93,685,426
848,931,292
3.28
9.062
8,207
0.091
MYS
originCountry
MYS
135,824,351.9
49,084,241
565,483,932
4.163
11.521
5,148
0.06
IDN
originCountry
IDN
727,541,187.9
36,139,344
527,131,679
0.725
14.586
2,664
0.056
JPN
originCountry
JPN
38,632,326.06
8,667,359
446,095,061
11.547
51.468
3,974
0.109

Use Cases

  • Market Share Ranking

    Rank origin countries by import value for a product to see who supplies the most.

    >Show import value rankings for coffee entering the USA by origin country
  • Country Benchmarking

    Compare import volumes across several countries for the same product in one query.

    >Compare steel import volumes from China, India, and Brazil into Germany
  • Exporter Concentration

    Find which exporters account for the largest share of a product's export value.

    >Find the top exporters of soybeans from Argentina by reported value
  • Price Trend Tracking

    Group a product's trade data by time period to see how unit price per kg moved.

    >Group semiconductor imports into Vietnam by month for the last 12 months

About this API

Customs Trade Statistics API aggregates customs trade records into ranked buckets by HS code, origin country, destination country, or time period, returning fields like Bucket Key, Country Name, Period, Weight (kg), Reported Value (USD), and Unit Price per kg (USD) for each bucket. Coverage spans roughly 95 countries including the United States, Mexico, Brazil, India, Vietnam, and the EU, so you get totals and shares without pulling every individual shipment.

Commodity traders use it to track price per kg trends for a product over time, trade analysts use it to benchmark which countries supply the most of a product category, and supply chain managers use it to spot concentration risk when one origin country dominates an import flow.

  • Real-time data
  • Self-serve
  • Pay per result
  • Zero setup time

Related APIs

Explore All APIs
  • Customs Trade Companies$0.038 per company
  • Customs Shipment Records$0.032 per customs shipment record
  • Project Profile$0.036 per project
  • Company Technology Lookup$0.0025 per domain
  • Wallet Transfers$0.005 per transfer
  • Token Holders$0.0025 per token holder
  • API$0.0105 per patent
  • Wallet Labels$0.006 per wallet label

3 endpoints

Your agent asks.
Mindcase fetches.

Pay per result. No scrapers, proxies or setup to maintain.

Get Started
13

Datapoints per Customs Data record

Frequently Asked Questions

Have more questions?

Our team can help you out

Contact Us
  • This API returns aggregated totals and rankings grouped by HS code, country, or period. If you need individual shipment-level rows with importer and exporter names, use the Customs Shipment Records API instead.

Give your AI agents better data

Paste this into your coding agent

$setup https://mindcase.co/skills.md
  • Claude Code
  • Codex
  • Cursor

Email

support@mindcase.co

Subscribe

Product

  • APIs
  • Pricing
  • Blog
  • Docs (skills.md)
  • Get API Key

Company

  • Mindcase vs Apify
  • Enterprise
  • Book a Meeting

Legal

  • Support
  • Refund & Cancellation
  • Data Processing

© 2026 Mindcase Technologies Private Limited

Privacy PolicyTerms of Service