/worldbank/indicators
Get an indicator’s time-series values for one or more countries
Price: 1 credit
💡 AI Hint: Get the time-series values of a World Bank development indicator (identified by its code, e.g. ‘NY.GDP.MKTP.CD’ for GDP, ‘SP.POP.TOTL’ for population) for one country, a list of countries, or every country. Each observation carries the indicator, country, period and value. Filter by a single year or year range, switch to monthly or quarterly frequency for sub-annual series, restrict to a specific data source, or ask for the most recent N observations per country. Find indicator codes with the indicators search endpoint.
⚠️ Common errors: 412: Indicator or country not found, or no data available
Authorizations
API token from the dashboard
Headers
Body
Indicator code
1"NY.GDP.MKTP.CD"
"SP.POP.TOTL"
"FP.CPI.TOTL.ZG"
Max number of observations to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Country as an ISO2 or ISO3 code, a semicolon-separated list, or 'all' for every country
"USA"
"US;CN;BR"
"all"
Time period: a single year ('2020') or an inclusive year range ('2018:2020'). For monthly frequency use 'YYYYMmm' ('2020M01' or '2020M01:2020M06'); for quarterly use 'YYYYQq' ('2020Q1' or '2020Q1:2020Q4')
"2020"
Observation frequency; use monthly or quarterly together with a matching date format
M, Q, Y Restrict to observations from this data source id
x >= 12
Return only the most recent N observations per country
x >= 1