UN Comtrade Data for Latin America as CSV (2021-2024)
UN Comtrade data for Latin America as one CSV: 119,406 annual trade records for 20 countries by HS chapter and partner, 2021-2024, with share columns.
Short answer: if you want UN Comtrade data for Latin America without building queries country by country, our Latin America trade by product and partner dataset has 119,406 annual records for 20 Latin American and Caribbean countries, 2021 to 2024, by 2-digit HS chapter and partner, in one CSV, Excel or JSON file for US$129 one time. It is a chapter-level annual panel, not product-level or monthly data, and this guide explains exactly what that means.
What UN Comtrade is
UN Comtrade is the United Nations database of merchandise trade statistics. Each country reports its own exports and imports by product (Harmonized System, HS) and partner country. It is the standard source for comparing trade across countries, but pulling a clean multi-country panel from it takes many queries, and each country reports slightly differently.
Our file was retrieved on September 29, 2026 from the annual data reported by each country, then cleaned into a single schema with ISO country codes, Spanish chapter names and computed share columns.
What the UN Comtrade data for Latin America covers
| Item | Coverage |
|---|---|
| Reporting countries | 20: Argentina, Belize, Bolivia, Brazil, Chile, Colombia, Costa Rica, Dominican Republic, Ecuador, El Salvador, Guatemala, Honduras, Jamaica, Mexico, Nicaragua, Panama, Paraguay, Peru, Trinidad and Tobago, Uruguay |
| Years | 2021, 2022, 2023, 2024 (annual) |
| Product detail | 97 HS chapters (2 digits) |
| Partners | World total plus 11 key partners: China, United States, Germany, Spain, Japan, Argentina, Brazil, Chile, Colombia, Mexico, Peru |
| Rows | 119,406 (71,800 import and 47,606 export) |
| Intra-regional rows | 54,633 |
Each row is reporting country, year, flow, HS chapter and partner, with the trade value in USD (valor_usd) and, when reported, separate FOB and CIF values. The primary value is CIF for imports and FOB for exports for most countries.
What it does not cover
Being precise about limits saves you time:
- Chapter level only. HS chapters are 2 digits (for example 85, electrical machinery). If you need 6-digit subheadings or national 8-digit codes, this is not the file. For Brazil at 8-digit NCM level, see our Brazil import export data by NCM guide.
- Annual, not monthly. Four years, 2021 to 2024.
- Selected partners. You get the world total and the 11 partners listed above, not every partner country.
- Reporting gaps stay gaps. When a country did not report a year or partner, there is no row and nothing is imputed. Honduras, for example, has 2021, 2023 and 2024 but not 2022. Belize and Trinidad and Tobago have partner rows but no world-total rows, so the world total is available for 18 of the 20 reporters.
- No companies. It is aggregated trade data with no company or person names.
Example: Latin America trade with China and the United States
The partner columns make dependence questions quick to answer. In 2024, exports to China reached US$94.4 billion from Brazil, US$37.3 billion from Chile and US$24.8 billion from Peru. Exports to the United States were led by Mexico (US$503.4 billion), followed by Brazil (40.9), Chile (15.7) and Colombia (15.0).
On the import side, Mexico's 2024 imports from China were largest in chapter 85, electrical machinery and electronics (US$42.77 billion, 32.6% of Mexico's imports in that chapter), followed by chapter 84, machinery and mechanical appliances (US$25.36 billion, 23.1%), and chapter 87, vehicles and parts (US$13.54 billion, 20.7%). From the United States, Mexico imported US$37.82 billion in chapter 27, mineral fuels, which is 92.2% of its imports in that chapter.
Those percentages come straight from the participacion_socio_pct column: value with the partner divided by value with the world for the same country, flow, year and chapter.
Country totals in 2024
Summing world-total rows by country gives each reporter's trade size. In 2024, Mexico reported US$636.8 billion in imports and US$619.7 billion in exports, Brazil US$337.0 billion in exports and US$277.5 billion in imports, and Chile US$98.9 billion in exports and US$84.2 billion in imports. Argentina (US$79.7 billion) and Peru (US$74.1 billion) follow on exports.
Columns you will use
The file has 19 columns with Spanish names:
pais_informante, with ISO-2 and ISO-3 codes, andsubregionflujo(Exportación or Importación) andaniocapitulo_saanddescripcion_capitulopais_sociowith ISO codes andsocio_latinoamericavalor_usd,valor_fob_usd,valor_cif_usdparticipacion_socio_pct(partner share of the world total, 100,980 rows) andparticipacion_capitulo_pct(chapter share of the country total, 13,418 rows)
How to use it in 5 steps
- Pick your chapter. Find your product's 2-digit HS chapter in
capitulo_sa. - Size each market. Filter
pais_socio= "Mundo (total)" andflujo= Importación to rank countries by imports of your chapter. - Find your competitors' origins. Check
participacion_socio_pctfor China, the United States, Germany, Spain and Japan in each target market. - Track the trend. Compare 2021 to 2024 for each country to see where demand is growing.
- Go deeper where it matters. For Brazil and Paraguay, move to the monthly product-level files in the table below.
Which trade dataset to use
| Dataset | Detail | Period | Rows | Price |
|---|---|---|---|---|
| Latin America trade (UN Comtrade) | HS chapter x partner x year, 20 countries | 2021 to 2024 | 119,406 | US$129 |
| Brazil foreign trade | 8-digit NCM x country x transport mode x month | Jan 2025 to Aug 2026 | 3,038,371 | US$299 |
| Paraguay customs declarations | Each declaration line with brand and taxes | Jan to Aug 2026 | 1,801,956 | US$249 |
FAQ
Is this the same data as UN Comtrade?
Yes. It is UN Comtrade data as reported by each country, retrieved on September 29, 2026, reshaped into one table with ISO codes, Spanish chapter names and computed share columns. Missing data is not imputed.
Does it include 6-digit HS codes?
No. It is aggregated at the 2-digit HS chapter level (97 chapters). For 8-digit product detail, use the Brazil or Paraguay files.
Which partner countries are included?
The world total and 11 key partners: China, United States, Germany, Spain, Japan, Argentina, Brazil, Chile, Colombia, Mexico and Peru.
How often is it updated?
The planned update frequency is quarterly, and buyers receive the updates we publish at no extra cost.
Can I see the data before buying?
Yes. The dataset page shows the schema and the first 25 rows for free without signing up, and you can request a 500-row sample by email. Payment is one time with Mercado Pago or PayPal.
Start with the sample
Open the UN Comtrade Latin America dataset and check the chapters and partners you care about. More sources are in our financial data category.