API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Views
Data Files
Explore with AItop-economies
| Field | Type | Description |
|---|---|---|
| country | string | |
| year | integer | |
| gdp_trillion | number | GDP in current USD trillions |
Download
Download CSVAbout
- Last updated
- 20 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 4.91 kB
- Source
- World Bank and OECD
gdp
| Field | Type | Description |
|---|---|---|
| Country Name | string | |
| Country Code | string | |
| Year | year | |
| Value | number | GDP in current USD |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 577 kB
- Source
- World Bank and OECD
About this dataset
Country, regional and world GDP in current US Dollars ($). Regional means collections of countries e.g. Europe & Central Asia.
Data
The data is sourced from the World Bank (specifically this dataset) which in turn lists as sources: World Bank national accounts data, and OECD National Accounts data files.
Note that there are a variety of different GDP indicators on offer from the World Bank including:
- GDP in current USD
- GDP in constant USD (2000)
- GDP, PPP (constant 2005 international $)
- GDP (constant LCU)
Preparation
Process is recorded and automated in python script:
scripts/process.py
Automation
Up-to-date (auto-updates every month) gdp dataset could be found on the datahub.io: https://datahub.io/core/gdp
License
This Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/