World Bank API
worldbank.org
World Bank Open Data - macroeconomic indicators across countries for GDP, trade, and health.
- 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": "US"
}
}'22 actions on worldbank.org
Read
Climate Stats
wb_climate_statsread2 credits / callReturns climate indicators including CO2 emissions, renewables, forest area, and electricity access.
- country
- string · required
- mrv
- integer
Country Comparison
wb_country_comparisonread2 credits / callReturns a single indicator compared across multiple countries side by side.
- indicator_id
- string · required
- countries
- array · required
- mrv
- integer
Country Overview
wb_country_overviewread2 credits / callReturns 10 key macroeconomic indicators for a country including GDP, inflation, and trade.
- country
- string · required
- mrv
- integer
Debt Stats
wb_debt_statsread3 credits / callReturns external debt and debt service indicators including stocks, reserves, and debt-to-GNI ratios.
- country
- string · required
- mrv
- integer
Education Stats
wb_education_statsread2 credits / callReturns education indicators including literacy, enrollment, completion rates, and spending.
- country
- string · required
- mrv
- integer
Financial Stats
wb_financial_statsread2 credits / callReturns financial sector indicators including market cap, credit, interest rates, NPLs, and broad money.
- country
- string · required
- mrv
- integer
Gender Stats
wb_gender_statsread2 credits / callReturns gender indicators including labor participation, education parity, maternal health, and parliament.
- country
- string · required
- mrv
- integer
Health Stats
wb_health_statsread2 credits / callReturns health indicators including life expectancy, mortality, immunization, spending, and physicians.
- country
- string · required
- mrv
- integer
Indicator Data
wb_indicatorread1 credit / callReturns time-series data for any 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 / callReturns all countries ranked by any indicator.
- indicator_id
- string · required
- order
- string
- limit
- integer
- mrv
- integer
Infrastructure Stats
wb_infrastructure_statsread3 credits / callReturns infrastructure indicators including internet, mobile, broadband, electricity, and logistics.
- country
- string · required
- mrv
- integer
List Countries
wb_list_countriesread1 credit / callReturns countries with region, income level, and capital city.
- region
- string
- income_level
- string
- limit
- integer
List Income Levels
wb_list_income_levelsread1 credit / callReturns income level classifications.
List Regions
wb_list_regionsread1 credit / callReturns all regions with codes and metadata.
List Sources
wb_list_sourcesread2 credits / callReturns all data sources such as WDI and International Debt Statistics.
List Topics
wb_list_topicsread1 credit / callReturns all data topics such as Education, Health, Trade, and Poverty.
Multi Indicator Data
wb_multi_indicatorread1 credit / callReturns multiple indicators for a country in one call.
- country
- string · required
- indicator_ids
- array · required
- mrv
- integer
Poverty Stats
wb_poverty_statsread2 credits / callReturns poverty and inequality indicators including headcount ratios, Gini index, and income shares.
- country
- string · required
- mrv
- integer
Regional Aggregate
wb_regional_aggregateread2 credits / callReturns indicator data at regional or income-group level.
- indicator_id
- string · required
- regions
- string
- mrv
- integer
Search Indicators
wb_search_indicatorsread2 credits / callReturns indicators matching a keyword from the library.
- query
- string · required
- limit
- integer
Topic Indicators
wb_topic_indicatorsread2 credits / callReturns all indicators under a specific topic.
- topic_id
- integer · required
- limit
- integer
Trade Stats
wb_trade_statsread2 credits / callReturns trade indicators including exports, imports, FDI, tariffs, and current account.
- 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
13F Info
SEC 13F institutional investment manager filings, holdings, and stock holders
AAII (American Association of Individual Investors)
Individual investors association - stock screener, sentiment surveys, ETF data, and research.
Affirm
Affirm partner directory - store listings, merchant guides, and merchant detail APIs.
Alphavantage.Co
Alpha Vantage public market data APIs for stock quotes, intraday and daily time series, fundamentals, FX, crypto, and technical indicators.
ANBIMA Data
Brazilian fixed income market data from the ANBIMA data portal — debentures, government bonds, yield curves, indices, funds, and publications.
AnnualReports
Public-company profiles and annual reports - by exchange or industry, with filing links.