APIs / World Bank / Get World Bank indicator data
World Bank: Get World Bank indicator data
Yearly values of a World Development Indicator, such as GDP or population, for up to 10 countries or all of them, by year range or latest values.
GET /v1/world-bank/indicator-data
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
country | string | Required | Up to 60 characters ISO 3166 alpha-2 or alpha-3 codes, up to 10, comma-separated (US,CN), or all for every country and aggregate. |
indicator | string | Required | Up to 64 characters World Development Indicators id, such as NY.GDP.MKTP.CD (GDP, current US$) or SP.POP.TOTL (population). |
start_year | integer | Optional | Any First year, from 1960. Can't be combined with most_recent. |
end_year | integer | Optional | Any Last year. Defaults to the current year when start_year is set. |
most_recent | integer | Optional | Any Only the latest N years per country, 1 to 60. |
page | integer | Optional | Any Results page, from 1. |
per_page | integer | Optional | Any Results per page, 1 to 1000. Default 100. |
Example request
World Bank
GET/v1/world-bank/indicator-data?country=US%2CCN&indicator=NY.GDP.MKTP.CD&most_recent=5
{
"success": true,
"data": {
"indicator": {
"id": "NY.GDP.MKTP.CD",
"name": "GDP (current US$)",
"source_organization": "Country official statistics, National Statistical Organizations and/or Central Banks;\nNational Accounts data files, Organisation for Economic Co-operation and Development (OECD);\nStaff estimates, World Bank (WB)"
},
"last_updated": "2026-11-11",
"total": 10,
"page": 1,
"has_more": false,
"count": 10,
"items": [
{
"country_code": "CHN",
"country": "China",
"year": 2025,
"value": 19498039388042.6,
"decimals": 0
},
{
"country_code": "CHN",
"country": "China",
"year": 2024,
"value": 18729668435848,
"decimals": 0
},
{
"country_code": "CHN",
"country": "China",
"year": 2023,
"value": 18270356654533.2,
"decimals": 0
}
],
"notice": "The World Bank: World Development Indicators: Country official statistics, National Statistical Organizations and/or Central Banks;\nNational Accounts data files, Organisation for Economic Co-operation and Development (OECD);\nStaff estimates…"
},
"meta": {
"request_id": "req_bdcd50236b7348c2b8e3ef9b568db8f3",
"credits_charged": 1,
"credits_remaining": 432
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
indicator | object |
last_updated | string |
items | object[] |
notice | string |