[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [World Bank indicator observations](https://spiral.ai/integrations/n8n/world-bank-indicator-observations)

# How to Use World Bank indicator observations in n8n

Returns indicator values for countries or aggregate areas across reporting periods. Use it for statistical tables and comparisons once you have chosen the measures and economies.

|  |  |
| --- | --- |
| Model | World Bank indicator 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 World Bank indicator observations in n8n

- Every month, use World Bank indicator observations to check India's available total population observations and report any new reporting years or revised values.
- Every Monday at 9am: use World Bank indicator observations to look this up and give me the result as a table.
- Pull the latest numbers from World Bank indicator observations and tell me what changed since last week.
- Check World Bank indicator observations and summarize what you find in three bullet points.
- Pull the newest data from World Bank indicator observations and give me the result as a table.

## How to set up World Bank indicator 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 World Bank indicator observations in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds World Bank indicator 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 World Bank indicator 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": "data-worldbank-org/indicators/data",
    "input": {
      "indicator_ids": [
        "<indicator_ids>"
      ]
    }
  }'
```

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

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

## World Bank indicator observations tools and prices

- [World Bank Data · Data](https://spiral.ai/tools/alexandria/data-worldbank-org/indicators/data) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mrv | 1 to 10000 | — | Most recent N periods with a value per series. Exclusive with `date`. |
| page | 1 to 10000 | 1 | 1-based page number; pass `next_page` from the previous output to continue. |
| gapfill |  | — | With `mrv`: carry the latest earlier value into periods with no value. |
| footnote |  | — | Ask upstream for per-observation footnotes. |
| per_page | 1 to 1000 | 50 | Rows per page (upstream `per_page`). |
| source_id |  | — | World Bank database (source) id as a string, exactly as the API returns it: 2 = World Development Indicators, 6 = International Debt Statistics, 15 = Global Economic Monitor, 40 = Population estimates and projections. Pattern: ^[0-9]{1,5}$. |

## What can you do with World Bank indicator observations in n8n?

Keep a World Bank country research brief current as returned classifications, indicator records, and observations change. A scheduled agent can compare each retrieval with its previous results and report changes to the statistical records or their documentation.

### Build a country market brief

Define a comparison set for Brazil, Mexico, and Chile, verify their classifications, select economic measures, and assemble a table with the selected indicators' definitions.

### Check statistics for a published article

Verify Brazil's identity and a population measure's definition, inspect methodological notes, and compare indicator observations with observations labeled by database dimensions.

### Compare an economy with a regional benchmark

Check Brazil's regional classification, identify the corresponding aggregate, and compare country and regional observations with their dimension labels.

### Validate a population data import

Check India's country record and population definition, inspect source notes, and reconcile indicator observations with database observations after resolving their dimension labels.

## Overview

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

## World Bank indicator observations in other agents

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

## More n8n guides

- [World Bank indicator definition](https://spiral.ai/integrations/n8n/world-bank-indicator-definition)
- [World Bank statistical metadata](https://spiral.ai/integrations/n8n/world-bank-statistical-metadata)
- [World Bank indicator catalog](https://spiral.ai/integrations/n8n/world-bank-indicator-catalog)
- [World Bank topics and classifications](https://spiral.ai/integrations/n8n/world-bank-topics-and-classifications)
- [World Bank dimension values](https://spiral.ai/integrations/n8n/world-bank-dimension-values)
- [Xe currency conversion](https://spiral.ai/integrations/n8n/xe-currency-conversion)

## Questions about World Bank indicator observations in n8n

**Can n8n use World Bank indicator observations?**

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

**How much does World Bank indicator 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 World Bank indicator observations in n8n?**

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

**How long does it take to set up World Bank indicator observations in n8n?**

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

**Does n8n wait while World Bank indicator observations runs?**

World Bank indicator observations runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**How broad is World Bank development data coverage?**

The World Bank's December 2024 selection guide describes World Development Indicators as covering over 1,400 indicators and 217 economies, with history reaching 1960. Those figures describe WDI, rather than every database available through the World Bank.

**Does every country have a value for every year?**

No. Some World Bank indicators come from sporadic surveys and are available only every few years, so country and year coverage varies by measure.

**Can I get regional statistics as well as country statistics?**

Yes. World Bank aggregate observations cover regions, income levels, and lending groups. Their codes can be used in the country position of a data request.

**Does a single response contain all matching results?**

Not necessarily. The upstream World Bank API defaults to 50 results per page, so larger selections require additional pages.

**Where can I check what a statistic actually measures?**

World Bank statistical metadata can include a long definition, sources, periodicity, and methodology. Indicator records also identify the source organization and source database.

