Skip to content
UN Comtrade Help Center

UN Comtrade Help Center

  • UN Comtrade website

Getting Started

  • Welcome to UN Comtrade
  • Read Me First (Disclaimer)
  • Use Cases
  • How to Access UN Comtrade data?
  • Subscription Plans
  • UN Comtrade Data Processing and Dissemination Pipeline
  • Policy on use and re-dissemination
  • Premium Subscribers
  • How to create an account
  • Acquiring API Subscription Keys
  • Who do we contact for support?
  • Can I book a demo of the UN Comtrade platform?

FAQ

  • Policy on use and re-dissemination
  • FAQs on Use and Re-dissemination
  • List of References & Parameter Codes
  • Exports from one country may not always align perfectly with the imports of its trading partners.
  • Bilateral asymmetries
  • Issues with UN Comtrade Website?
  • Annual totals vs sum of monthly data
  • Can I book a demo of the UN Comtrade platform?
  • Why are some converted datasets not accessible in the UI?
  • What is “SITC LTS”?
  • Why does the commodity description for some HS codes differ slightly from the official WCO version?
  • Trade valuation
  • How to Access UN Comtrade data?
  • Mode of Transport and Trade Routes
  • Does UN Comtrade provide buyer/supplier-level data?
  • How should I interpret and use quantity data in UN Comtrade?
  • What is bulk file download?
  • How do I use wildcards to query data?
  • How to use UN Comtrade via World Integrated Trade Solution (WITS)
  • What are the data sources for UN Comtrade?
  • Which new data items have been added to UN Comtrade datasets?
  • How to retrieve data for “World” exports to a country in UN Comtrade?
  • What is data preview?
  • What is data delivery?
  • Conversion factors and current/constant value
  • Supplementary Quantity Units
  • Are 6-digit commodity codes included in 4-digit commodity codes or are they separate?
  • Reported and Converted Data: Commodity Conversion Issues
  • Premium Trial Subscription
  • Who do we contact for support?
  • Showcases in Visualization Labs

Premium

  • Premium Subscribers
  • UN Comtrade Tools
  • Menu: Bulk Files

Metadata

  • Seaborne Trade Estimates – Archive
  • Country nomenclature and groupings
  • Historical Data 1900-1960 on IMTS
  • Correlation between ISIC and SITC codes (or Commodity and Industry)
  • Conversion factors and current/constant value
  • Which new data items have been added to UN Comtrade datasets?
  • What are the data sources for UN Comtrade?
  • Supplementary Quantity Units
  • Reporters and Partners
  • Taiwan, Province of China Trade Data
  • Data Conversion
  • Intermediate Goods in Trade Statistics
  • HS 2017 code 3002.19 and HS 2022 code 3822.19
  • HS 2007 code 2916.36
  • Monetary and Non-Monetary Gold in Trade Classifications (SITC, HS)
  • Areas not elsewhere specified
  • Why are China’s re-imports so high?
  • Second Partner Country
  • UN Comtrade and UNData
  • Tariffline product code description
  • Shuttle Trade
  • Trade with itself
  • Reporter country codes and their custom areas
  • Reported and Converted Data: Commodity Conversion Issues
  • Quantity unit information in detailed level data
  • Data Confidentiality in UN Comtrade
  • EU in UN Comtrade
  • Definition of luxury goods
  • Exports from one country may not always align perfectly with the imports of its trading partners.
  • Changes in trade reporting practices of countries with colonies
  • Reporting Period – Calendar Year
  • Measurement of iron trade, specifically in used cars
  • Leasing of aircraft – financial leasing
  • Hong Kong trade with China
  • Historical data on International Merchandise Trade Statistics (1900-1960)
  • Free Zones and Bunkers
  • Food provided on airlines – Transportation Services
  • Country Codes
  • China: Data availability before 1984
  • Italy: Change in Statistical Territory

Definitions

  • Trade valuation
  • Bilateral asymmetries
  • Special Trade System
  • Modes of Supply
  • Economic Territory and Statistical Territory
  • Distinction between Exports and Re-exports / Imports and Re-imports

Do more

  • UN Comtrade Tools
  • Developer tools for UN Comtrade Data

User Guide

  • How to create an account
  • Home page
  • Menu: Data
  • Menu: Data Availability
  • Menu: Bulk Files
  • Menu: Metadata
  • UN Comtrade Tools
  • UN Comtrade API
  • Showcases in Visualization Labs
  • Premium Trial Subscription
  • What is data preview?
  • What is data delivery?
  • What is tariffline data?
  • How to query data
  • How do I use wildcards to query data?
  • Downloading all data by period
  • How to use UN Comtrade via World Integrated Trade Solution (WITS)

Methodology and Manuals

  • Concepts and definitions of International Merchandise Trade Statistics
  • Concepts and definitions of Statistics of International Trade in Services
  • UN Comtrade Data Processing and Dissemination Pipeline
  • Compilation Methodology
  • Historical Data 1900-1960 on IMTS
  • IMTS Publication List
  • HS, SITC, BEC conversion and correspondence tables
  • Quantity and Weight Data in UN Comtrade

Trade in Services

  • Negative values in trade in services
  • Modes of Supply
  • EBOPS 2002: Extended Balance of Payments Services Classification
View Categories
  • Home
  • Docs
  • User Guide
  • Downloading all data by period

Downloading all data by period

1 min read

Q: I want to download all the data from the UN Comtrade database at once, can this only be done using the APIs, or is there another way of downloading all data simultaneously?

A: Owing to the data size, it’s no longer feasible to maintain a single file encompassing data for all countries (reporter=ALL) by period and classification in the new UN Comtrade as in the previous Comtrade (Legacy). New UN Comtrade disseminates new data items for IMTS 2010 (MoT, CPC, 2ndPartner, etc) when they are reported by the country. Including these new data items results in significantly larger files due to the increased volume of records.

Our Premium subscribers can download pre-packaged files by reporter-period-classification, referred to as bulk files, from the user interface or the bulk API (https://comtradeapi.un.org/bulk).

Users can also use the Data APIs (https://comtradeapi.un.org/data/v1/get) to download the data, but it may not be possible to get ALL the data on a single API call. Please keep in mind that a single time period can contain over 300 million records, and it’s not feasible to deliver all these results in a single response. Our API has a constraint allowing a maximum of 250,000 records per call, as detailed on our website under Premium Subscribers – UN Comtrade – UN Statistics Wiki.

For our premium users, we recommend opting for bulk file downloads when they require the entire dataset. Nevertheless, if the preference is to use the Data API, users can optimize their calls by applying filters for reporters, partners, commodity codes, or any other necessary parameters.

Share This Article :
  • Facebook
  • X
  • LinkedIn
How do I use wildcards to query data?
© 2025 UN Comtrade Help Center • Built with GeneratePress