Downloadable data · CSV

Global Import-Export Country HS2 Series

Annual country exports and imports by HS2 product group, including trade balance and counts of trading partners and active HS6 products.

Years
1995-2024 annual observations where available
Records
569,157
Columns
9

What is in the download?

Annual country exports and imports by HS2 product group, including trade balance and counts of trading partners and active HS6 products.

Each row represents one country, year, and HS2 product group.

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

Data source: OECD BIMTS.

Sample rows from the file

View sample (JSON)
Sample values in the original column order and precision.
Year · Countries · ProductReported valueCalculated indicatorsReported valueReference fields
YearCountryProduct sector · HS2Exports · US$Imports · US$Balance · US$export partner countimport partner countactive hs6 count
202165,66,870178669.7913512192353793.36524141877-275123.5738901995441017
202165,66,870213138.52940548190246192081.736997314-46178943.2075918351556
202165,66,87031336926.336411563214583408.57016159-13246482.233750027316154
202165,66,870424076.9117521016124068654.141499385-24044577.22974728442031
202165,66,870515.084140956.90856534388-140941.82456534388168
202165,66,870601803952.518927377-1803952.51892737701015
202165,66,870710496.77595854879715433628.0972408-15423131.3212822521665
202165,66,870811316.95792550700414822020.35446121-14810703.39653570241666
202165,66,870912047.8108191936134528903.095590732-4516855.28477153852039
202165,66,871029631.4134711616753018876.1690096003-2989244.755538438451521
202165,66,8711443.5304675142744275114.670400734-4274671.1399332231926
202165,66,8712109.497000000000011485330.2994324542-1485220.802432454211436
202165,66,871351.75700762804524460071.98301209271-60020.22600446466198
202165,66,8714078816.25639676394-78816.25639676394074
202165,66,8715231576.419404943566389607.916701156-6158031.49729621252139
202165,66,87163077.04947895935313310234.889954666-13307157.84047570631936
202165,66,87171777.95976051744174632291.308067395-4630513.34830687842417
202165,66,871813233.6285211397722710470.2526769037-2697236.62415576422210
202165,66,87198665.61549198140515849149.100008322-15840483.48451634142719
202165,66,872020033.47184667333613275534.321114058-13255500.84926738462752
202165,66,8721324489.609341800531695005.261222392-31370515.651880592153116
202165,66,87228387931.496870805550581677.6354391-42193746.13856829734424
202165,66,872313334.3827161654958929463.293962331-8916128.91124616631513
202165,66,87246557799.75401897447629332.13737349-41071532.383354515582410
202165,66,872539149.960432254597347524.23976561-7308374.27933335571846
25 sample rows

25 sample records. Null means unavailable. Calculated indicators are labelled separately.

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 two-digit Harmonized System codes (HS2). 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 569,157 rows; the search above filters only the sample. Use the full file to compare products and years.

Dataset details

What each column means9 columns
yearuint16
Reported calendar year.Observation
country_iso3fixed_size_binary[3]
Three-letter country code; preserve as text.Observation
hs2string
Two-digit product sector; preserve leading zeros.Observation
exports_usdfloat64
Reported exports in US dollars.Reported values
imports_usdfloat64
Reported imports in US dollars.Reported values
trade_balance_usdfloat64
Exports minus imports, in US dollars.Calculated indicators
export_partner_countuint64
Export partner count.Reported values
import_partner_countuint64
Import partner count.Reported values
active_hs6_countuint64
Active hs6 count.Reference fields

Included information

  • Exports, imports, and trade balance
  • Exporter/importer partner counts
  • Active HS6 product count
Where the data comes fromOECD BIMTS
  • HS2 is a two-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 country, year, and HS2 product group. The file contains 569,157 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 17.4 MB and contains 569,157 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. 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
45,125,334 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 checksume8369f868eea1c3b98d791aa2fd3a7793c931899b4bd289f9127b3fc7b266b3e

Explore with Yugalinks

Compare products and export destinations

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