Exports and imports by country and year
Every country's exports, imports and trade balance of goods and services since 1960, in US dollars and as a share of GDP. One row per one country and year.
Download and cite
For accounts with the download right: ask for it. Check the file with sha256sum trade-country-years.csv.gz: it must print the checksum below.
value.today (2026). Exports and imports by country and year [Data set], version 2026-11-19. SHA-256 65a62ce0cf08246435be0bebf6fa93bf2e96b8c0da548656f88396e206e60536. https://www.value.today/datasets/trade-country-years?version=2026-11-19
Data dictionary
14 columns, in the file's order.
| Column | Type | Unit | Meaning |
|---|---|---|---|
country_iso2 | text | — | Country |
country | text | — | Name |
year | integer | — | Year |
exports | number | USD millions | Exports of goods and services |
imports | number | USD millions | Imports of goods and services |
trade_balance | number | USD millions | Balance |
merchandise_exports | number | USD millions | Goods exports |
merchandise_imports | number | USD millions | Goods imports |
services_exports | number | USD millions | Services exports |
services_imports | number | USD millions | Services imports |
exports_pct_gdp | number | % of GDP | Exports |
imports_pct_gdp | number | % of GDP | Imports |
trade_pct_gdp | number | % of GDP | Trade |
source | text | — | Sources |
First rows
The first 8 rows of version 2026-11-19.
| country_iso2 | country | year | exports | imports | trade_balance | merchandise_exports | merchandise_imports | services_exports | services_imports | exports_pct_gdp | imports_pct_gdp | trade_pct_gdp | source |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AD | Andorra | 1995 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 1996 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 1997 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 1998 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 1999 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 2000 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 2001 | World Bank; WITS (UN Comtrade) | ||||||||||
| AD | Andorra | 2002 | World Bank; WITS (UN Comtrade) |
Versions
Each version's file, kept so a result can be reproduced from the same data.
| Version | Rows | Size | SHA-256 | Download |
|---|---|---|---|---|
| 2026-11-19 | 12,337 | 389 kB | 65a62ce0cf082464… | |
| 2026-11-18 | 12,337 | 389 kB | 0fe87900c0dba674… |
Sources and terms
Sources: World Bank, World Development Indicators (CC BY 4.0); WITS TradeStats (CC BY 4.0).
Terms: Free to use with attribution: cite value.today (the dataset, its version and checksum) and the sources named.
Source: World Bank, World Development Indicators (CC BY 4.0); WITS TradeStats (CC BY 4.0) · as of Nov 19, 2026