Firecrawl Alexandria

IMF Data

1Request
stringRequired

AGENCY:ID, AGENCY:ID(VERSION) or bare id.

string

cursor

string

end_period

object

Dimension -> codes. Dimension names follow the structure (COUNTRY, INDICATOR, FREQUENCY, COUNTERPART_COUNTRY, UNIT, ...); REF_AREA, FREQ and COUNTERPART_AREA are accepted aliases. Omitted dimensions are wildcards.

number

page_size

string

SDMX period: 2020, 2024-Q1, 2025-01.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "data-imf-org",
    capability: "datasets/data",
    options: {
      dataflow_id: "ER",
      end_period: "2025-03",
      key: {
        COUNTRY: [
          "JPN",
        ],
        FREQUENCY: [
          "M",
        ],
        INDICATOR: [
          "USD_XDC",
        ],
        TYPE_OF_TRANSFORMATION: [
          "PA_RT",
        ],
      },
      page_size: 5,
      start_period: "2025-01",
    },
  },
});
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.STA:ER",
  "dataflow_ref": "IMF.STA,ER",
  "dimensions": [
    "COUNTRY",
    "INDICATOR",
    "TYPE_OF_TRANSFORMATION",
    "FREQUENCY"
  ],
  "next_cursor": null,
  "observed_at_ms": 1789442682556,
  "operation": "data",
  "publication_date": "2026-09-14T05:26:19.611682200Z",
  "record_count": 3,
  "records": [
    {
      "attributes": {
        "ACCESS_SHARING_LEVEL": {
          "code": "PUBLIC_OPEN",
          "name": "Public (Unrestricted)"
        },
        "IFS_FLAG": {
          "code": "true",
          "name": "true"
        },
        "OVERLAP": {
          "code": "OL",
          "name": "Overlapping Indicator"
        },
        "SCALE": {
          "code": "0",
          "name": "Units"
        },
        "SECURITY_CLASSIFICATION": {
          "code": "PUB",
          "name": "Public or Unrestricted"
        }
      },
      "counterpart_area": null,
      "dataflow_id": "IMF.STA:ER",
      "dataflow_ref": "IMF.STA,ER",
      "edition": null,
      "frequency": "M",
      "id": "IMF.STA,ER|JPN.USD_XDC.PA_RT.M|2025-M01",
      "indicator": {
        "code": "USD_XDC",
        "name": "US Dollar per domestic currency"
      },
      "is_estimate": null,
      "last_updated": "2026-09-14T05:26:19.657400500Z",
      "latest_actual_period": null,
      "license": null,
      "obs_status": null,
      "observation_attributes": {
        "DERIVATION_TYPE": {
          "code": "R",
          "name": "Raw data (no derivation)"
        }
      },
      "period_end": "2025-01-31T23:59:59Z",
      "period_start": "2025-01-01T00:00:00Z",
      "publication_date": "2026-09-14T05:26:19.611682200Z",
      "ref_area": {
        "code": "JPN",
        "iso3": "JPN",
        "name": "Japan"
      },
      "scale": "Units",
      "scale_code": "0",
      "sdmx_key": "JPN.USD_XDC.PA_RT.M",
      "series_key": {
        "COUNTRY": "JPN",
        "FREQUENCY": "M",
        "INDICATOR": "USD_XDC",
        "TYPE_OF_TRANSFORMATION": "PA_RT"
      },
      "series_last_updated": null,
      "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.STA,ER/JPN.USD_XDC.PA_RT.M?startPeriod=2025-01&endPeriod=2025-03",
      "suggested_citation": null,
      "time_period": "2025-M01",
      "unit": null,
      "value": "0.006393501194080369"
    },
    {
      "attributes": {
        "ACCESS_SHARING_LEVEL": {
          "code": "PUBLIC_OPEN",
          "name": "Public (Unrestricted)"
        },
        "IFS_FLAG": {
          "code": "true",
          "name": "true"
        },
        "OVERLAP": {
          "code": "OL",
          "name": "Overlapping Indicator"
        },
        "SCALE": {
          "code": "0",
          "name": "Units"
        },
        "SECURITY_CLASSIFICATION": {
          "code": "PUB",
          "name": "Public or Unrestricted"
        }
      },
      "counterpart_area": null,
      "dataflow_id": "IMF.STA:ER",
      "dataflow_ref": "IMF.STA,ER",
      "edition": null,
      "frequency": "M",
      "id": "IMF.STA,ER|JPN.USD_XDC.PA_RT.M|2025-M02",
      "indicator": {
        "code": "USD_XDC",
        "name": "US Dollar per domestic currency"
      },
      "is_estimate": null,
      "last_updated": "2026-09-14T05:26:19.657400500Z",
      "latest_actual_period": null,
      "license": null,
      "obs_status": null,
      "observation_attributes": {
        "DERIVATION_TYPE": {
          "code": "R",
          "name": "Raw data (no derivation)"
        }
      },
      "period_end": "2025-02-28T23:59:59Z",
      "period_start": "2025-02-01T00:00:00Z",
      "publication_date": "2026-09-14T05:26:19.611682200Z",
      "ref_area": {
        "code": "JPN",
        "iso3": "JPN",
        "name": "Japan"
      },
      "scale": "Units",
      "scale_code": "0",
      "sdmx_key": "JPN.USD_XDC.PA_RT.M",
      "series_key": {
        "COUNTRY": "JPN",
        "FREQUENCY": "M",
        "INDICATOR": "USD_XDC",
        "TYPE_OF_TRANSFORMATION": "PA_RT"
      },
      "series_last_updated": null,
      "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.STA,ER/JPN.USD_XDC.PA_RT.M?startPeriod=2025-01&endPeriod=2025-03",
      "suggested_citation": null,
      "time_period": "2025-M02",
      "unit": null,
      "value": "0.006580424398665334"
    },
    {
      "attributes": {
        "ACCESS_SHARING_LEVEL": {
          "code": "PUBLIC_OPEN",
          "name": "Public (Unrestricted)"
        },
        "IFS_FLAG": {
          "code": "true",
          "name": "true"
        },
        "OVERLAP": {
          "code": "OL",
          "name": "Overlapping Indicator"
        },
        "SCALE": {
          "code": "0",
          "name": "Units"
        },
        "SECURITY_CLASSIFICATION": {
          "code": "PUB",
          "name": "Public or Unrestricted"
        }
      },
      "counterpart_area": null,
      "dataflow_id": "IMF.STA:ER",
      "dataflow_ref": "IMF.STA,ER",
      "edition": null,
      "frequency": "M",
      "id": "IMF.STA,ER|JPN.USD_XDC.PA_RT.M|2025-M03",
      "indicator": {
        "code": "USD_XDC",
        "name": "US Dollar per domestic currency"
      },
      "is_estimate": null,
      "last_updated": "2026-09-14T05:26:19.657400500Z",
      "latest_actual_period": null,
      "license": null,
      "obs_status": null,
      "observation_attributes": {
        "DERIVATION_TYPE": {
          "code": "R",
          "name": "Raw data (no derivation)"
        }
      },
      "period_end": "2025-03-31T23:59:59Z",
      "period_start": "2025-03-01T00:00:00Z",
      "publication_date": "2026-09-14T05:26:19.611682200Z",
      "ref_area": {
        "code": "JPN",
        "iso3": "JPN",
        "name": "Japan"
      },
      "scale": "Units",
      "scale_code": "0",
      "sdmx_key": "JPN.USD_XDC.PA_RT.M",
      "series_key": {
        "COUNTRY": "JPN",
        "FREQUENCY": "M",
        "INDICATOR": "USD_XDC",
        "TYPE_OF_TRANSFORMATION": "PA_RT"
      },
      "series_last_updated": null,
      "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.STA,ER/JPN.USD_XDC.PA_RT.M?startPeriod=2025-01&endPeriod=2025-03",
      "suggested_citation": null,
      "time_period": "2025-M03",
      "unit": null,
      "value": "0.006703536115300821"
    }
  ],
  "resolved_key": {
    "COUNTRY": [
      "JPN"
    ],
    "FREQUENCY": [
      "M"
    ],
    "INDICATOR": [
      "USD_XDC"
    ],
    "TYPE_OF_TRANSFORMATION": [
      "PA_RT"
    ]
  },
  "retrieved_at": "2026-09-15T03:24:42Z",
  "schema_version": "1.0.0",
  "sdmx_key": "JPN.USD_XDC.PA_RT.M",
  "source_updated_at": "2026-09-14T05:26:19.657400500Z",
  "source_url": "https://api.imf.org/external/sdmx/2.1/data/IMF.STA,ER/JPN.USD_XDC.PA_RT.M?startPeriod=2025-01&endPeriod=2025-03",
  "total_records": 3,
  "warnings": []
}
Browse the library