[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [IBGE statistical table search](https://spiral.ai/integrations/n8n/ibge-statistical-table-search)

# How to Use IBGE statistical table search in n8n

Finds IBGE statistical tables organized by survey. Use it to locate the right table for a research question before inspecting its metadata or fetching observations.

|  |  |
| --- | --- |
| Model | IBGE statistical table search |
| 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 statistical table search in n8n

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

## How to set up IBGE statistical table search 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 statistical table search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds IBGE statistical table search, 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 statistical table search**: 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/agregados",
    "input": {
      "limit": 50
    }
  }'
```

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

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

## IBGE statistical table search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 500 | 50 | Rows per page (default 50). |
| nivel |  | — | Territorial level the table must offer: N1 Brazil, N2 macro-region, N3 UF, N6 municipality... Pattern: ^N[0-9]{1,3}$. |
| query |  | — | Substring matched (case- and accent-insensitive) against the table name or the survey name, e.g. `ipca`, `populacao residente estimada`. |
| offset | 0 to … | — | next_offset from the previous page. |
| assunto | 1 to … | — | Subject id (e.g. 148). See the agregados docs for the list. |
| periodo |  | — | Period the table must cover (e.g. 2024 or 202401). Pattern: ^[0-9]{4,6}$. |

## What can you do with IBGE statistical table search in n8n?

Maintain a Brazil reference briefing that flags new statistical periods and changes to publication schedules. A scheduled agent can also check geographic and classification references while keeping historical name results tied to their census reference.

### Regional economic atlas

Find regional economic tables, inspect their coverage, and map published observations. Add CNAE definitions beside sector comparisons and publication dates beside the indicators.

### Sector research briefing

Prepare a briefing on Brazilian manufacturing or services using suitable statistical tables, their definitions, and CNAE labels. Identify the places being compared, map their boundaries, and show upcoming publications.

### Public statistics reference portal

Build a portal with separate sections for economic indicators, industry definitions, geographic references, publication schedules, and historical name statistics. Let readers inspect the table definitions behind each statistical comparison.

### Newsroom data research desk

Support economic reporting with table discovery, definitions, observations, sector labels, geographic references, and release dates. Use historical name frequencies and rankings for separate census features.

## Overview

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

## IBGE statistical table search in other agents

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

## More n8n guides

- [IBGE statistical table metadata](https://spiral.ai/integrations/n8n/ibge-statistical-table-metadata)
- [IMF World Economic Outlook forecasts](https://spiral.ai/integrations/n8n/imf-world-economic-outlook-forecasts)
- [IBGE statistical table data](https://spiral.ai/integrations/n8n/ibge-statistical-table-data)
- [IMF dataset search](https://spiral.ai/integrations/n8n/imf-dataset-search)
- [IBGE release calendar](https://spiral.ai/integrations/n8n/ibge-release-calendar)
- [IMF dataset structure](https://spiral.ai/integrations/n8n/imf-dataset-structure)

## Questions about IBGE statistical table search in n8n

**Can n8n use IBGE statistical table search?**

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

**How much does IBGE statistical table search 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 statistical table search in n8n?**

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

**How long does it take to set up IBGE statistical table search in n8n?**

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

**Does n8n wait while IBGE statistical table search runs?**

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

**Does every IBGE statistic cover every municipality?**

No. Each statistical table supports its own geographic levels, so a table available nationally or by state may not offer municipal results. Its metadata defines that boundary.

**How often does IBGE publish new data?**

IBGE sets publication intervals separately for each statistical operation, including monthly, quarterly, and annual schedules. There is no single update schedule for all IBGE data.

**How far back can an IBGE statistical series go?**

History depends on the selected table. Table metadata specifies the valid period range, so two tables about the same subject can offer different starting dates.

**Are IBGE publication dates fixed?**

Dates can change. IBGE's 2025 work plan explicitly describes publication dates being changed up to 30 days before the release.

**What limits a large IBGE statistical query?**

The ibger documentation reports a documented ceiling of 100,000 values per request and observed failures above about 50,000. Split broad statistical requests into smaller periods or geographic selections.

