World Bank API - Global Development Database avatar

World Bank API - Global Development Database

Pricing

from $0.01 / 1,000 results

Go to Apify Store
World Bank API - Global Development Database

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

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

4 days ago

Last modified

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.

Note: this actor runs in Demo Mode by default, so a default free run returns sample data. Set demoMode to false to fetch real data.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true
}

Run with real data

{
"demoMode": false,
"task": "get_gdp",
"countryCode": "US",
"limit": 10
}

Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"get_indicator"Yes*The operation to perform
indicatorCodestring-NoWorld Bank indicator code (e.g., NY.GDP.MKTP.CD)
countryCodestring-NoISO 3166-1 alpha-2 or alpha-3 country code
regionstring-NoWorld Bank region code
incomeLevelstring-NoCountry income classification
startYearinteger-NoStart year for data range
endYearinteger-NoEnd year for data range
limitinteger100NoMaximum number of results to return
webhookUrlstring-NoURL to receive results via webhook
demoModebooleantrueNoRun with sample data (no API required)

Data sources and limits (updated 2026-10-15)

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

Each successful live call charges one event named after the task you ran (prices are on the Pricing tab), plus the standard Actor start fee. Not charged: Demo Mode runs, calls that fail or return an error row, and calls that return no rows. A call where no row has a reported value is not charged.


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

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal