get_series
Returns one IMF DataMapper indicator (e.g. NGDP_RPCH real GDP growth) for one or more countries, optionally limited to a year range. Output has unit, per-country series of {year, value, forecast_flag}, and a top-level forecast_flag. A point is a forecast when year >= the current UTC year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endYear | No | Last year to include | |
| countries | Yes | Comma-separated IMF country codes (ISO alpha-3), e.g. USA,DEU,JPN. Up to 20 | |
| indicator | Yes | IMF indicator code, e.g. NGDP_RPCH. Find codes with search_indicators | |
| startYear | No | First year to include |