Pushbuild

World Bank Data API – GDP, Population & 1,400+ Indicators

Official World Bank development indicators for every country since 1960: GDP, growth, inflation, population, unemployment, life expectancy, debt, trade, CO2 and 1,400+ more. Shortcuts for common indicators and indicator search.

$0.08 per 1,000 rows

Get an API key

Example request

POST /world-bank-indicators/run
{
  "indicators": [
    "gdp",
    "population"
  ],
  "countries": [
    "US",
    "GB",
    "DE"
  ],
  "maxItems": 20
}

What a response looks like

POST /world-bank-indicators/run{"countries": ["US", "GB", "DE"], "indicators": ["gdp", "population"], "maxItems": 5}
{"count": 5, "items": [{ "country": "Germany", "countryCode": "DEU", "indicator": "GDP (current US$)", "indicatorId": "NY.GDP.MKTP.CD", "unit": null, "value": 5050922925047.05, "year": "2025"} ]}
Germany5,050,922,925,047Germany4,685,592,577,805Germany4,562,207,532,490Germany4,201,021,706,479Germany4,355,251,953,411
value by country in this sample response
countrycountryCodeindicatorindicatorIdunitvalue
GermanyDEUGDP (current US$)NY.GDP.MKTP.CD5,050,922,925,047
GermanyDEUGDP (current US$)NY.GDP.MKTP.CD4,685,592,577,805
GermanyDEUGDP (current US$)NY.GDP.MKTP.CD4,562,207,532,490
GermanyDEUGDP (current US$)NY.GDP.MKTP.CD4,201,021,706,479
GermanyDEUGDP (current US$)NY.GDP.MKTP.CD4,355,251,953,411

Real rows returned by this API on 2026-11-09 for the request shown.

What it returns

Official World Development Indicators for every country and region, as clean rows.

Common uses

Market sizing, economic research, dashboards, country risk scoring. Pay per row. Source: World Bank (CC BY 4.0).

Request

POST https://api.pushbuild.com/world-bank-indicators/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
indicatorslist of stringsShortcuts (gdp, gdpPerCapita, gdpGrowth, population, inflation, unemployment, lifeExpectancy, co2PerCapita, internetUsers, exportsPctGdp, governmentDebtPctGdp, urbanPopulationPct, povertyRate, fdiInflows) or World Bank codes like NY.GDP.MKTP.CD.
countrieslist of stringsISO codes (US, GBR, DE...), regions (EUU, WLD) or all.
fromYearintegerFirst year.
toYearintegerLast year.
mostRecentValuesintegerIf no year range, the latest N non-empty years per country. Default: 5.
includeEmptybooleanKeep years with no value. Default: false.
searchIndicatorsstringFind indicator codes by keyword, e.g. electricity.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/world-bank-indicators/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"indicators": ["gdp", "population"], "countries": ["US", "GB", "DE"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 rows. No charge for errors or empty searches.

RowsCost
1,000$0.08
10,000$0.80
100,000$8.00
1,000,000$80.00
12,499 a monthFree ($1 monthly credit)

Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: https://api.pushbuild.com/mcp/world-bank-indicators. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.

Want these numbers on one screen alongside your own? Dashboards and reporting