How to Use B3 industry classification in Grok
Returns B3's sector taxonomy. Use it to interpret company classification labels and organize comparisons using the exchange's categories.
Prompts to try with B3 industry classification in Grok
Copy an example into Grok, or ask in your own words.
Use B3 industry classification to explain the sector categories used when comparing Petrobras and Vale, retaining the Portuguese labels.
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.
How to set up B3 industry classification in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run B3 industry classification
One request; the result comes back by polling or a webhook.
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 finds B3 industry classification on Spiral, shows the price and runs it.
B3 industry classification providers and prices
Spiral runs B3 industry classification through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Language | pt-br or en-us | pt-br | language |
Every API field of B3 listed companies and indices · Industry classification is on its tool page: open its card above.
What can you do with B3 industry classification in Grok?
Produce a B3 company or index briefing with the source records behind it. Ask for the issuer facts, disclosures, distributions, sector labels, or benchmark composition needed for your question.
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.
More on B3 industry classification and Grok
Overview
B3 industry classification in other agents
Questions about B3 industry classification in Grok
Can Grok use B3 industry classification?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run B3 industry classification like any built-in tool.
How much does B3 industry classification cost in Grok?
$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 plan is separate.
Do I need an Alexandria account to use B3 industry classification in Grok?
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?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while B3 industry classification runs?
B3 industry classification runs in the background. Grok 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.
Start using B3 industry classification in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


