# IMF statistics: one data series by dataflow and key

International Monetary Fund SDMX data API: fetch the latest observations for one exactly specified time series from an IMF dataflow, such as consumer price indexes by country.

- No API key needed to call
- Source: [International Monetary Fund SDMX API](https://data.imf.org/)
- Licence and terms: [IMF data terms \(attribution\)](https://www.imf.org/en/About/copyright-and-terms)
- Coverage: worldwide
- Answers are shared and cached for 21600 seconds.

## Questions you can ask

- What is the latest US consumer price index according to the IMF? (operation `imf_series`)

## Operations

### IMF data series observations

Answers: what are the latest values of one IMF time series, for example the consumer price index of a country? The key lists one code per dimension, separated by dots, with no wildcards, so exactly one series comes back.

- `dataflow`: required, string, IMF dataflow id, for example CPI.
- `key`: required, string, Dot-separated dimension codes in the dataflow's order, for example USA.CPI.\_T.IX.M for the US all-items consumer price index, monthly.
- `last`: optional, integer, default 3, How many of the latest observations.

Example: What is the latest US consumer price index according to the IMF?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"imf","operation":"imf_series","params":{"dataflow":"CPI","key":"USA.CPI._T.IX.M","last":3}}}
```

Over HTTP:

```
curl '/v1/connectors/imf/imf_series?dataflow=CPI&key=USA.CPI._T.IX.M&last=3'
```

## Source notice

Source: International Monetary Fund, Database Name, https://data.imf.org/. Terms: "Distributed or reproduced Data must appear accurately with attribution to the IMF as the source". The IMF states that this data policy allows free access and free reuse, and asks that material transformation be stated: values here are trimmed and reordered only.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
