Finance
International Monetary Fund logo

International Monetary Fund API

imf.org

IMF World Economic Outlook - GDP forecasts, inflation, fiscal data, and country comparisons.

Actions
7
Category
Finance
Login
Not required
Output
JSON

Call the International Monetary Fund API

Submit a task, then poll the job until it settles. This example runs imf_country_compare.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "imf_country_compare",
    "params": {
      "countries": "<countries>",
      "year": 10
    }
  }'

7 actions on imf.org

Read

  • Country Comparison

    imf_country_compareread2 credits / call

    Returns side-by-side macro profiles with GDP, inflation, unemployment, debt, and balances.

    countries
    string
    year
    integer
  • Debt Monitor

    imf_debt_monitorread3 credits / call

    Returns the debt and credit cycle including household, corporate, and private debt.

    countries
    string
    start_year
    integer
    end_year
    integer
  • External Sector

    imf_external_sectorread3 credits / call

    Returns external balance and labor data including current account and unemployment.

    countries
    string
    start_year
    integer
    end_year
    integer
  • Fiscal Monitor

    imf_fiscal_monitorread3 credits / call

    Returns government fiscal data including gross debt, fiscal balance, and revenue.

    countries
    string
    start_year
    integer
    end_year
    integer
  • GDP Outlook

    imf_gdp_outlookread2 credits / call

    Returns GDP growth and size forecasts including real growth, nominal, per capita, and PPP.

    countries
    string
    start_year
    integer
    end_year
    integer
  • Indicator Data

    imf_indicatorread2 credits / call

    Returns any WEO indicator for one or more countries with keyword search support.

    indicator
    string · required
    countries
    string
    start_year
    integer
    end_year
    integer
  • Inflation Outlook

    imf_inflation_outlookread3 credits / call

    Returns consumer price inflation forecasts for headline and end-of-period.

    countries
    string
    start_year
    integer
    end_year
    integer

International Monetary Fund API questions

Is there an API for International Monetary Fund?
International Monetary Fund does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for imf.org. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape International Monetary Fund data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when imf.org changes its markup, Anakin updates the action.
Do I need a International Monetary Fund account?
No. Every International Monetary Fund action listed here runs anonymously — no account and no credentials required.
What does the International Monetary Fund API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites