AkashiDocs
Providers

World Bank Open Data

World Development Indicators: GDP, population, inflation, unemployment and 1,400+ more series by country and year.

ToolPriceWhat it does
worldbank/indicator$0.001Yearly values of a World Bank indicator (GDP, population, inflation…) for a country, newest first.

Inputs are JSON bodies, and unknown fields are rejected with 422 invalid_input (not charged). POST /v1/inspect with a tool's id returns the same input schema, plus the output schema.

World Bank Indicator

worldbank/indicator · $0.001 per call (local) · Finance & Markets, Government & Law

Yearly values of a World Bank indicator (GDP, population, inflation…) for a country, newest first.

Returns the most recent non-empty yearly values of one World Development Indicator for one country or aggregate (world, EU, income groups), with the indicator's full name and the data's last update. Pass a WDI code or a friendly alias (gdp, gdp_per_capita, gdp_growth, population, inflation, unemployment, life_expectancy, internet_users, co2_per_capita, gini, …). Values are annual and lag 1–2 years; it has no monthly, live market or forecast data. An unknown country or code answers found=false. A query nobody has asked recently can take several seconds upstream; repeats are cached for a day.

Related: wikidata/entity, akashi/answer.

Input

FieldTypeRequiredDescription
countrystringyesISO 3166 alpha-2 or alpha-3 code ('BR', 'BRA'), or a region such as 'WLD' (world) or 'EUU' (European Union). Pattern ^[A-Za-z0-9]{2,3}$.
indicatorstringyesA WDI code such as 'NY.GDP.MKTP.CD', or one of: gdp, gdp_per_capita, gdp_growth, population, inflation, unemployment, life_expectancy, internet_users, co2_per_capita, gini, fdi_inflows, exports_pct_gdp, government_debt_pct_gdp, urban_population_pct. 2–40 characters.
yearsintegernoHow many most recent non-empty years. From 1 to 60. Default 10.

Example

Input
{
  "country": "BR",
  "indicator": "gdp",
  "years": 5
}
Run it with the CLI
node akashi.mjs run worldbank/indicator --input '{"country":"BR","indicator":"gdp","years":5}'

On this page