[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [World Bank country directory](https://spiral.ai/integrations/zapier/world-bank-country-directory)

# How to Use World Bank country directory in Zapier

Returns country codes and available region, income, lending, capital, and coordinate details across economies. Use it to build a country selector or define a comparison set.

|  |  |
| --- | --- |
| Model | World Bank country directory |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with World Bank country directory in Zapier

- Every month, use World Bank country directory to retrieve Latin American and Caribbean economies and report changes in the returned country list or income classifications since the previous check.
- Every Monday at 9am: use World Bank country directory to look this up and give me the result as a table.
- Pull the latest numbers from World Bank country directory and tell me what changed since last week.
- Check World Bank country directory and summarize what you find in three bullet points.
- Pull the newest data from World Bank country directory and give me the result as a table.

## How to set up World Bank country directory in Zapier

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

### Use the Spiral skill

1. **Send Zapier 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. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

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

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

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

4. **Run World Bank country directory 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 country directory, 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 country directory**: 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/countries",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: Zapier finds World Bank country directory on Spiral, shows the price and runs it.

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

## World Bank country directory tools and prices

- [World Bank Data · Countries](https://spiral.ai/tools/alexandria/data-worldbank-org/indicators/countries) (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. |
| region |  | — | Region code, e.g. SSF, LCN, EAS. Pattern: ^[A-Za-z0-9]{2,3}$. |
| per_page | 1 to 1000 | 300 | Rows per page (upstream `per_page`). |
| income_level |  | — | Income level id: LIC, LMC, UMC, HIC, ... Pattern: ^[A-Za-z]{2,3}$. |
| lending_type |  | — | Lending type id: IBD, IDB, IDX, LNX. Pattern: ^[A-Za-z]{2,3}$. |
| include_aggregates |  | — | include_aggregates |

## What can you do with World Bank country directory in Zapier?

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.

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

### Populate a statistical research browser

Build country and topic navigation from World Bank records, add searchable indicator descriptions, and expose database dimensions with their available selections.

## Overview

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

## World Bank country directory in other agents

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

## More Zapier guides

- [USITC HTS tariff line](https://spiral.ai/integrations/zapier/usitc-hts-tariff-line)
- [World Bank country profile](https://spiral.ai/integrations/zapier/world-bank-country-profile)
- [USITC HTS revision status](https://spiral.ai/integrations/zapier/usitc-hts-revision-status)
- [World Bank database dimensions](https://spiral.ai/integrations/zapier/world-bank-database-dimensions)
- [USITC HTS product search](https://spiral.ai/integrations/zapier/usitc-hts-product-search)
- [World Bank database observations](https://spiral.ai/integrations/zapier/world-bank-database-observations)

## Questions about World Bank country directory in Zapier

**Can Zapier use World Bank country directory?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run World Bank country directory like any built-in tool.

**How much does World Bank country directory cost in Zapier?**

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

**Do I need an Alexandria account to use World Bank country directory in Zapier?**

No. Spiral runs World Bank country directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up World Bank country directory in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while World Bank country directory runs?**

World Bank country directory runs in the background. Zapier 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.

