[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [OECD statistical observations](https://spiral.ai/integrations/n8n/oecd-statistical-observations)

# How to Use OECD statistical observations in n8n

Returns OECD observations for a selected dataset, countries, and periods. Use it to build time series or compare measures such as tax revenue and social spending across economies.

|  |  |
| --- | --- |
| Model | OECD statistical observations |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with OECD statistical observations in n8n

- Each quarter, use OECD statistical observations to refresh the United States and Japan trade comparison for the latest periods available to both countries.
- Every Monday at 9am: use OECD statistical observations to look this up and give me the result as a table.
- Pull the latest numbers from OECD statistical observations and tell me what changed since last week.
- Check OECD statistical observations and summarize what you find in three bullet points.
- Pull the newest data from OECD statistical observations and give me the result as a table.

## How to set up OECD statistical observations in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run OECD statistical observations in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds OECD statistical observations, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run OECD statistical observations**: One request; the result comes back by polling or a webhook.

```bash
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/records_list",
    "input": {
      "dataflow": "<dataflow>"
    }
  }'
```

Then paste one of the prompts above: n8n finds OECD statistical observations on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## OECD statistical observations tools and prices

- [OECD Data Explorer SDMX API · Records list](https://spiral.ai/tools/alexandria/sdmx-oecd-org/datasets/records_list) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | `next_cursor` from the previous page; pins the dataflow version and segment hash. |
| filters |  | — | Codes per dimension id, e.g. {"REF_AREA": "USA", "FREQ": "Q", "TRADE_FLOW": ["X", "M"]}. Countries go in REF_AREA as ISO3 codes; dimensions left out are wildcards. structure_get lists the dimension ids and the codes with data. Use instead of `key`. |
| page_size | 1 to 5000 | 1000 | page_size |

## What can you do with OECD statistical observations in n8n?

Keep an OECD briefing current by checking for changed datasets before retrieving observations again. A scheduled agent can review dataset references, definitions, classifications, and selected figures as part of each refresh.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## OECD statistical observations in other agents

- [Amp](https://spiral.ai/integrations/amp/oecd-statistical-observations)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/oecd-statistical-observations)
- [Claude](https://spiral.ai/integrations/claude-desktop/oecd-statistical-observations)
- [Claude Code](https://spiral.ai/integrations/claude-code/oecd-statistical-observations)
- [Cline](https://spiral.ai/integrations/cline/oecd-statistical-observations)
- [Codex](https://spiral.ai/integrations/codex/oecd-statistical-observations)
- [Cursor](https://spiral.ai/integrations/cursor/oecd-statistical-observations)
- [Devin](https://spiral.ai/integrations/devin/oecd-statistical-observations)
- [dots](https://spiral.ai/integrations/dots/oecd-statistical-observations)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/oecd-statistical-observations)
- [Gemini](https://spiral.ai/integrations/gemini/oecd-statistical-observations)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/oecd-statistical-observations)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/oecd-statistical-observations)
- [goose](https://spiral.ai/integrations/goose/oecd-statistical-observations)
- [Grok](https://spiral.ai/integrations/grok/oecd-statistical-observations)
- [Grok Build](https://spiral.ai/integrations/grok-build/oecd-statistical-observations)
- [Hermes](https://spiral.ai/integrations/hermes/oecd-statistical-observations)
- [Instinct](https://spiral.ai/integrations/instinct/oecd-statistical-observations)
- [Manus](https://spiral.ai/integrations/manus/oecd-statistical-observations)
- [Muse](https://spiral.ai/integrations/muse/oecd-statistical-observations)
- [Muse Code](https://spiral.ai/integrations/muse-code/oecd-statistical-observations)
- [Notion](https://spiral.ai/integrations/notion/oecd-statistical-observations)
- [OpenClaw](https://spiral.ai/integrations/openclaw/oecd-statistical-observations)
- [opencode](https://spiral.ai/integrations/opencode/oecd-statistical-observations)
- [Perplexity](https://spiral.ai/integrations/perplexity/oecd-statistical-observations)
- [Raycast](https://spiral.ai/integrations/raycast/oecd-statistical-observations)
- [VS Code](https://spiral.ai/integrations/vscode/oecd-statistical-observations)
- [Windsurf](https://spiral.ai/integrations/windsurf/oecd-statistical-observations)
- [Zapier](https://spiral.ai/integrations/zapier/oecd-statistical-observations)

## More n8n guides

- [OECD observation lookup](https://spiral.ai/integrations/n8n/oecd-observation-lookup)
- [Polymarket event details by ID](https://spiral.ai/integrations/n8n/polymarket-event-details-by-id)
- [OECD dataset update status](https://spiral.ai/integrations/n8n/oecd-dataset-update-status)
- [Polymarket event details by slug](https://spiral.ai/integrations/n8n/polymarket-event-details-by-slug)
- [OECD dataset structure](https://spiral.ai/integrations/n8n/oecd-dataset-structure)
- [Polymarket event listings](https://spiral.ai/integrations/n8n/polymarket-event-listings)

## Questions about OECD statistical observations in n8n

**Can n8n use OECD statistical observations?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run OECD statistical observations like any built-in tool.

**How much does OECD statistical observations cost in n8n?**

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

**Do I need an Alexandria account to use OECD statistical observations in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs OECD statistical observations on its own Alexandria account.

**How long does it take to set up OECD statistical observations in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while OECD statistical observations runs?**

OECD statistical observations runs in the background. n8n 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.

