World Bank Open Data Scraper avatar

World Bank Open Data Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
World Bank Open Data Scraper

World Bank Open Data Scraper

Scrape World Bank Open Data, 16,000+ development indicators for 200+ countries spanning 60+ years. Get GDP, population, inflation, unemployment, literacy rates, and thousands more economic and social indicators.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Extract development indicators and economic data from the World Bank Open Data platform — 16,000+ indicators for 200+ countries spanning 60+ years of historical data. No API key or authentication required.

What you can scrape

  • Countries — full list of 200+ World Bank countries and regions with geographic metadata
  • Indicators catalog — searchable database of 16,000+ development indicators across topics like GDP, poverty, education, health, and environment
  • Time-series data — annual values for any indicator and country combination (e.g., US GDP from 1960–2023)
  • Cross-country comparisons — latest values for one indicator across all countries
  • Topics — hierarchical topic taxonomy for browsing indicators

Input

FieldTypeDescription
modeselectWhat to fetch (see modes below)
querystringKeyword search for indicators (mode=indicators)
topicIdintegerFilter indicators by topic number 1–21
sourceIdintegerFilter by data source ID
countryCodestringISO 2 or 3-letter country code (e.g. US, DEU, IN)
indicatorCodestringWorld Bank indicator code (e.g. NY.GDP.MKTP.CD)
fromYearintegerStart year for time series (default: 1960)
toYearintegerEnd year for time series (default: 2024)
yearintegerSpecific year for all-countries mode
incomeLevelselectFilter countries by income level
regionselectFilter countries by World Bank region
maxItemsintegerMaximum records to return (1–10000)

Modes

  • countries — List all World Bank countries with region, income level, lending type, and coordinates
  • indicators — Search the indicator catalog by keyword, topic, or source
  • byCountryIndicator — Annual time-series data for one country + one indicator
  • byIndicatorAllCountries — Latest values across all countries for one indicator
  • topics — List all 21 data topic categories

Common indicator codes

Indicator CodeDescription
NY.GDP.MKTP.CDGDP (current US$)
SP.POP.TOTLPopulation, total
FP.CPI.TOTL.ZGInflation, consumer prices (annual %)
SL.UEM.TOTL.ZSUnemployment, total (% of labor force)
SE.ADT.LITR.ZSLiteracy rate, adult total (%)
NY.GDP.PCAP.CDGDP per capita (current US$)
SI.POV.DDAYPoverty headcount ratio at $2.15/day (%)
SH.DYN.MORTMortality rate, under-5 (per 1,000 live births)

Output

Countries record

{
"recordType": "country",
"id": "US",
"iso2Code": "US",
"name": "United States",
"capitalCity": "Washington D.C.",
"longitude": -77.032,
"latitude": 38.8895,
"region": "North America",
"regionId": "NAC",
"incomeLevel": "High income",
"incomeLevelId": "HIC",
"lendingType": "Not classified",
"lendingTypeId": "LNX",
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Indicator record

{
"recordType": "indicator",
"id": "NY.GDP.MKTP.CD",
"name": "GDP (current US$)",
"source": "World Development Indicators",
"description": "GDP at purchaser's prices is the sum of gross value added...",
"topics": ["Economy & Growth"],
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Data series record

{
"recordType": "dataSeries",
"indicatorCode": "NY.GDP.MKTP.CD",
"indicatorName": "GDP (current US$)",
"countryCode": "US",
"countryName": "United States",
"countryIso3": "USA",
"date": "2022",
"value": 25462700000000.0,
"unit": "",
"decimal": 0,
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Example use cases

  • Economic research — Download GDP, inflation, or unemployment trends for multiple countries
  • Development analysis — Compare poverty rates, literacy, or health metrics globally
  • Education dashboards — Pull enrollment ratios, teacher counts, or expenditure data
  • Environmental tracking — CO2 emissions, forest coverage, renewable energy adoption
  • Data journalism — Quick access to authoritative development statistics

FAQs

Do I need an API key? No. The World Bank Open Data API is completely free and requires no authentication.

How often is the data updated? World Bank data is typically updated annually. Most indicators have data through 2021–2023.

Can I get data for multiple countries at once? Yes — use byIndicatorAllCountries mode to get values for all 200+ countries for a single indicator.

What country codes should I use? Use standard ISO 2-letter codes (US, DE, CN) or ISO 3-letter codes (USA, DEU, CHN). You can also use World Bank codes visible in the countries listing.

Why are some values missing? Not all countries report every indicator. The scraper skips null/missing values to ensure data quality.

How do I find indicator codes? Use mode=indicators with a keyword search (e.g., query=GDP) to discover indicator codes, then use them in byCountryIndicator mode.