Home › APIs › Research & public data
World Bank Economic Indicators API
Official World Bank numbers like GDP, population and unemployment for every country since 1960.
Used by: Researchers, students, analysts, health and education teams.
World Bank economic indicators as JSON, no API key: any of the 1,434 World Development Indicators (GDP, inflation, population, unemployment, CO2, life expectancy, electricity access, debt...) for 217 economies and regional aggregates, 1960 to the latest year. Modes: latest value with change, yearly
Try it live, no sign-up
Run the example as is, or change the input. 5 own tries a day without a key.
Example request
curl -X POST https://radarbg.com/v1/world-bank-indicators-api \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"mode": "latest", "countries": ["US", "DE", "BG"], "indicators": ["gdp", "inflation"], "order": "desc"}'
Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.
Inputs
| Field | Type | Description |
|---|---|---|
mode | string | latest = newest value per country and indicator with the change vs the year before; history = one row per country, indicator and year; rank = countries ranked by one indicator in one year; compare = growth of one indicator between two years |
countries | array | ISO2 (US, DE, BG), ISO3 (USA, DEU) or English names (Germany). Aggregates work too (WLD = world, EUU = EU, HIC = high income). Up to 20. Empty = US, CN, DE, IN, BR. |
indicators | array | World Bank codes (NY.GDP.MKTP.CD) or plain words (gdp, inflation, population, unemployment, gdp per capita, co2 per capita, life expectancy, electricity access). Up to 10; rank and compare use the first one. Use mode=search to find codes. E |
fromYear | integer | For history and compare: first year (1960 or later). Default 20 years ago. |
toYear | integer | For history and compare: last year. Default the latest year. |
year | integer | For rank: the year to rank. Default = the latest year where at least half of the reporting countries have data. |
order | string | For rank: desc = highest first, asc = lowest first. |
region | string | For rank: only countries of this World Bank region, e.g. Europe & Central Asia, Sub-Saharan Africa. |
incomeGroup | string | For rank: only countries of this income group, e.g. High income, Lower middle income. |
includeAggregates | boolean | For rank and countries: also include regional/income aggregates such as World or Euro area. |
query | string | For search: words to find indicators, e.g. female unemployment, renewable energy, government debt. |
limit | integer | Maximum rows returned. Between 1 and 5000. |
onlyNew | boolean | Return only country/indicator/year rows not returned before for this Monitor ID. Schedule monthly to get each new World Bank year once. |
monitorId | string | Name of the watch for only-new mode, e.g. my-dashboard. Each Monitor ID keeps its own memory. |
Price
Included in every plan: 500 calls a month free, then from €9 a month for 5,000 calls across all APIs. Pro, €29 for 25,000 calls, is the one we recommend.
Questions
What does the World Bank Economic Indicators API do?
Official World Bank numbers like GDP, population and unemployment for every country since 1960.
Where does the data come from?
World Bank economic indicators as JSON, no API key: any of the 1,434 World Development Indicators (GDP, inflation, population, unemployment, CO2, life expectancy, electricity access, debt...) for 217 economies and regional aggregates, 1960 to the latest year. Modes: latest value with change, yearly
How much does it cost?
500 calls a month are free with no card. Paid plans start at EUR 9 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.
Can I use it without writing code?
Yes. Try it live on this page, use our free browser tools, or ask us to run it on your list as a service.