Try IMF Data now.

Choose an example or ask your own question.

IMF Data
TRY ASKING
1Request
string[]Required

ISO3 codes (USA, DEU) or WEO group codes (G001 World, G110 Advanced economies, G163 Euro area, G200 Emerging market and developing economies). Separate values with commas.

stringRequired

Edition. `latest` or `current` is the unversioned WEO. A published month is YYYY-MM (MM 01, 04, 07 or 10), YYYY/MM, or a name such as April 2025 or October 2026. 2026-04 is WEO_2026_APR_VINTAGE, 2025-10 is WEO_2025_OCT_VINTAGE, 2025-04 is IMF.RES:WEO 6.0.0. A month the IMF has not published is not_found.

string[]Required

subject_codes Separate values with commas.

string

cursor

number

page_size

number

year_from

number

year_to

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "data-imf-org",
    capability: "datasets/weo",
    options: {
      country_codes: [
        "USA",
      ],
      edition: "latest",
      page_size: 5,
      subject_codes: [
        "NGDP_RPCH",
      ],
      year_from: 2024,
      year_to: 2025,
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from IMF Data.

{
  "attribution": "Source: International Monetary Fund (IMF) Data, https://data.imf.org. IMF terms of use: https://www.imf.org/external/terms.htm",
  "complete": true,
  "dataflow_id": "IMF.RES:WEO",
  "dataflow_ref": "IMF.RES,WEO",
  "dimensions": [
    "COUNTRY",
    "INDICATOR",
    "FREQUENCY"
  ],
  "edition_requested": "latest",
  "next_cursor": null,
  "observed_at_ms": 1789442683980,
  "operation": "weo",
  "publication_date": "2026-04-14T13:00:00Z",
  "record_count": 2,
  "records": [
    {
      "attributes": {
        "BASE_YEAR": {
          "code": "2017",
          "name": "2017"
        },
        "CHAIN_WEIGHTED": {
          "code": "Yes, from 1980",
          "name": "Yes, from 1980"
        },
        "COUNTRY_UPDATE_DATE": {
          "code": "9/30/2025",
          "name": "9/30/2025"
        },
        "DECIMALS_DISPLAYED": {
          "code": "3",
          "name": "Three"
        },
        "HISTORICAL_DATA_SOURCE": {
          "code": "National Statistics Office",
          "name": "National Statistics Office"
        },
        "KEYWORDS": {
          "code": "Real GDP",
          "name": "Real GDP"
        },
        "KEY_INDICATOR": {
          "code": "true",
          "name": "true"
        },
        "LATEST_ACTUAL_ANNUAL_DATA": {
          "code": "2025",
          "name": "2025"
        },
        "METHODOLOGY": {
          "code": "System of National Accounts (SNA) 2008",
          "name": "System of National Accounts (SNA) 2008"
        },
        "METHODOLOGY_NOTES": {
          "code": "Real GDP determined by chained Fisher quantity growth rates.",
          "name": "Real GDP determined by chained Fisher quantity growth rates."
        },
        "NA_STO": {
          "code": "B1GQ",
          "name": "Gross domestic product (GDP)"
        },
        "OVERLAP": {
          "code": "OL",
          "name": "Overlapping Indicator"
        },
        "PRICES": {
          "code": "Q",
          "name": "Constant prices"
        },
        "PRIMARY_DOMESTIC_CURRENCY": {
          "code": "US dollar",
          "name": "US dollar"
        },
        "SCALE": {
          "code": "0",
          "name": "Units"
        },
        "SERIES_NAME": {
          "code": "Gross domestic product (GDP), Constant prices, Percent change",
          "name": "Gross domestic product (GDP), Constant prices, Percent change"
        },
        "START_END_MONTHS_OF_REPORTING_YEAR": {
          "code": "January/December",
          "name": "January/December"
        },
        "TOPIC": {
          "code": "E10_GDP",
          "name": "Gross domestic product (GDP)"
        },
        "UNIT": {
          "code": "PT",
          "name": "Percent"
        }
      },
      "counterpart_area": null,
      "dataflow_id": "IMF.RES:WEO",
      "dataflow_ref": "IMF.RES,WEO",
      "edition": "2026-04",
      "frequency": "A",
      "id": "IMF.RES,WEO|USA.NGDP_RPCH.A|2024",
      "indicator": {
        "code": "NGDP_RPCH",
        "name": "Gross domestic product (GDP), Constant prices, Percent change"
      },
      "is_estimate": false,
      "last_updated": "2026-04-15T13:00:00Z",
      "latest_actual_period": "2025",
      "license": "© International Monetary Fund Copyright. All Rights Reserved. https://www.imf.org/external/terms.htm",
      "obs_status": null,
      "observation_attributes": {},
      "period_end": "2024-12-31T23:59:59Z",
      "period_start": "2024-01-01T00:00:00Z",
      "publication_date": "2026-04-14T13:00:00Z",
      "ref_area": {
        "code": "USA",
        "iso3": "USA",
        "name": "United States"
      },
      "scale": "Units",
      "scale_code": "0",
      "sdmx_key": "USA.NGDP_RPCH.A",
      "series_key": {
        "COUNTRY": "USA",
        "FREQUENCY": "A",
        "INDICATOR": "NGDP_RPCH"
      },
      "series_last_updated": "9/30/2025",
      "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.RES,WEO/USA.NGDP_RPCH.A?startPeriod=2024&endPeriod=2025",
      "suggested_citation": "International Monetary Fund. World Economic Outlook (WEO), https://data.imf.org/en/datasets/IMF.RES:WEO. Accessed on [current date].",
      "time_period": "2024",
      "unit": {
        "code": "PT",
        "name": "Percent"
      },
      "value": "2.793116"
    },
    {
      "attributes": {
        "BASE_YEAR": {
          "code": "2017",
          "name": "2017"
        },
        "CHAIN_WEIGHTED": {
          "code": "Yes, from 1980",
          "name": "Yes, from 1980"
        },
        "COUNTRY_UPDATE_DATE": {
          "code": "9/30/2025",
          "name": "9/30/2025"
        },
        "DECIMALS_DISPLAYED": {
          "code": "3",
          "name": "Three"
        },
        "HISTORICAL_DATA_SOURCE": {
          "code": "National Statistics Office",
          "name": "National Statistics Office"
        },
        "KEYWORDS": {
          "code": "Real GDP",
          "name": "Real GDP"
        },
        "KEY_INDICATOR": {
          "code": "true",
          "name": "true"
        },
        "LATEST_ACTUAL_ANNUAL_DATA": {
          "code": "2025",
          "name": "2025"
        },
        "METHODOLOGY": {
          "code": "System of National Accounts (SNA) 2008",
          "name": "System of National Accounts (SNA) 2008"
        },
        "METHODOLOGY_NOTES": {
          "code": "Real GDP determined by chained Fisher quantity growth rates.",
          "name": "Real GDP determined by chained Fisher quantity growth rates."
        },
        "NA_STO": {
          "code": "B1GQ",
          "name": "Gross domestic product (GDP)"
        },
        "OVERLAP": {
          "code": "OL",
          "name": "Overlapping Indicator"
        },
        "PRICES": {
          "code": "Q",
          "name": "Constant prices"
        },
        "PRIMARY_DOMESTIC_CURRENCY": {
          "code": "US dollar",
          "name": "US dollar"
        },
        "SCALE": {
          "code": "0",
          "name": "Units"
        },
        "SERIES_NAME": {
          "code": "Gross domestic product (GDP), Constant prices, Percent change",
          "name": "Gross domestic product (GDP), Constant prices, Percent change"
        },
        "START_END_MONTHS_OF_REPORTING_YEAR": {
          "code": "January/December",
          "name": "January/December"
        },
        "TOPIC": {
          "code": "E10_GDP",
          "name": "Gross domestic product (GDP)"
        },
        "UNIT": {
          "code": "PT",
          "name": "Percent"
        }
      },
      "counterpart_area": null,
      "dataflow_id": "IMF.RES:WEO",
      "dataflow_ref": "IMF.RES,WEO",
      "edition": "2026-04",
      "frequency": "A",
      "id": "IMF.RES,WEO|USA.NGDP_RPCH.A|2025",
      "indicator": {
        "code": "NGDP_RPCH",
        "name": "Gross domestic product (GDP), Constant prices, Percent change"
      },
      "is_estimate": false,
      "last_updated": "2026-04-15T13:00:00Z",
      "latest_actual_period": "2025",
      "license": "© International Monetary Fund Copyright. All Rights Reserved. https://www.imf.org/external/terms.htm",
      "obs_status": null,
      "observation_attributes": {},
      "period_end": "2025-12-31T23:59:59Z",
      "period_start": "2025-01-01T00:00:00Z",
      "publication_date": "2026-04-14T13:00:00Z",
      "ref_area": {
        "code": "USA",
        "iso3": "USA",
        "name": "United States"
      },
      "scale": "Units",
      "scale_code": "0",
      "sdmx_key": "USA.NGDP_RPCH.A",
      "series_key": {
        "COUNTRY": "USA",
        "FREQUENCY": "A",
        "INDICATOR": "NGDP_RPCH"
      },
      "series_last_updated": "9/30/2025",
      "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.RES,WEO/USA.NGDP_RPCH.A?startPeriod=2024&endPeriod=2025",
      "suggested_citation": "International Monetary Fund. World Economic Outlook (WEO), https://data.imf.org/en/datasets/IMF.RES:WEO. Accessed on [current date].",
      "time_period": "2025",
      "unit": {
        "code": "PT",
        "name": "Percent"
      },
      "value": "2.11733"
    }
  ],
  "resolved_key": {
    "COUNTRY": [
      "USA"
    ],
    "FREQUENCY": [
      "A"
    ],
    "INDICATOR": [
      "NGDP_RPCH"
    ]
  },
  "retrieved_at": "2026-09-15T03:24:43Z",
  "schema_version": "1.0.0",
  "sdmx_key": "USA.NGDP_RPCH.A",
  "source_updated_at": "2026-04-15T13:00:00Z",
  "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.RES,WEO/USA.NGDP_RPCH.A?startPeriod=2024&endPeriod=2025",
  "total_records": 2,
  "warnings": []
}

Firecrawl tools

3

Ready-made Firecrawl tools that call IMF Data.

Skills

Official skills using IMF Data

Emerging market sovereign stress snapshotUse when an emerging markets sovereign credit analyst or EM debt portfolio manager needs a fast read on whether a country is heading toward a funding crisis. Combines IMF forecasts for growth, debt and current account, World Bank reserve and external debt data, the currency's recent path and election or policy odds, producing a stress score with drivers.

For one country (ISO3 code and currency). Crises usually combine a currency slide, thin reserves, rising debt and a political trigger.

1. Forecasts

  1. Read the latest World Economic Outlook with Weo (edition latest, country_codes, subject_codes NGDP_RPCH, PCPIPCH, GGXWDG_NGDP, BCA_NGDPD, GGXCNL_NGDP, year_from three years back). Carry growth, inflation, debt to GDP, current account and fiscal balance, actuals and forecasts.

2. Buffers

  1. Read reserves in months of imports and short-term external debt with Data (country_codes, indicator_ids FI.RES.TOTL.MO and DT.DOD.DSTC.IR.ZS, mrv 5). Look up exact indicator ids with Indicators if a code is not found.

3. Market signal

  1. Read two years of the currency against the dollar with Rate history (from USD, to the currency, range 2Y). Compute the 12-month change and the largest one-month move.

  2. List upcoming central bank and inflation releases for the currency with List events if it is one of the nine currencies covered; otherwise note that none are listed.

4. Political trigger

  1. Search prediction markets on the country's elections or leadership with Query (q the country name, limit_per_type 10).

Write the snapshot

  • Fundamentals table: growth, inflation, debt, current account and fiscal balance, last actual and next two forecasts.

  • Buffers: reserve months and short-term debt share against common thresholds (three months of imports is a typical floor).

  • Currency: 12-month change, worst month.

  • Triggers: dated elections and market odds.

  • Stress score: low, medium or high, with the rule used.

  • Sources: cite each figure to its edition or indicator and year. Say which data were missing.

View skill
Medtech country entry health-system scanUse when a medical device or digital health company is choosing which country to launch in next and needs more than market size. Scores candidate countries on clinician density, health spending, ageing, economic outlook and existing device trial activity, then adds currency risk, and returns a ranked shortlist with each metric sourced.

For three to eight candidate countries and one device category. Country ISO3 codes fixed in step 1 are used everywhere.

1. Capacity to adopt

  1. Find the WHO codes for medical doctors per 10,000 and the UHC service coverage index with Indicator search, then pull the latest values with Indicator data for every candidate.

  2. Pull current health expenditure per capita and population 65 and over (% of total) with Indicator data (mrv 5) so you can see direction, not just level.

2. Ability to pay next year

  1. Read real GDP growth and inflation forecasts for the candidates with World Economic Outlook (latest edition). Flag countries where inflation forecasts exceed growth.

  2. For each local currency against USD, read Rate history over 1Y and note the range. Pricing in a volatile currency erodes margin.

3. Clinical foothold

  1. Count device trials in the category per country with Trial search (condition or intervention the category, location the country). Existing sites mean investigators and regulators who have seen similar products.

Write the scan

  • Scorecard: one row per country with doctors per 10,000, UHC index, health spend per capita, 65+ share, GDP growth, inflation, currency range, trial count.

  • Ranking: top three with the two metrics that decide each.

  • Watch-outs: stale or missing series by country.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill
Health financing peer comparisonUse when a health economist at a ministry of health or development bank must benchmark a country's health financing against peers before a budget round. Pulls out-of-pocket share, government health spending and coverage indicators from the World Bank and WHO, adds Eurostat detail for European peers and IMF growth forecasts, and drafts a sourced comparison.

For one country and five to eight peers (same region or income group). The budget case rests on a few comparable ratios.

1. Pick peers

  1. Read the country's income group and region with Country, then list peers with Countries (income_level, region).

2. Core financing ratios

  1. Find indicator ids with Indicators (query out-of-pocket expenditure, domestic general government health expenditure, current health expenditure per capita) and pull them with Data for all countries, last ten years.

  2. Add the UHC service coverage index with Indicators and Data.

3. European detail

  1. For EU peers, find health expenditure by financing scheme with Search datasets (query health care expenditure by financing scheme), check dimensions with Get dataset and pull with Query data.

4. Fiscal room

  1. Pull real GDP growth and government revenue forecasts with Weo (country_codes, latest edition). Growth sets how fast spending can rise without new taxes.

Write the comparison

  • Table: country, OOP share, government health spend share, per capita spend, UHC index, forecast growth, latest year each.

  • Position: where the country sits versus peer median on each ratio.

  • Options: two or three policy levers peers used, cited only where sources say so.

  • Sources: indicator codes and years, Eurostat dataset codes, WEO edition. Say what could not be found.

View skill

Quality, speed and cost, last 24 hours, across every agent call to IMF Data through Alexandria.

Quality
100%
Calls answered without a tool error
Speed
20.4 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
38
Last 24 hours, every Alexandria user
Browse the library
//
Get started
//
Give your agent IMF Data.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options