[Integrations](https://spiral.ai/integrations) › [Instinct](https://spiral.ai/integrations/instinct) › [World Bank database observations](https://spiral.ai/integrations/instinct/world-bank-database-observations)

# How to Use World Bank database observations in Instinct

Returns numerical observations with the database dimensions that identify each value. Use it when you need explicit country, series, and time labels in the source's multidimensional response.

|  |  |
| --- | --- |
| Model | World Bank database 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 database observations in Instinct

- Every Monday at 9am: use World Bank database observations to look this up and give me the result as a table.
- Pull the latest numbers from World Bank database observations and tell me what changed since last week.
- Check World Bank database observations and summarize what you find in three bullet points.
- Pull the newest data from World Bank database observations and give me the result as a table.
- Check World Bank database observations every morning and tell me only when something changed.

## How to set up World Bank database observations in Instinct

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

### Use the Spiral skill

1. **Send Instinct 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 an API key**: In the console, open API keys and create a key for Instinct. Copy it.

2. **Send Instinct this message**: Instinct reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Instinct the key**: When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

### 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 database 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/source_data",
    "input": {
      "source_id": "<source_id>",
      "series_ids": [
        "<series_ids>"
      ]
    }
  }'
```

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

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

## World Bank database observations tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10000 | 1 | 1-based page number; pass `next_page` from the previous output to continue. |
| per_page | 1 to 1000 | 50 | Rows per page (upstream `per_page`). |
| time_ids |  | — | Time dimension ids (YR2022) or `all`. |
| country_codes |  | — | ISO3 or aggregate codes, or `all`. |
| counterpart_area |  | — | Counterpart-Area dimension value for IDS (source 6): WLD for all creditors, or a creditor code from `concept_values` (concept counterpart-area). Pattern: ^[A-Za-z0-9]{2,3}$. |

## What can you do with World Bank database observations in Instinct?

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.

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

### Prepare an education comparison

Choose economies and education measures, inspect their definitions and methodology, then discover the database dimensions and values needed to retrieve labeled observations.

### 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 Instinct guides](https://spiral.ai/integrations/instinct)

## World Bank database observations in other agents

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

## More Instinct guides

- [World Bank database dimensions](https://spiral.ai/integrations/instinct/world-bank-database-dimensions)
- [World Bank database sources](https://spiral.ai/integrations/instinct/world-bank-database-sources)
- [World Bank country profile](https://spiral.ai/integrations/instinct/world-bank-country-profile)
- [World Bank dimension values](https://spiral.ai/integrations/instinct/world-bank-dimension-values)
- [World Bank country directory](https://spiral.ai/integrations/instinct/world-bank-country-directory)
- [World Bank indicator catalog](https://spiral.ai/integrations/instinct/world-bank-indicator-catalog)

## Questions about World Bank database observations in Instinct

**Can Instinct use World Bank database observations?**

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

**How much does World Bank database observations cost in Instinct?**

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

**Do I need an Alexandria account to use World Bank database observations in Instinct?**

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

**How long does it take to set up World Bank database observations in Instinct?**

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

**Does Instinct wait while World Bank database observations runs?**

World Bank database observations runs in the background. Instinct 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.

