Get indicator series
get_indicator_seriesReturns values of one indicator for one country or region. A call returns at most 30 annual, 40 quarterly, 120 monthly, 52 weekly, 250 daily values (about 30 years of annual data, 10 years of quarterly or monthly, one year of weekly or daily). Without years: the latest observed values. With start_year and/or end_year: the values in that range; when the range holds more, the latest ones are returned and truncated is true. With year: one value for that year (the last period of that year for monthly or quarterly data). Includes the unit, source, licence, the range of periods with data and a link to the EconDash chart page that shows the full history. Projections such as IMF forecasts are labelled; without end_year or year, the series stops at the latest observed value and the nearest projection comes in a separate next_projection field. Country is an ISO 3166-1 alpha-3 code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Calendar year for a single value. Omit to get a series. | |
| country | Yes | ISO 3166-1 alpha-3 code, for example USA, DEU, ARG, or WLD for the world. | |
| end_year | No | Last calendar year of the series; projections up to this year are included. | |
| indicator | Yes | Indicator slug from search_indicators, for example cpi-inflation. | |
| start_year | No | First calendar year of the series. |