[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [IBGE country statistics](https://spiral.ai/integrations/n8n/ibge-country-statistics)

# How to Use IBGE country statistics in n8n

Fetch country profiles and international indicator series published by IBGE. Use it to compare national statistics or add country context to a report, rather than search for news coverage.

|  |  |
| --- | --- |
| Model | IBGE country statistics |
| 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 IBGE country statistics in n8n

- Each month, use IBGE country statistics to retrieve total GDP series, select Brazil and Argentina, and report changes since the previous check.
- Each month, use IBGE country statistics to retrieve country profiles, select Brazil, Chile, and Uruguay, and report any changed profile facts.
- Every Monday at 9am: use IBGE country statistics to look this up and give me the result as a table.
- Pull the latest numbers from IBGE country statistics and tell me what changed since last week.
- Check IBGE country statistics and summarize what you find in three bullet points.

## How to set up IBGE country statistics 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 IBGE country statistics in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds IBGE country statistics, 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 IBGE country statistics**: 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": "servicodados-ibge-gov-br/official-statistics/paises",
    "input": {
      "paises": [
        "<paises>"
      ]
    }
  }'
```

Then paste one of the prompts above: n8n finds IBGE country statistics on Spiral, shows the price and runs it.

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

## IBGE country statistics tools and prices

- [IBGE service data API · Paises](https://spiral.ai/tools/alexandria/servicodados-ibge-gov-br/official-statistics/paises) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lang | EN, ES | — | EN or ES for translated names; default PT. |
| periodo |  | — | Restrict the series to one period (year). Pattern: ^[0-9]{4}$. |
| indicadores |  | — | Indicator ids (77819.. 77862; 77823 = GDP per capita). When given, `indicadores` in the output carries the series. |

## What can you do with IBGE country statistics in n8n?

Keep a Brazil research digest current as IBGE publishes reporting or international figures change. A scheduled agent can check the returned material and summarize additions or changed country values.

### Brazil market brief

Combine IBGE reporting on Brazil’s economy with country GDP and population context for a market research brief.

### Population research

Find IBGE reporting about population and use country indicators to put Brazil’s results in an international comparison.

### Economics teaching material

Build a lesson around an IBGE statistical release, then compare country GDP figures in a separate exercise.

### Evidence for a policy memo

Gather IBGE reporting on a policy topic and add international indicators that give the Brazilian findings context.

### Country comparison table

Compare countries using the same indicator and period, with country profiles beside the results.

## Overview

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

## IBGE country statistics in other agents

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

## More n8n guides

- [IBGE CNAE industry classification](https://spiral.ai/integrations/n8n/ibge-cnae-industry-classification)
- [IBGE geographic boundaries](https://spiral.ai/integrations/n8n/ibge-geographic-boundaries)
- [Hyperliquid vault details](https://spiral.ai/integrations/n8n/hyperliquid-vault-details)
- [IBGE locality details](https://spiral.ai/integrations/n8n/ibge-locality-details)
- [Hyperliquid recent trades](https://spiral.ai/integrations/n8n/hyperliquid-recent-trades)
- [IBGE locality search](https://spiral.ai/integrations/n8n/ibge-locality-search)

## Questions about IBGE country statistics in n8n

**Can n8n use IBGE country statistics?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run IBGE country statistics like any built-in tool.

**How much does IBGE country statistics 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 IBGE country statistics in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs IBGE country statistics on its own Alexandria account.

**How long does it take to set up IBGE country statistics in n8n?**

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

**Does n8n wait while IBGE country statistics runs?**

IBGE country statistics runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does IBGE cover countries beyond Brazil?**

Yes. IBGE describes its Países coverage as 193 states recognized by the United Nations; its news service covers IBGE surveys, studies, and products.

**Does IBGE produce every statistic it publishes?**

Its country statistics include information from international organizations such as the United Nations and World Bank. That differs from IBGE news about the institute’s own surveys, studies, and products.

**How are IBGE’s international figures updated?**

IBGE describes automatic imports when country data changes at the original source. This describes the update mechanism, not a guaranteed daily or hourly refresh schedule.

**Which subjects does IBGE’s international data cover?**

Países uses six themes: economy, social indicators, environment, population, networks, and health. Country profiles also include territory, currency, and language.

**Does IBGE offer historical comparisons?**

Países supports historical indicator series and country rankings. Use those series for comparisons over time, and IBGE news for reporting about published results.

