Downloadable data · CSV

Global Import-Export Route HS4 Flows

Annual export values between country pairs by HS4 product group, with a count of active HS6 products within each group.

Years
1995-2024 annual observations where available
Records
123,487,670
Columns
6

What is in the download?

Annual export values between country pairs by HS4 product group, with a count of active HS6 products within each group.

Each row represents one year, exporter-importer route, and HS4 product group.

A missing product-year value means no figure is available; it does not mean zero exports.

Data source: See source details.

Sample rows from the file

View sample (JSON)
Sample values in the original column order and precision.
Year · Countries · ProductReported valueReference fields
YearExporting countryDestination countryProduct group · HS4Export value · US$active hs6 count
2018ABWAFG040629371.94831175271
2018ABWAFG750390.191098926985031
2018ABWAFG846511.3211876898950211
2018ABWARE3209467.78829495582511
2018ABWARE3404111.417611272303531
2018ABWARE401060730.21394859162
2018ABWARE4015274.292822316118361
2018ABWARE482329.6508048700818561
2018ABWARE49111496.43053341455671
2018ABWARE6309465.929931252010141
2018ABWARE7802301.36554416330751
2018ABWARE820128.1776568152895951
2018ABWARE84283216.8305223930961
2018ABWARE843161153.896907691141
2018ABWARE870850233.567987673781
2018ABWATG8473168.68202970950061
2018ABWAUT84201.44264025016697641
2018ABWBEL90215822.6479487084692
2018ABWBEL94057.1545874502716261
2018ABWBHR82034628.5205958439861
2018ABWBHR8414458.665684390863651
2018ABWBHR846533.3707832398649341
2018ABWBHS3923775.19150772826741
2018ABWBHS75031.66598711796172431
2018ABWBMU99999684.0992885011841
25 sample rows

25 sample records. Null means unavailable.

How can I use this data?

How do products and years compare?

Choose a year, then compare the reported values for the products and countries you are studying. To follow a product over time, use the same product code in each year. Check the column descriptions for the units of each value.

What do the product codes and values mean?

Products are grouped by four-digit Harmonized System codes (HS4). Keep product and country codes as text so leading zeros remain intact. Review the units beside each measure; missing observations and unavailable calculations should not be treated as reported values of zero.

How do I open the CSV?

Import the CSV into a spreadsheet or analysis tool. Set product and country codes to text to keep leading zeros. The download contains all 123,487,670 rows; the search above filters only the sample. Use the full file to compare products and years.

Dataset details

What each column means6 columns
yearuint16
Reported calendar year.Observation
exporter_iso3string
Three-letter code for the country exporting the goods; preserve as text.Observation
importer_iso3string
Three-letter code for the country receiving the goods; preserve as text.Observation
hs4string
Four-digit product group; preserve leading zeros.Observation
export_value_usdfloat64
Reported value of goods exported, in US dollars, for this record.Reported values
active_hs6_countuint64
Active hs6 count.Reference fields

Included information

  • Annual export value in US dollars
  • Exporter and importer country codes
  • Active HS6 product count
Where the data comes fromSee source details
  • HS4 is a four-digit Harmonized System product group.
  • Fields marked USD are monetary values denominated in US dollars.
  • Count fields report the number of items named in the field, such as products, partners, or routes.
  • Country fields ending in ISO3 use three-letter ISO 3166-1 country codes.
What does one row represent?

One year, exporter-importer route, and HS4 product group. The file contains 123,487,670 records.

What period does this dataset cover?

1995-2024 annual observations where available. Missing years or observations are not filled in.

What format is the download and how large is it?

The complete CSV file is 1.38 GB and contains 123,487,670 records. The schema and sample files describe every field before you download.

Where does the data come from and how can it be used?

Reported source: OECD BIMTS HS2017-6D; CEPII where included. Values are reported observations with calculated fields marked as such. Terms and license: https://www.oecd.org/termsandconditions/

File size and download instructionsCSV
Format
CSV
Available years
1995-2024 annual observations where available
Version
1.0.0
data.csv
5,454,020,203 bytes

Open the CSV in a spreadsheet or read it with pandas.read_csv. Import country and product codes as text to preserve leading zeros.

CSV checksum2e9088faf8cba4c2e6fbdb799abf13b0cb5515f9e7d5c063a99b6dd4a56a103c

Explore with Yugalinks

Compare products and export destinations

Explore export values by country and product, compare markets and review historical trends.