World Bank API
worldbank.org
World Bank Open Data — 1,500+ macroeconomic indicators across 200+ countries. GDP, inflation, trade, debt, health, education, climate, poverty, gender, and more.
- Actions
- 22
- Category
- Finance
- Login
- Not required
- Output
- JSON
Call the World Bank API
Submit a task, then poll the job until it settles. This example runs wb_climate_stats.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "wb_climate_stats",
"params": {
"country": "<country>"
}
}'22 actions on worldbank.org
Read
Climate Stats
wb_climate_statsread1 credit / callClimate and environment: CO2 emissions, renewables, forest area, electricity access.
- country
- string · required
- mrv
- integer
Country Comparison
wb_country_comparisonread1 credit / callCompare a single indicator across multiple countries side-by-side.
- indicator_id
- string · required
- countries
- array · required
- mrv
- integer
Country Overview
wb_country_overviewread1 credit / callSnapshot of 10 key macroeconomic indicators for a country (GDP, inflation, unemployment, trade, debt, population).
- country
- string · required
- mrv
- integer
Debt Stats
wb_debt_statsread1 credit / callExternal debt and debt service: debt stocks, reserves, debt-to-GNI ratios.
- country
- string · required
- mrv
- integer
Education Stats
wb_education_statsread1 credit / callEducation indicators: literacy, enrollment, completion rates, spending.
- country
- string · required
- mrv
- integer
Financial Stats
wb_financial_statsread1 credit / callFinancial sector: market cap, credit, interest rates, NPLs, broad money.
- country
- string · required
- mrv
- integer
Gender Stats
wb_gender_statsread1 credit / callGender indicators: labor participation, education parity, maternal health, women in parliament.
- country
- string · required
- mrv
- integer
Health Stats
wb_health_statsread1 credit / callHealth indicators: life expectancy, mortality, immunization, health spending, physicians.
- country
- string · required
- mrv
- integer
Indicator Data
wb_indicatorread1 credit / callFetch time-series data for any World Bank indicator across one or more countries.
- indicator_id
- string · required
- countries
- string
- mrv
- integer
- start_year
- integer
- end_year
- integer
Indicator Ranking
wb_indicator_rankingread1 credit / callRank all countries by any indicator (e.g. highest GDP per capita, lowest unemployment).
- indicator_id
- string · required
- order
- string
- limit
- integer
- mrv
- integer
Infrastructure Stats
wb_infrastructure_statsread1 credit / callInfrastructure: internet, mobile, broadband, electricity access, logistics, transport.
- country
- string · required
- mrv
- integer
List Countries
wb_list_countriesread1 credit / callList World Bank countries with region, income level, and capital city.
- region
- string
- income_level
- string
- limit
- integer
List Income Levels
wb_list_income_levelsread1 credit / callList World Bank income level classifications.
List Regions
wb_list_regionsread1 credit / callList all World Bank regions with codes and metadata.
List Sources
wb_list_sourcesread1 credit / callList all World Bank data sources (WDI, International Debt Statistics, etc.).
List Topics
wb_list_topicsread1 credit / callList all World Bank data topics (Education, Health, Trade, Poverty, etc.).
Multi Indicator
wb_multi_indicatorread1 credit / callFetch multiple indicators for a country in one call.
- country
- string · required
- indicator_ids
- array · required
- mrv
- integer
Poverty Stats
wb_poverty_statsread1 credit / callPoverty and inequality indicators: headcount ratios, Gini index, income shares.
- country
- string · required
- mrv
- integer
Regional Aggregate
wb_regional_aggregateread1 credit / callIndicator data at regional or income-group level (East Asia, OECD, Sub-Saharan Africa, World).
- indicator_id
- string · required
- regions
- string
- mrv
- integer
Search Indicators
wb_search_indicatorsread1 credit / callSearch the World Bank indicator library by keyword.
- query
- string · required
- limit
- integer
Topic Indicators
wb_topic_indicatorsread1 credit / callList all indicators under a specific World Bank topic.
- topic_id
- integer · required
- limit
- integer
Trade Stats
wb_trade_statsread1 credit / callTrade indicators: exports, imports, FDI, tariffs, current account, terms of trade.
- country
- string · required
- mrv
- integer
World Bank API questions
- Is there an API for World Bank?
- World Bank does not offer a public data API for this, but Anakin Wire provides 22 maintained endpoints for worldbank.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape World Bank data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when worldbank.org changes its markup, Anakin updates the action.
- Do I need a World Bank account?
- No. Every World Bank action listed here runs anonymously — no account and no credentials required.
- What does the World Bank API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Finance APIs
BIS (Bank for International Settlements)
BIS — central bank policy rates, credit-to-GDP gaps, debt service ratios, property prices, effective exchange rates, and CPI for 60+ countries.
BLS (Bureau of Labor Statistics)
BLS — official US labor market and price data: unemployment, CPI, payrolls, JOLTS, PPI, productivity, employment costs, and earnings.
CBOE
CBOE — VIX volatility indices (VIX, VIX9D, VIX3M, VIX6M, VVIX), SKEW tail risk index, oil/gold volatility, and VIX term structure.
CFTC
CFTC — weekly Commitment of Traders (COT) positioning data and Traders in Financial Futures (TFF) reports for futures markets including equities, commodities, FX, rates, and crypto.
CoinGecko
CoinGecko — live crypto prices, market data, OHLC charts, trending coins, exchange rankings, DeFi stats, derivatives, NFTs, and global market overview.
ECB (European Central Bank)
ECB — official EUR exchange rates, ECB policy interest rates, euro area money supply (M1/M2/M3), and AAA government bond yield curves.