IMF Data · Example Payload

Get Data Response

Financial DataEconomic IndicatorsBalance of PaymentsExchange RatesInternational FinanceSDMXMacroeconomicsFiscal PolicyMonetary StatisticsGovernment Finance

Get Data Response is an example object payload from IMF Data, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

metadata

Example Payload

Raw ↑
{
  "meta": {
    "schema": "https://raw.githubusercontent.com/sdmx-twg/sdmx-json/master/data-message/tools/schemas/3.0.0/sdmx-json-data-schema.json",
    "id": "response-ifs-usa-cpi",
    "prepared": "2026-06-13T00:00:00Z",
    "sender": {
      "id": "IMF",
      "name": "International Monetary Fund"
    }
  },
  "data": {
    "structures": [
      {
        "links": [
          {
            "href": "https://api.imf.org/external/sdmx/3.0/structure/datastructure/IMF.STA/DSD_IFS/+",
            "rel": "datastructure"
          }
        ],
        "dimensions": {
          "dataset": [],
          "series": [
            {
              "id": "FREQ",
              "name": "Frequency",
              "keyPosition": 0,
              "values": [
                { "id": "A", "name": "Annual" }
              ]
            },
            {
              "id": "REF_AREA",
              "name": "Reference Area",
              "keyPosition": 1,
              "values": [
                { "id": "US", "name": "United States" }
              ]
            },
            {
              "id": "INDICATOR",
              "name": "Indicator",
              "keyPosition": 2,
              "values": [
                { "id": "PCPI", "name": "Prices, Consumer Price Index, All items, Index" }
              ]
            }
          ],
          "observation": [
            {
              "id": "TIME_PERIOD",
              "name": "Time Period",
              "keyPosition": 0,
              "values": [
                { "id": "2019", "name": "2019" },
                { "id": "2020", "name": "2020" },
                { "id": "2021", "name": "2021" },
                { "id": "2022", "name": "2022" },
                { "id": "2023", "name": "2023" }
              ]
            }
          ]
        },
        "attributes": {
          "observation": [
            {
              "id": "OBS_STATUS",
              "name": "Observation Status",
              "values": [
                { "id": "A", "name": "Normal value" }
              ]
            }
          ]
        },
        "measures": {
          "observation": [
            {
              "id": "OBS_VALUE",
              "name": "Observation Value"
            }
          ]
        }
      }
    ],
    "dataSets": [
      {
        "action": "Information",
        "series": {
          "0:0:0": {
            "attributes": [],
            "observations": {
              "0": [256.143, 0],
              "1": [258.811, 0],
              "2": [270.970, 0],
              "3": [292.655, 0],
              "4": [304.702, 0]
            }
          }
        }
      }
    ]
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/get-data-response"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.