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 Files
Explore with AIinflation-gdp
| Field | Type |
|---|---|
| Country | string |
| Country Code | string |
| Year | year |
| Inflation | number |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 449 kB
inflation-consumer
| Field | Type |
|---|---|
| Country | string |
| Country Code | string |
| Year | year |
| Inflation | number |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 556 kB
About this dataset
Inflation, GDP deflator (annual %) and Inflation, consumer prices (annual %) for most countries in the world when it has been measured.
Data
The data comes from The World Bank (CPI), The World Bank (GDP) and is collected from 1973 to 2014. There are some values missing from data so users of the data will have to guess what should be in the empty slots.
The actual download happens via The World Bank's API (with csv as the requested format) (CPI), The World Bank's API (with csv as the requested format) (GDP).
Preparation
Usage of process.py
Convert World Bank Inflation data into a data package resource.
Requirements
- Python 3 required.
Processing
Run the following to download and process data:
make data
Automation
Up-to-date (auto-updates every 3 months) inflation dataset could be found on the datahub.io: https://datahub.io/core/inflation
License
This Data Package is licensed by its maintainers under the Public Domain Dedication and License (PDDL).