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 | Country name |
| year | year | Year of the GDP observation |
| gdp_trillion | number | GDP in current USD trillions |
Download
Download CSVAbout
- GDP in current USD trillions for the world's 10 largest economies, covering 2000–2023. Derived from the main gdp resource.
- Last updated
- 19 May 2026
- Total rows
- ...
- Format
- CSV
- File size
- 4.88 kB
- Source
- World Bank and OECD
gdp
| Field | Type | Description |
|---|---|---|
| Country Name | string | Country or region name as given by the World Bank |
| Country Code | string | ISO 3166-1 alpha-3 country code or World Bank region code |
| Year | year | Year of the GDP observation |
| Value | number | GDP in current USD |
Download
Download CSVAbout
- Country, regional and world GDP in current USD. Each row is one country/region for one year. Sourced from the World Bank indicator NY.GDP.MKTP.CD.
- Last updated
- 19 May 2026
- Total rows
- ...
- Format
- CSV
- File size
- 563 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)
Data notes
data/gdp.csvis regenerated automatically each month byscripts/process.py.data/top-economies.csvis derived fromgdp.csvby the same script: it covers the 10 largest economies (by latest-year GDP) from 2000 onward, with values in USD trillions.
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 dataset is made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
The underlying data originates from the World Bank, which publishes its open data under CC BY 4.0. Attribution: World Bank – World Development Indicators.