Skip to content
value.today

Trade by partner country

Each country's largest export and import partners by year. One row per one country, year, flow and partner.

Version
2026-11-19
the newest unless chosen below
Rows
449,595
File
4.3 MB
gzip-compressed CSV, UTF-8, header row
Columns
9

Download and cite

For accounts with the download right: ask for it. Check the file with sha256sum trade-partners.csv.gz: it must print the checksum below.

value.today (2026). Trade by partner country [Data set], version 2026-11-19. SHA-256 35df70a6b3705fd0eefa3bc9c2c40a6a796998029636812dbc1e5fb58e805680. https://www.value.today/datasets/trade-partners?version=2026-11-19

Data dictionary

9 columns, in the file's order.

Trade by partner country: columns
ColumnTypeUnitMeaning
country_iso2text—Reporter
yearinteger—Year
flowtext—exports or imports
partner_codetext—Partner code at the source
partnertext—Partner
valuenumberUSD millionsValue
sharenumber%Share of the country's total
rankinteger—Rank
sourcetext—wits, baci or hgl

First rows

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

country_iso2yearflowpartner_codepartnervalueshareranksource
AD1962XVENVenezuela0.06100.01hgl
AD1965XVENVenezuela0.10100.01hgl
AD1966XVENVenezuela0.0581.451hgl
AD1966XPERPeru0.0118.552hgl
AD1970MFRAFrance26.8465.421hgl
AD1970MESPSpain14.0134.152hgl
AD1970MJPNJapan0.130.313hgl
AD1970MPRTPortugal0.030.084hgl

Versions

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

Trade by partner country: versions
VersionRowsSizeSHA-256Download
2026-11-19449,5954.3 MB35df70a6b3705fd0…
2026-11-18449,5954.3 MBd935fda72b6701e1…

Sources and terms

Sources: WITS TradeStats (CC BY 4.0); CEPII BACI (Etalab Open Licence 2.0); Harvard Growth Lab (CC0).

Terms: WITS CC BY 4.0, CEPII BACI Etalab 2.0 (cite CEPII), Harvard Growth Lab CC0 (cite it and UN Comtrade). Cite value.today.

Source: WITS TradeStats (CC BY 4.0); CEPII BACI (Etalab Open Licence 2.0); Harvard Growth Lab (CC0) · as of Nov 19, 2026