World Bank Economic Indicators API - 1,400+ Series avatar

World Bank Economic Indicators API - 1,400+ Series

Pricing

from $0.70 / 1,000 results

Go to Apify Store
World Bank Economic Indicators API - 1,400+ Series

World Bank Economic Indicators API - 1,400+ Series

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

Pricing

from $0.70 / 1,000 results

Rating

0.0

(0)

Developer

Martin Petrov

Martin Petrov

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Features

Limited permissions

Share

World Bank Economic Indicators API - 1,390+ Series

Problem: your dashboard, research tool, pricing model or AI agent needs a country number such as GDP, GDP per capita, inflation, population, unemployment, government debt, CO2 per capita, life expectancy or internet users. The World Bank publishes over 1,400 World Development Indicators (this API serves the 1,390+ licensed CC BY 4.0), but you have to know the code, page through its API (which often times out or caps results) and join country metadata yourself. Existing marketplace World Bank APIs show 0-78% success.

This API: one JSON call, no API key, answers from a maintained copy of the official World Bank files (refreshed every 24 h, the old copy is served with "stale": true if the source is down, so a call never fails because the World Bank is slow).

  • Any indicator: World Bank codes (NY.GDP.MKTP.CD) or plain words (gdp, inflation, gdp per capita, co2 per capita, life expectancy, internet users).
  • 217 economies + aggregates (World, EU, income groups), 1960 to the latest year. ISO2, ISO3 or English names.
  • 6 modes: latest (newest value + change vs the year before), history (one row per year), rank (countries ranked in a year, with region / income filters), compare (growth between two years: change, CAGR, min/max), search (find codes by words), countries.
  • Region and income group on every row, so you can group and filter without a second call.
  • Source on every row: World Bank, World Development Indicators, licence CC BY 4.0, with the indicator page URL.

Example (API)

curl -X POST "https://api.apify.com/v2/acts/martin10291~world-bank-indicators-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "latest", "countries": ["DE"], "indicators": ["gdp per capita"]}'

Output row (measured 2026-11-15):

{"country": "Germany", "iso2": "DE", "iso3": "DEU", "region": "Europe & Central Asia", "incomeGroup": "High income",
"indicator": "NY.GDP.PCAP.CD", "indicatorName": "GDP per capita (current US$)", "unit": "current US$",
"year": 2025, "value": 60496.435082, "previousYear": 2024, "previousValue": 56103.732318, "change": 4392.702764, "changePct": 7.8296,
"source": "World Bank, World Development Indicators (CC BY 4.0)", "sourceUrl": "https://data.worldbank.org/indicator/NY.GDP.PCAP.CD",
"dataUpdated": "2026-11-11", "stale": false}

Rank ({"mode": "rank", "indicators": ["internet users"], "order": "asc", "limit": 3}):

[{"rank": 1, "country": "Burundi", "value": 8.596, "year": 2024}, {"rank": 2, "country": "Uganda", "value": 8.949831, "year": 2024}, {"rank": 3, "country": "Chad", "value": 12.6269, "year": 2024}]

More inputs:

  • {"mode": "compare", "countries": ["BG", "RO"], "indicators": ["gdp per capita"], "fromYear": 2010} -> Bulgaria 6,854 -> 20,328 USD, CAGR 7.5 %.
  • {"mode": "history", "countries": ["JP"], "indicators": ["inflation"], "fromYear": 2015} -> one row per year with yoyChange (percentage points for % indicators).
  • {"mode": "search", "query": "female unemployment"} -> matching codes with definitions.
  • {"mode": "countries"} -> economies and aggregates with region and income group.
  • Monitor: {"onlyNew": true, "monitorId": "my-dashboard"} on a monthly schedule returns each new World Bank year once.

Countries the World Bank does not publish separately (for example Taiwan) come back as a row with a clear error, the rest of the call still works.

Use from agents (MCP)

Add the Apify MCP server (https://mcp.apify.com?tools=martin10291/world-bank-indicators-api) to Claude, Cursor or any MCP client and ask: "Rank EU countries by GDP per capita and show Bulgaria's growth since 2010".

FAQ

  • How fresh is the data? Each indicator is refreshed from the World Bank at most every 24 h; dataUpdated shows the World Bank's own update date, fetchedAt our copy. The World Bank adds new yearly values a few times per year.
  • Limits? Up to 20 countries x 10 indicators per call, up to 5,000 rows (limit). rank and compare use the first indicator.
  • Errors? Unknown country or indicator = a clear message with close matches (never an empty "success"). If the World Bank is down, the last copy is served with "stale": true.
  • Missing values? Rows without data carry a note; the World Bank does not publish every indicator for every country and year.

Pricing

$1.00 per 1,000 rows. Data: World Bank, World Development Indicators (CC BY 4.0).