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

17 days ago

Last modified

Features

Limited permissions

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

ParameterTypeDefaultRequiredDescription
taskstring"get_indicator"YesThe operation to perform
indicatorCodestring- (prefilled NY.GDP.MKTP.CD)For get_indicatorWorld Bank indicator code (e.g., NY.GDP.MKTP.CD)
countryCodestringall countries (prefilled US)For get_country_dataISO 3166-1 alpha-2 or alpha-3 country code, or a World Bank aggregate code such as EAS
regionstring-NoNot used by the current tasks; put a region code in countryCode instead
incomeLevelstring-NoNot used by the current tasks
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
demoModebooleanfalseNoReturn 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

EventWhen it is chargedPrice
Actor startOnce 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 DataRetrieve any World Bank indicator by code for selected countries. Access 1,600+ development indicators$0.01
Get Country DataComprehensive country profile with key economic and social indicators. Quick overview of any nation$0.01
Get GDP DataGDP and economic output data by country. Current US dollars, growth rates, and per capita measures$0.01
Get Population DataDemographics and population statistics by country. Total population, growth rates, age distribution$0.01
Get Poverty DataPoverty rates, income inequality, and Gini index by country. Track global poverty reduction progress$0.01
Get Education DataEducation indicators including literacy rates, enrollment, and education spending by country$0.01
Get Health DataHealth indicators including life expectancy, infant mortality, and healthcare spending by country$0.01
Get Climate DataEnvironmental indicators including CO2 emissions, renewable energy usage, and forest coverage by country$0.01
ResultEach 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