Skip to content
value.today

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.

Version
2026-11-19
the newest unless chosen below
Rows
12,337
File
389 kB
gzip-compressed CSV, UTF-8, header row
Columns
14

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.

Exports and imports by country and year: columns
ColumnTypeUnitMeaning
country_iso2text—Country
countrytext—Name
yearinteger—Year
exportsnumberUSD millionsExports of goods and services
importsnumberUSD millionsImports of goods and services
trade_balancenumberUSD millionsBalance
merchandise_exportsnumberUSD millionsGoods exports
merchandise_importsnumberUSD millionsGoods imports
services_exportsnumberUSD millionsServices exports
services_importsnumberUSD millionsServices imports
exports_pct_gdpnumber% of GDPExports
imports_pct_gdpnumber% of GDPImports
trade_pct_gdpnumber% of GDPTrade
sourcetext—Sources

First rows

The first 8 rows of version 2026-11-19.

country_iso2countryyearexportsimportstrade_balancemerchandise_exportsmerchandise_importsservices_exportsservices_importsexports_pct_gdpimports_pct_gdptrade_pct_gdpsource
ADAndorra1995World Bank; WITS (UN Comtrade)
ADAndorra1996World Bank; WITS (UN Comtrade)
ADAndorra1997World Bank; WITS (UN Comtrade)
ADAndorra1998World Bank; WITS (UN Comtrade)
ADAndorra1999World Bank; WITS (UN Comtrade)
ADAndorra2000World Bank; WITS (UN Comtrade)
ADAndorra2001World Bank; WITS (UN Comtrade)
ADAndorra2002World Bank; WITS (UN Comtrade)

Versions

Each version's file, kept so a result can be reproduced from the same data.

Exports and imports by country and year: versions
VersionRowsSizeSHA-256Download
2026-11-1912,337389 kB65a62ce0cf082464…
2026-11-1812,337389 kB0fe87900c0dba674…

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