Spiral gives your agent every tool with one account. Browse the tools →

ChatGPT · Finance

How to Use OECD code labels in ChatGPT

Returns OECD classification codes and their readable labels, such as institutional sectors. Use it to explain coded values in tables and reports.

Prompts to try with OECD code labels in ChatGPT

Copy an example into ChatGPT, or ask in your own words.

Use OECD code labels to explain the institutional-sector categories for the total economy, financial corporations, and the central bank.

OECD code labelsChatGPT
Try asking
  • Use OECD code labels to look this up and give me the result as a table.

  • Pull the latest numbers from OECD code labels and tell me what changed since last week.

  • Check OECD code labels and summarize what you find in three bullet points.

  • Pull the newest data from OECD code labels and give me the result as a table.

How to set up OECD code labels in ChatGPT

Pick the way that suits you. Each takes about two minutes.

Use the ChatGPT connector

  1. Add a custom MCP server

    In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

    https://api.spiral.ai/mcp
  2. Click Connect

    ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

  3. Sign in to Spiral and approve

    Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

Use the Spiral skill

  1. Send ChatGPT this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run OECD code labels

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "sdmx-oecd-org/datasets/codelist_get",
        "input": {
          "id": "<id>",
          "agency": "<agency>"
        }
      }'

Then paste one of the prompts above: ChatGPT finds OECD code labels on Spiral, shows the price and runs it.

OECD code labels providers and prices

Spiral runs OECD code labels through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
OECD Data Explorer SDMX API · Codelist get
sdmx-oecd-org/datasets/codelist_get

Settings you can ask for

Ask ChatGPT for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size1 to 1000500

page_size

Every API field of OECD Data Explorer SDMX API · Codelist get is on its tool page: open its card above.

What can you do with OECD code labels in ChatGPT?

Prepare an OECD country comparison that explains what the selected statistics measure. A chat app can find relevant datasets, explain their classifications, and use available observations to answer a focused economic or policy question.

Compare tax revenue across countries

Prepare a Canada, France, and Germany comparison: find the relevant dataset, inspect its dimensions, decode classifications, and retrieve matching observations. Check update status before refreshing the comparison and recheck individual figures selected for the report.

Maintain a trade briefing

Build a recurring United States and Japan trade briefing. Locate the dataset, check its definitions and classifications, retrieve comparable periods, inspect update status on later runs, and verify the observations quoted in the briefing.

Review social expenditure trends

Prepare a Sweden and Canada social expenditure comparison. Find the dataset, inspect available measures, explain classification labels, retrieve matching observations, check for updates, and recheck the figures used in the final table.

Refresh the evidence behind a policy report

Revisit OECD evidence used in a report on Australia and New Zealand. Confirm the dataset reference and structure, resolve classification labels, check update status, refresh the selected observations, and verify each headline figure individually.

Create a readable statistical dictionary

Document the dimensions and classification labels behind an OECD analysis so readers can understand the country, sector, and measure codes used in its tables.

Questions about OECD code labels in ChatGPT

Can ChatGPT use OECD code labels?

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run OECD code labels like any built-in tool.

How much does OECD code labels cost in ChatGPT?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.

Do I need an Alexandria account to use OECD code labels in ChatGPT?

No. Spiral runs OECD code labels on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up OECD code labels in ChatGPT?

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

Does ChatGPT wait while OECD code labels runs?

OECD code labels runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.

Does OECD data cover every country?

Coverage includes OECD countries and selected economies outside the OECD. Availability also depends on the dataset and the particular country, measure, and period combination.

How often does OECD data change?

Many datasets update annually, some monthly, and a few short-term economic datasets daily. OECD does not apply one update schedule to all its statistics.

Why can an OECD country or measure have no results?

OECD may have no observations for the selected combination of country, measure, and period. A country appearing elsewhere in the source does not establish coverage for that combination.

What download limit does OECD impose?

OECD currently permits 60 data downloads per hour and temporarily blocks requests above that limit. The restriction also covers CSV downloads from its browser interface.

Can an OECD dataset change its structure?

Yes. New dataflow versions can add, remove, or rename dimensions, so an older selection can require changes before it works with the new structure.

Get started

Start using OECD code labels in ChatGPT

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into ChatGPT:

Set up ChatGPT

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options