[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [B3 industry classification](https://spiral.ai/integrations/grok-build/b3-industry-classification)

# How to Use B3 industry classification in Grok Build

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, no API key |

## Prompts to try with B3 industry classification in Grok Build

- Use B3 industry classification to look this up and give me the result as a table. Save the result in ./assets.
- 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 Grok Build

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

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build 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 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: Grok Build finds B3 industry classification on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## 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 Grok Build?

Build a B3 research table backed by exchange records. Add company, disclosure, distribution, sector, quote, or index data to the part of your project that needs it.

### 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 Grok Build guides](https://spiral.ai/integrations/grok-build)

## 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)
- [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)
- [n8n](https://spiral.ai/integrations/n8n/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 Grok Build guides

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

## Questions about B3 industry classification in Grok Build

**Can Grok Build use B3 industry classification?**

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

**How much does B3 industry classification cost in Grok Build?**

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

**Do I need an Alexandria account to use B3 industry classification in Grok Build?**

No. Spiral runs B3 industry classification on its own Alexandria account. You sign in to Spiral once and never paste a key.

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

About two minutes: add the server, then sign in, then check it.

**Does Grok Build wait while B3 industry classification runs?**

B3 industry classification runs in the background. Grok Build 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.

