RadarPricesOrder

Home › APIs › Research & public data

Research & public data

World Bank Economic Indicators API

In plain words

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

FieldTypeDescription
modestringlatest = 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
countriesarrayISO2 (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.
indicatorsarrayWorld 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
fromYearintegerFor history and compare: first year (1960 or later). Default 20 years ago.
toYearintegerFor history and compare: last year. Default the latest year.
yearintegerFor rank: the year to rank. Default = the latest year where at least half of the reporting countries have data.
orderstringFor rank: desc = highest first, asc = lowest first.
regionstringFor rank: only countries of this World Bank region, e.g. Europe & Central Asia, Sub-Saharan Africa.
incomeGroupstringFor rank: only countries of this income group, e.g. High income, Lower middle income.
includeAggregatesbooleanFor rank and countries: also include regional/income aggregates such as World or Euro area.
querystringFor search: words to find indicators, e.g. female unemployment, renewable energy, government debt.
limitintegerMaximum rows returned. Between 1 and 5000.
onlyNewbooleanReturn only country/indicator/year rows not returned before for this Monitor ID. Schedule monthly to get each new World Bank year once.
monitorIdstringName 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.

Related APIs

Clinical Trials SearchSearch medical studies by illness, drug or city, from the official ClinicalTrials.gov register.
FDA Drug Label APILooks up a US medicine in official FDA data: its label, warnings, side effects people reported, approvals and recalls.
Lottery Results APIGet the official winning numbers of Powerball, Mega Millions and New York lottery games, today's draw or years of past draws.
Schools APIFind US schools by name or place, with address, size and type.
Scientific Papers APISearch millions of research papers by topic or author and get the links.
Wikipedia Summary APIThe short summary of any Wikipedia article, in any language.