BACI International Trade Database (HS 2017)

Bilateral trade flows at the 6-digit HS 2017 product level from the BACI database, published by CEPII and distributed by the Observatory of Economic Complexity (OEC). One row per year × exporter × importer × HS product. Covers ~200 countries. Values in USD; quantities in metric tons.

trade global trade/global/baci-hs17 trade baci hs17 bilateral exports imports products oec

Catalog

Browse and search all available datasets.

Dataset API

Endpoints for this dataset — schema, filter values, preview, and querying.

Purchase

Add balance or buy access to start querying.

Source

Name
Observatory of Economic Complexity (OEC)
URL
https://oec.world/en/resources/datasets
License
CC BY 4.0

Size and Format

Rows
79,258,376
Columns
12
Size (bytes)
942,980,265
Formats
parquet, csv

Pricing

Per query (USD)
0.0100 USD
Max rows per query
1000
Free
No
Free sample
Yes

Temporal Coverage

end
2024
start
1995
frequency
annual

Geographic Coverage

level
country
coding
ISO Alpha-3 (lowercase)
region
Global (~200 countries)

Query Filters

Columns you can use as query params in GET /api/datasets/baci-hs17/query.

Schema (Columns)

Column Type Description Filterable
year integer Year of the trade flow Yes
exporter_id string Exporting country (ISO Alpha-3, lowercase) Yes
exporter_name string Exporting country name No
importer_id string Importing country (ISO Alpha-3, lowercase) Yes
importer_name string Importing country name No
hs_code string HS 2017 product code (6-digit, zero-padded) Yes
product_name string HS product description No
hs_revision integer HS classification revision year No
value number Trade value in USD No
quantity number Trade quantity No
unit_abbrevation string Unit of quantity (abbreviation) No
unit_name string Unit of quantity (full name) No

← Back to catalog