Get World Bank indicator time series
wb_indicator_seriesFetch a historical time series for any World Bank indicator code (e.g. NY.GDP.MKTP.CD, FP.CPI.TOTL.ZG, EN.GHG.CO2.PC.CE.AR5) or friendly alias (gdp, gdp_growth, gdp_per_capita, inflation, unemployment, debt_pct_gdp, co2_per_capita, renewable_energy_pct, fdi_pct_gdp, population) for a country or aggregate.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"indicator": "<indicator>"
},
"name": "wb_indicator_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO2 code, ISO3 code, or country name (e.g. "US", "DE", "JP", "WLD"). | |
| end_year | No | Optional end year inclusive (e.g. 2025). | |
| indicator | Yes | World Bank indicator code (e.g. "FP.CPI.TOTL.ZG") or friendly alias ("gdp", "gdp_growth", "gdp_per_capita", "inflation", "unemployment", "debt_pct_gdp", "co2_per_capita", "current_account", "trade_pct_gdp", "fdi_pct_gdp", "renewable_energy_pct", "population"). | |
| start_year | No | Optional start year inclusive (e.g. 2015). | |
| most_recent | No | Number of most recent non-empty observations when start_year and end_year are omitted (1 to 50). Default 15. |