UN Comtrade
United Nations Statistics Division
What every country says it imports and exports, product by product and partner by partner.
The UN's repository of official merchandise trade statistics reported by roughly 200 countries and areas, by product code and trading partner, annually and monthly, plus services trade. One row is a reporter, partner, product, flow (import or export), and period, with value and quantity. It is the raw material behind most international trade research.
Access
- Cost
- Free tier, paid upgradesFree browsing, downloads, and API key with limits; premium subscriptions add bulk files and higher limits.
- License
- Provider's own termsUN Comtrade terms of use
- Sign-up
- Free account
- How you get it
- API and Bulk downloadCSV, JSON, XLSX
What's in it
- One row is
- One row per reporter, partner, product, flow, and period
- Covers
- About 200 reporting countries and areas
- Years
- Annual data from the 1960s; monthly data for recent decades
- Updated
- Monthly
- Size
- Billions of records
Quality
The canonical official source, but mirror flows rarely match (CIF versus FOB, misreporting), so researchers often use reconciled derivatives.
- Imports and partner-reported exports disagree
- Late and missing reporters in recent years
Connects to
- CEPII BACI: Reconciled version of Comtrade that resolves mirror-flow conflicts
- Atlas of Economic Complexity: Cleaned Comtrade data with complexity measures and visualizations
- U.S. International Trade in Goods and Services: National detail for US trade beyond what Comtrade carries
Questions it could answer
- Which countries became China's largest suppliers of a given product over the last decade?
- How did trade in semiconductors shift between partners after 2020?