Tools/economic-data/worldbank_indicator

economic-data/worldbank_indicator

Get World Bank indicator values for a country over time.

0.1 credits / call ($0.0001)
charged on success

What it does

Returns time-series values for a World Bank development indicator and country, with the year, value, and indicator metadata for each observation.

Primary use cases

  • Pulling a country's GDP, population, inflation, or any of thousands of indicators over time.
  • Comparing an indicator across years for one country.

Good to know

Use the indicator code (e.g. "NY.GDP.MKTP.CD" for GDP in current US$) and an ISO country code, or "all" for every country. Limit with date (a year or range like "2000:2020") or mrv (most recent N values). Data is CC BY 4.0: credit "The World Bank: <dataset>".

Parameters

mrvintegeroptional

Return the most recent N values instead of a date range.

datestringoptional

Year or range, e.g. "2020" or "2000:2020".

pageintegeroptionaldefault: 1

Result page.

countrystringrequired

ISO country code (2 or 3 letter), or "all" for all countries.

per_pageintegeroptionaldefault: 50

Results per page.

indicatorstringrequired

World Bank indicator code, e.g. "NY.GDP.MKTP.CD".

economic-data/worldbank_indicator — Faro