World Bank API - Global Development Database
Pricing
from $0.01 / 1,000 results
World Bank API - Global Development Database
Access World Bank global development indicators. Get GDP, population, poverty rates, education, health metrics, and economic data for 200+ countries spanning 60+ years of historical data
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
The Howlers
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
17 days ago
Last modified
Categories
Features
Share
World Bank API - Global Development Data
Access World Bank global development indicators. Get GDP, population, poverty rates, education, health metrics, and economic data for 200+ countries spanning 60+ years.
The actor fetches real data from the World Bank Open Data API by default; no key needed. The prefilled input (get_indicator for NY.GDP.MKTP.CD, country US) returns United States GDP in current US$ for every year the World Bank reports. Demo Mode is off by default; turn it on only to preview the output shape with sample rows.
Quick Start
Run with real data
{"task": "get_gdp","countryCode": "US","limit": 10}
Preview the output shape with sample rows (free)
{"task": "get_indicator","demoMode": true}
Sample rows carry isSample: true and a note saying they are not World Bank data. They are never charged.
Input Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
task | string | "get_indicator" | Yes | The operation to perform |
indicatorCode | string | - (prefilled NY.GDP.MKTP.CD) | For get_indicator | World Bank indicator code (e.g., NY.GDP.MKTP.CD) |
countryCode | string | all countries (prefilled US) | For get_country_data | ISO 3166-1 alpha-2 or alpha-3 country code, or a World Bank aggregate code such as EAS |
region | string | - | No | Not used by the current tasks; put a region code in countryCode instead |
incomeLevel | string | - | No | Not used by the current tasks |
startYear | integer | - | No | Start year for data range |
endYear | integer | - | No | End year for data range |
limit | integer | 100 | No | Maximum number of results to return |
webhookUrl | string | - | No | URL to receive results via webhook |
demoMode | boolean | false | No | Return labeled sample rows instead of calling the World Bank |
Data sources and limits (updated 2026-10-22)
Data comes from the World Bank Open Data API (api.worldbank.org/v2); no key needed. Each run returns one row with the indicator name, the World Bank's last-updated date, totalAvailable, and a data array of {country, countryCode, year, value}. Years with no reported value carry valueMissing: true instead of a number. limit sets how many rows one call returns (max 1000); startYear and endYear narrow the years.
get_climate uses CO2 emissions per capita excluding LULUCF (EN.GHG.CO2.PC.CE.AR5), because the World Bank archived the old EN.ATM.CO2E.PC indicator.
Pricing
| Event | When it is charged | Price |
|---|---|---|
| Actor start | Once when the run starts, one event per GB of memory (minimum one). At the default 256 MB of memory that is $0.10 per run | $0.10 per GB |
| Get Indicator Data | Retrieve any World Bank indicator by code for selected countries. Access 1,600+ development indicators | $0.01 |
| Get Country Data | Comprehensive country profile with key economic and social indicators. Quick overview of any nation | $0.01 |
| Get GDP Data | GDP and economic output data by country. Current US dollars, growth rates, and per capita measures | $0.01 |
| Get Population Data | Demographics and population statistics by country. Total population, growth rates, age distribution | $0.01 |
| Get Poverty Data | Poverty rates, income inequality, and Gini index by country. Track global poverty reduction progress | $0.01 |
| Get Education Data | Education indicators including literacy rates, enrollment, and education spending by country | $0.01 |
| Get Health Data | Health indicators including life expectancy, infant mortality, and healthcare spending by country | $0.01 |
| Get Climate Data | Environmental indicators including CO2 emissions, renewable energy usage, and forest coverage by country | $0.01 |
| Result | Each item written to the default dataset | $0.00001 |
Each successful live call charges one event named after the task you ran, $0.01 per call, plus the standard Actor start fee ($0.10 per GB of memory, minimum one) and $0.00001 per dataset row. A run returns one row. No task event is charged for Demo Mode runs, calls that fail or return an error row (for example a missing indicator code), and calls where no row has a reported value.
Troubleshooting
"API error 429" or "Rate limit"
Too many requests. Wait a minute and try again, or reduce the number of items per run.
No results or empty dataset
Check the run log for error messages. Common causes:
- Invalid input format (check the examples above)
- The target data doesn't exist or is too small to track
"Indicator code required"
get_indicator needs an indicatorCode, for example NY.GDP.MKTP.CD. This error row is not charged.
Do I need an API key?
No. The World Bank API is free and keyless. Demo Mode is only for previewing the output shape; its rows are labeled sample data.
Built by John Rippy | Actor Arsenal