Official public data

IMF Data API

Cross-country macro, balance-of-payments, fiscal and financial statistics distributed through standard data services.

Provider
International Monetary Fund
Access
No API key
Primary interface
IMF SDMX data services
International Monetary Fund
API / Skill
Research
Implementation statusGuide reviewed · 2026-07
Implementation status

Official public data

Expected result

Monitor sovereign fiscal conditions

Known failure mode

SDMX datasets use dataset-specific dimensions; inspect the dataflow before querying.

Compatibility

No API key · IMF SDMX data services

Best used for

Monitor sovereign fiscal conditions
Compare inflation and external balances
Create country risk research
Quick start
const base = 'https://www.imf.org/external/datamapper/api/v1';
const response = await fetch(`${base}/NGDP_RPCH/USA`);
const growth = await response.json();
console.log(growth.values);

A practical workflow

  1. 1Confirm the source and license
  2. 2Run the smallest useful request
  3. 3Validate fields and missing values
  4. 4Cache responsibly and document assumptions

Before you build

SDMX datasets use dataset-specific dimensions; inspect the dataflow before querying.

Open official documentation

Frequently asked questions

What can IMF Data API do in a real workflow?

Monitor sovereign fiscal conditions Compare inflation and external balances Create country risk research

What access and compatibility does IMF Data API require?

No API key. IMF SDMX data services.

What is the main implementation risk with IMF Data API?

SDMX datasets use dataset-specific dimensions; inspect the dataflow before querying.