OECD Data Explorer SDMX API API

How to connect OECD Data Explorer SDMX API to Cursor

Add the Firecrawl MCP server to Cursor once and it can call the OECD Data Explorer SDMX API API and every other provider in Firecrawl Alexandria, with no OECD Data Explorer SDMX API integration code.

Open Markdown

To connect OECD Data Explorer SDMX API to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for OECD Data Explorer SDMX API data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses OECD Data Explorer SDMX API as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for OECD Data Explorer SDMX API.

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect OECD Data Explorer SDMX API to Cursor?

  1. Install the Firecrawl MCP server

    Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

    Cursor's Install MCP server dialog with the Firecrawl hosted server URL
  2. Connect your Firecrawl account

    Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

    Cursor's MCP list showing Firecrawl connected with its tools enabled
  3. Ask Cursor's agent for the data

    In the agent chat, ask in plain language and mention OECD Data Explorer SDMX API or Firecrawl Alexandria. The agent finds the OECD Data Explorer SDMX API capability that fits and runs it. For example:

    Use Firecrawl to run OECD Data Explorer SDMX API's Codelist get capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.

What can Cursor do with OECD Data Explorer SDMX API?

OECD Data Explorer SDMX 2.1 REST API (sdmx.oecd.org/public/rest): any public OECD dataflow by country and period, including G20 international merchandise trade and balance-of-payments services trade (quarterly), Revenue Statistics (tax revenue by type, % of GDP), Social Expenditure (SOCX) and quarterly/annual sector accounts, plus financial market indicators. Dataflow catalogue, structures (dimensions and codes with data), codelists and observations as records. Select observations with `filters` (dimension id to code(s), e.g. REF_AREA USA) and start_period/end_period; the program places the codes in key order. Anonymous, no key.

Cursor can run any of OECD Data Explorer SDMX API's 6 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Codelist get: Codes and labels of one SDMX codelist from GET codelist/{agency}/{id}/{version}: code, English name and parent code. Codelist references come from `structure_get` (dimensions[].codelist, attributes[].codelist). Paginated client-side. Costs 5 Firecrawl credits per call.
  • Dataflows list: Find OECD dataflows by keyword: id, agency, version, name and the `dataflow_ref` every other function takes, from GET dataflow/{agency}/all/latest?detail=allstubs (about 1,500 public dataflows with `agency` = all). `q` filters by a case-insensitive substring of the name or id (e.g. `revenue statistics`, `social expenditure`, `sector accounts`, `merchandise trade`). Common dataflows: G20/OECD merchandise trade OECD.SDD.TPS:DSD_IMTS@DF_IMTS (REF_AREA incl. G20, G7, OECD; TRADE_FLOW X exports, M imports, TB balance; FREQ Q/M/A; UNIT_MEASURE USD_EXC); quarterly trade in services and goods from balance of payments OECD.SDD.TPS:DSD_BOP@DF_BOP (MEASURE S services, G goods; ACCOUNTING_ENTRY C credit (exports), D debit (imports), B balance; FREQ Q); annual services by partner and category OECD.SDD.TPS:DSD_BOP@DF_TIS; Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD (STANDARD_REVENUE _T total tax, T_1000 income, T_1100 personal income, T_1200 corporate, T_2000 social security, T_4000 property, T_5000 goods and services; UNIT_MEASURE PT_B1GQ % of GDP; SECTOR S13 general government); Social expenditure (SOCX) OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG (EXPEND_SOURCE ES10 public, ES20 mandatory private; PROGRAMME_TYPE _T total, TP11 old age...; UNIT_MEASURE PT_B1GQ % of GDP); quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA (SECTOR S1 total economy, S11 non-financial corporations, S13 government, S14 households, S1M households and NPISH; TRANSACTION B6G disposable income, B8G saving, B9 net lending...); annual sector accounts OECD.SDD.NAD:DSD_NASEC10@DF_TABLE14. Countries are ISO3 codes in REF_AREA; periods are 2024, 2024-Q3, 2024-07. Costs 5 Firecrawl credits per call.
  • Records get: One observation by its source identity: dataflow, full series key (no wildcards, no `+`) and TIME_PERIOD, from GET data/{flow}/{series key}?startPeriod=P&endPeriod=P as SDMX-CSV. not_found when OECD has no observation for that series and period. Costs 5 Firecrawl credits per call.
  • Records list: Observations of one dataflow selected by country, other dimension codes and period, as records. Give `filters` (dimension id to code(s); REF_AREA is the country) or a raw `key`, plus optional start_period/end_period. Unknown dimensions or codes without data fail with invalid_input listing the valid ones; a combination with no data is not_found. Selections above 50,000 observations are rejected: add filters or a period range. One data download per page (OECD allows about 60 per hour); rows are sorted canonically and the cursor pins the dataflow version and segment hash, so a publication change fails with upstream_error `publication_changed` instead of mixing data. Each record carries every dimension and attribute code, obs_value, time_period, series_key, source_record_id and source_url; Revenue Statistics and financial market rows also get a typed `mapped` view. Common dataflows: merchandise trade incl. G20 aggregate OECD.SDD.TPS:DSD_IMTS@DF_IMTS, quarterly services/goods trade (balance of payments) OECD.SDD.TPS:DSD_BOP@DF_BOP, Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD, SOCX OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG, quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA; structure_get and dataflows_list list their key codes. Costs 5 Firecrawl credits per call.
  • Source status: Cheap check of one selection (`filters` or `key`) of a dataflow from GET availableconstraint/{flow}/{key}?mode=exact (cached 2 h upstream): resolved dataflow version, obs_count, time range and the codes present per dimension, plus the segment's data file URL. With `include_hash` the SDMX-CSV segment is downloaded once and hashed canonically (the same hash records_list pins in its cursor). Useful to see which codes and periods exist for a country before collecting. Costs 5 Firecrawl credits per call.
  • Structure get: Describe one dataflow: dimension ids in key order, the codelist of each, the codes that actually carry data per dimension, attributes, total obs_count and time range (stub, data structure definition and whole-flow availability). Use it to choose `filters` for records_list; code labels come from codelist_get. Common dataflows: G20/OECD merchandise trade OECD.SDD.TPS:DSD_IMTS@DF_IMTS (REF_AREA incl. G20, G7, OECD; TRADE_FLOW X exports, M imports, TB balance; FREQ Q/M/A; UNIT_MEASURE USD_EXC); quarterly trade in services and goods from balance of payments OECD.SDD.TPS:DSD_BOP@DF_BOP (MEASURE S services, G goods; ACCOUNTING_ENTRY C credit (exports), D debit (imports), B balance; FREQ Q); annual services by partner and category OECD.SDD.TPS:DSD_BOP@DF_TIS; Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD (STANDARD_REVENUE _T total tax, T_1000 income, T_1100 personal income, T_1200 corporate, T_2000 social security, T_4000 property, T_5000 goods and services; UNIT_MEASURE PT_B1GQ % of GDP; SECTOR S13 general government); Social expenditure (SOCX) OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG (EXPEND_SOURCE ES10 public, ES20 mandatory private; PROGRAMME_TYPE _T total, TP11 old age...; UNIT_MEASURE PT_B1GQ % of GDP); quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA (SECTOR S1 total economy, S11 non-financial corporations, S13 government, S14 households, S1M households and NPISH; TRANSACTION B6G disposable income, B8G saving, B9 net lending...); annual sector accounts OECD.SDD.NAD:DSD_NASEC10@DF_TABLE14. Countries are ISO3 codes in REF_AREA; periods are 2024, 2024-Q3, 2024-07. Costs 5 Firecrawl credits per call.

What should I ask Cursor?

Name OECD Data Explorer SDMX API or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.

Troubleshooting

Why can't Cursor find OECD Data Explorer SDMX API?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

Use OECD Data Explorer SDMX API in other AI apps

The same Firecrawl account reaches OECD Data Explorer SDMX API from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Cursor

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, OECD Data Explorer SDMX API among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a OECD Data Explorer SDMX API MCP server for Cursor?

Cursor reaches OECD Data Explorer SDMX API through Firecrawl's hosted MCP server, which serves OECD Data Explorer SDMX API and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for OECD Data Explorer SDMX API.

What does connecting OECD Data Explorer SDMX API to Cursor unlock?

Cursor can run all 6 of OECD Data Explorer SDMX API's capabilities, including Codelist get, Dataflows list and Records get, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Cursor can combine OECD Data Explorer SDMX API with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own OECD Data Explorer SDMX API account or API key to use it in Cursor?

No. Cursor calls OECD Data Explorer SDMX API through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate OECD Data Explorer SDMX API account or API key.

How much does it cost to use OECD Data Explorer SDMX API in Cursor?

Each OECD Data Explorer SDMX API call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

Can Cursor use other providers besides OECD Data Explorer SDMX API?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use OECD Data Explorer SDMX API in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same OECD Data Explorer SDMX API capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options