World Bank Data Scraper avatar

World Bank Data Scraper

Pricing

Pay per usage

Go to Apify Store
World Bank Data Scraper

World Bank Data Scraper

Fetch time-series economic data from the World Bank Open Data API. No API key required. Supports GDP, population, inflation, and 20,000+ indicators across 200+ countries. Filter by country, indicator, and year range.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Hojun Lee

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Fetch time-series economic data from the World Bank Open Data API — completely free, no API key required.

Pull GDP, population, inflation, unemployment, trade, CO2 emissions, and 20,000+ other indicators across 200+ countries with a single run.


What you get

Each output row contains one country × indicator × year data point:

FieldExample
country_codeUS
country_nameUnited States
indicator_codeNY.GDP.MKTP.CD
indicator_nameGDP (current US$)
year2023
value27357000000000
sourceWorld Bank

Indicator CodeName
NY.GDP.MKTP.CDGDP (current US$)
NY.GDP.PCAP.CDGDP per capita (current US$)
SP.POP.TOTLPopulation, total
FP.CPI.TOTL.ZGInflation, consumer prices (annual %)
SL.UEM.TOTL.ZSUnemployment, total (% of labor force)
NE.EXP.GNFS.ZSExports of goods and services (% of GDP)
EN.ATM.CO2E.PCCO2 emissions (metric tons per capita)
SE.ADT.LITR.ZSLiteracy rate, adult total (% of people)
SP.DYN.LE00.INLife expectancy at birth, total (years)
EG.USE.PCAP.KG.OEEnergy use (kg of oil equivalent per capita)

Use mode=indicators to browse all 20,000+ available indicators.


Modes

data (default) — Time-series economic data

Fetch actual values for selected countries and indicators over a year range.

Input example:

{
"mode": "data",
"indicators": ["NY.GDP.MKTP.CD", "FP.CPI.TOTL.ZG"],
"countries": ["US", "CN", "KR", "DE"],
"startYear": 2015,
"endYear": 2023
}

Use "countries": ["all"] to fetch data for every country.


indicators — Browse available indicators

Returns a searchable list of World Bank indicators with their codes, names, source, and topics.

{ "mode": "indicators", "maxIndicators": 500 }

countries — Browse available countries

Returns the full list of countries with ISO codes, region, income level, and capital.

{ "mode": "countries" }

Use cases

  • Economic research — compare GDP growth across countries over decades
  • Data journalism — visualize inequality, poverty, or climate indicators
  • Financial modeling — enrich quantitative models with macro data
  • Academic projects — download World Bank datasets programmatically
  • Dashboard backends — power live economic dashboards without manual downloads

Pricing

EventPrice
Actor start$0.005
Per data point fetched$0.001

A typical run (8 countries × 3 indicators × 14 years) returns ~300 data points = $0.005 + $0.30 = ~$0.31 total.


Notes

  • Data sourced from the World Bank Open Data API
  • No API key or authentication required
  • Some indicators may have missing values for certain country/year combinations (shown as null)
  • Historical data goes back to 1960 for many indicators

  • OECD Stats Tracker — OECD member country economic statistics to complement World Bank global coverage
  • BIS Central Bank Data — Bank for International Settlements data on monetary policy and banking sector health
  • ECB Economic Data Tracker — Eurozone-specific monetary and macroeconomic data for EU country analysis

Feedback

If this actor powers your economic research, a review helps others find it: Leave a review on Apify Store