[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [B3 industry classification](https://spiral.ai/integrations/n8n/b3-industry-classification)

# How to Use B3 industry classification in n8n

Returns B3's sector taxonomy. Use it to interpret company classification labels and organize comparisons using the exchange's categories.

|  |  |
| --- | --- |
| Model | B3 industry classification |
| 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 B3 industry classification in n8n

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

## How to set up B3 industry classification 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 B3 industry classification in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds B3 industry classification, 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 B3 industry classification**: 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": "b3-com-br/companies/industry_classification",
    "input": {
      "language": "pt-br"
    }
  }'
```

Then paste one of the prompts above: n8n finds B3 industry classification on Spiral, shows the price and runs it.

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

## B3 industry classification tools and prices

- [B3 listed companies and indices · Industry classification](https://spiral.ai/tools/alexandria/b3-com-br/companies/industry_classification) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| language | pt-br, en-us | pt-br | language |

## What can you do with B3 industry classification in n8n?

Keep a personal B3 watchlist review current through scheduled comparisons. Check retrieved company, event, sector, quote, or index records against earlier observations and report the changes.

### Prepare an issuer research brief

Identify Petrobras, review its company profile, sector, disclosures, corporate events, cash distributions, delayed quote, and index inclusion in one personal research brief.

### Inspect benchmark concentration

Review IBOV holdings and weights, identify the issuers, group them using B3 sectors, and add delayed quotes and other index associations for context.

### Compare sector peers

Use B3 classifications to organize a peer comparison, then compare issuer profiles, financial summaries, payouts, disclosures, corporate events, and delayed quotes.

### Research index composition changes

Compare saved IBOV holdings with the latest composition, identify affected issuers and sectors, and review their index inclusion, disclosures, and corporate actions.

### Maintain a personal market review

Review a watchlist against its benchmark, combining company identities, sectors, disclosures, corporate events, payouts, index inclusion, holdings, and delayed quotes.

### Study a dividend benchmark

Inspect IDIV holdings and sector composition, then research constituent companies through payout histories, disclosures, corporate events, delayed quotes, and index inclusion.

## Overview

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

## B3 industry classification in other agents

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

## More n8n guides

- [B3 index holdings](https://spiral.ai/integrations/n8n/b3-index-holdings)
- [B3 stock quote](https://spiral.ai/integrations/n8n/b3-stock-quote)
- [B3 corporate actions](https://spiral.ai/integrations/n8n/b3-corporate-actions)
- [BEA county data publication status](https://spiral.ai/integrations/n8n/bea-county-data-publication-status)
- [B3 company search](https://spiral.ai/integrations/n8n/b3-company-search)
- [BEA county economic data lookup](https://spiral.ai/integrations/n8n/bea-county-economic-data-lookup)

## Questions about B3 industry classification in n8n

**Can n8n use B3 industry classification?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run B3 industry classification like any built-in tool.

**How much does B3 industry classification 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 B3 industry classification in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs B3 industry classification on its own Alexandria account.

**How long does it take to set up B3 industry classification in n8n?**

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

**Does n8n wait while B3 industry classification runs?**

B3 industry classification runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**What does this B3 data cover?**

It covers B3 listed-company records and related disclosures, corporate actions, cash distributions, indices, and delayed quotes. Company registry coverage is tied to B3 listings.

**Is this public company information?**

Yes. The connector reads public B3 data, including issuer disclosures; Empresas.Net is provided jointly by CVM and B3 for publicly held companies and institutions responsible for BDR programs.

**Are B3's labels translated into English?**

The connector preserves Portuguese labels as B3 publishes them. Expect source terminology in company, sector, and corporate event records.

**Does B3 guarantee that its website data is complete and current?**

No. B3's terms disclaim guarantees for timeliness, completeness, accuracy, and updates to website information.

**Can I reuse B3 website data commercially?**

B3's website terms require prior written consent for commercial use of its data. Public availability does not grant unrestricted commercial reuse.

