# 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](https://pushbuild.com/apis/app/signup?api=world-bank-indicators)

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"} ]}
```

`value` by `country` in this sample response

| country | countryCode | indicator | indicatorId | unit | value |
| --- | --- | --- | --- | --- | --- |
| Germany | DEU | GDP (current US$) | NY.GDP.MKTP.CD |  | 5,050,922,925,047 |
| Germany | DEU | GDP (current US$) | NY.GDP.MKTP.CD |  | 4,685,592,577,805 |
| Germany | DEU | GDP (current US$) | NY.GDP.MKTP.CD |  | 4,562,207,532,490 |
| Germany | DEU | GDP (current US$) | NY.GDP.MKTP.CD |  | 4,201,021,706,479 |
| Germany | DEU | GDP (current US$) | NY.GDP.MKTP.CD |  | 4,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.

| Field | Type | Description |
| --- | --- | --- |
| `indicators` | list of strings | Shortcuts (gdp, gdpPerCapita, gdpGrowth, population, inflation, unemployment, lifeExpectancy, co2PerCapita, internetUsers, exportsPctGdp, governmentDebtPctGdp, urbanPopulationPct, povertyRate, fdiInflows) or World Bank codes like NY.GDP.MKTP.CD. |
| `countries` | list of strings | ISO codes (US, GBR, DE...), regions (EUU, WLD) or all. |
| `fromYear` | integer | First year. |
| `toYear` | integer | Last year. |
| `mostRecentValues` | integer | If no year range, the latest N non-empty years per country. Default: `5`. |
| `includeEmpty` | boolean | Keep years with no value. Default: `false`. |
| `searchIndicators` | string | Find indicator codes by keyword, e.g. electricity. |
| `maxItems` | integer | Maximum 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.

| Rows | Cost |
| --- | --- |
| 1,000 | $0.08 |
| 10,000 | $0.80 |
| 100,000 | $8.00 |
| 1,000,000 | $80.00 |
| 12,499 a month | Free ($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](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [Eurostat API: EU GDP, Inflation, Unemployment by Country API](https://pushbuild.com/apis/eurostat-indicators.html): Official Eurostat statistics for EU countries: GDP growth, HICP inflation, unemployment, government debt and deficit, industrial production, retail sales, house prices, sentiment and population, or any Eurostat dataset by code, with change vs previous period and year ago..
- [IMF World Economic Outlook API: GDP, Inflation, Debt Forecasts API](https://pushbuild.com/apis/imf-economic-outlook.html): IMF World Economic Outlook and Fiscal Monitor data from the official DataMapper API: real GDP growth, inflation, unemployment, current account, government debt and balances, GDP and population, actuals and IMF projections for 190+ countries and regions..
- [WHO Health Data API: Life Expectancy, Mortality & Disease API](https://pushbuild.com/apis/who-health-indicators.html): World Health Organization Global Health Observatory data from its official OData API: life expectancy, child and maternal mortality, obesity, diabetes, tobacco, alcohol, immunisation, health spending and any GHO indicator by country..
- [OECD API: Leading Indicators, CPI, Unemployment, Rates & GDP API](https://pushbuild.com/apis/oecd-economic-indicators.html): OECD statistics from the official Data Explorer API: composite leading indicators, business and consumer confidence, CPI inflation, unemployment, short and long-term interest rates and real GDP growth for 38 countries plus G7, G20 and euro area.
- [Argentina Central Bank API](https://pushbuild.com/apis/argentina-central-bank.html): Banco Central de la Republica Argentina data: catalog of 1,600+ monetary series with latest values, daily history for any series (reserves, policy rate, base money, inflation, peso exchange rates) and official FX quotes for every currency..
- [Assisted Living Facilities API](https://pushbuild.com/apis/assisted-living-facilities.html): Search 26,800 state-licensed assisted living, residential care for the elderly, adult residential and adult day facilities from California, Florida, Arizona, Maryland, Illinois, Missouri, New York, Pennsylvania, Kentucky, Nebraska and Connecticut: name, type, status, city, county, ZIP, licensed capacity, memory-care beds and license dates..

## 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](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

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

---
As of 2026-12-03. Source: https://pushbuild.com/apis/world-bank-indicators.html
