Economic Complexity Index — HS 2017, 4-digit
Country-level Economic Complexity Index (ECI) computed from trade data using the HS 2017 classification at the 4-digit product level. Published by the Observatory of Economic Complexity (OEC). ECI measures the diversity and ubiquity of a country's export basket as a proxy for productive knowledge.
economic-complexity
Catalog
Browse and search all available datasets.
- Catalog — browse all datasets
- GET /api/catalog — catalog in JSON
- GET /api/catalog?q=… — search the catalog
Dataset API
Endpoints for this dataset — schema, filter values, preview, and querying.
- GET /api/datasets/complexity-eci-hs17-hs4 — schema, filters, and pricing
- GET /api/datasets/complexity-eci-hs17-hs4/sample — free sample (100 rows)
- GET /api/datasets/complexity-eci-hs17-hs4/members/{col} — valid values for a filterable column
- GET /api/datasets/complexity-eci-hs17-hs4/query — query with filters (API key required)
Purchase
Add balance or buy access to start querying.
- POST /api/checkout/x402 — agents: add balance via x402 (USDC)
- Sign in at /account — humans: add balance via Stripe (card, Apple Pay, bank transfer)
- POST /api/ap2/intent → /api/ap2/purchase — agents: AP2 mandate-based payment
Source
Size and Format
Pricing
Temporal Coverage
Geographic Coverage
Query Filters
Columns you can use as query params in GET /api/datasets/complexity-eci-hs17-hs4/query.
-
yearMembers (JSON) -
country_idMembers (JSON) -
continent_idMembers (JSON)
Schema (Columns)
| Column | Type | Description | Filterable |
|---|---|---|---|
year |
integer | Year of the ECI observation | Yes |
country_id |
string | Country (ISO Alpha-3) | Yes |
country_name |
string | Country name | No |
continent_id |
string | Continent identifier | Yes |
continent_name |
string | Continent name | No |
eci_rank |
integer | Country rank by ECI (1 = most complex) | No |
eci |
number | Economic Complexity Index score | No |