> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Industry classification

> To interpret or filter the `segment` and classification labels returned by the company functions.

## Request contract

* **Method and path:** POST /apis/v1/b3-com-br/companies/industry-classification
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/b3-com-br/companies/industry-classification`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/b3-com-br.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "b3-com-br.companies.industry-classification",
  "method": "POST",
  "path": "/apis/v1/b3-com-br/companies/industry-classification",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {}
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "language": {
              "default": "pt-br",
              "description": "language\n\nProvider reference: allowed values [\"pt-br\", \"en-us\"]; default \"pt-br\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "pt-br",
                  "en-us"
                ]
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/b3-com-br.json POST /apis/v1/b3-com-br/companies/industry-classification
openapi: 3.1.0
info:
  description: ''
  title: B3 listed companies and indices
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    b3-com-br:
      description: ''
      title: B3 listed companies and indices
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: e7ecba721a5159c2022236e8de07434d7a0197f56afb1490c50ee9a2921a6e0d
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/b3-com-br/companies/cash-dividends
    - /apis/v1/b3-com-br/companies/company
    - /apis/v1/b3-com-br/companies/company-filings
    - /apis/v1/b3-com-br/companies/corporate-actions
    - /apis/v1/b3-com-br/companies/index-portfolio
    - /apis/v1/b3-com-br/companies/industry-classification
    - /apis/v1/b3-com-br/companies/quote
    - /apis/v1/b3-com-br/companies/search-companies
    - /apis/v1/b3-com-br/companies/stock-indices
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:c5c6aab608842f413457b3d8abb27e97fc00fb7e8fe3b8f189bd0ede5c6b504a
    facts_hash: e7ecba721a5159c2022236e8de07434d7a0197f56afb1490c50ee9a2921a6e0d
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: b3-com-br
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/b3-com-br/companies/industry-classification:
    post:
      tags:
        - B3 listed companies and indices
      summary: Industry classification
      description: >-
        To interpret or filter the `segment` and classification labels returned
        by the company functions.
      operationId: b3-com-br.companies.industry-classification
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value: {}
            schema:
              additionalProperties: true
              properties:
                language:
                  default: pt-br
                  description: >-
                    language


                    Provider reference: allowed values ["pt-br", "en-us"];
                    default "pt-br".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - pt-br
                      - en-us
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-22.
                  summary: Official provider example
                  value:
                    country: BR
                    language: pt-br
                    observed_at_ms: 1790047035730
                    sectors:
                      - name: Bens Industriais
                        subsectors:
                          - name: Comércio
                            segments:
                              - Máquinas e Equipamentos
                              - Material de Transporte
                          - name: Construção e Engenharia
                            segments:
                              - Construção Pesada
                              - Engenharia Consultiva
                              - Produtos para Construção
                              - Serviços Diversos
                          - name: Máquinas e Equipamentos
                            segments:
                              - Armas e Munições
                              - Máq. e Equip. Construção e Agrícolas
                              - Máq. e Equip. Industriais
                              - Motores . Compressores e Outros
                          - name: Material de Transporte
                            segments:
                              - Material Aeronáutico e de Defesa
                              - Material Rodoviário
                          - name: Serviços
                            segments:
                              - Serviços Diversos
                          - name: Transporte
                            segments:
                              - Exploração de Rodovias
                              - Serviços de Apoio e Armazenagem
                              - Transporte Aéreo
                              - Transporte Ferroviário
                              - Transporte Hidroviário
                              - Transporte Metroviário
                              - Transporte Rodoviário
                      - name: Comunicações
                        subsectors:
                          - name: Telecomunicações
                            segments:
                              - Telecomunicações
                      - name: Construção e Transporte
                        subsectors: []
                      - name: Consumo Cíclico
                        subsectors:
                          - name: Automóveis e Motocicletas
                            segments:
                              - Automóveis e Motocicletas
                          - name: Comércio
                            segments:
                              - Eletrodomésticos
                              - Produtos Diversos
                              - Tecidos. Vestuário e Calçados
                          - name: Construção Civil
                            segments:
                              - Incorporações
                          - name: Diversos
                            segments:
                              - Aluguel de carros
                              - Programas de Fidelização
                              - Serviços Educacionais
                          - name: Hoteis e Restaurantes
                            segments:
                              - Hotelaria
                              - Restaurante e Similares
                          - name: Tecidos. Vestuário e Calçados
                            segments:
                              - Acessórios
                              - Calçados
                              - Fios e Tecidos
                              - Vestuário
                          - name: Utilidades Domésticas
                            segments:
                              - Eletrodomésticos
                              - Móveis
                              - Utensílios Domésticos
                          - name: Viagens e Lazer
                            segments:
                              - Atividades Esportivas
                              - Bicicletas
                              - Brinquedos e Jogos
                              - Produção de Eventos e Shows
                              - Viagens e Turismo
                      - name: Consumo não Cíclico
                        subsectors:
                          - name: Agropecuária
                            segments:
                              - Agricultura
                          - name: Alimentos Processados
                            segments:
                              - Açucar e Alcool
                              - Alimentos Diversos
                              - Carnes e Derivados
                              - Laticínios
                          - name: Bebidas
                            segments:
                              - Cervejas e Refrigerantes
                          - name: Comércio e Distribuição
                            segments:
                              - Alimentos
                              - Medicamentos
                          - name: Produtos de Uso Pessoal e de Limpeza
                            segments:
                              - Produtos de Limpeza
                              - Produtos de Uso Pessoal
                      - name: Financeiro
                        subsectors:
                          - name: Exploração de Imóveis
                            segments:
                              - Exploração de Imóveis
                              - Intermediação Imobiliária
                          - name: Holdings Diversificadas
                            segments:
                              - Holdings Diversificadas
                          - name: Intermediários Financeiros
                            segments:
                              - Bancos
                              - Outros Intermediarios Financeiros
                              - Soc. Arrendamento Mercantil
                          - name: Previdência e Seguros
                            segments:
                              - Corretoras de Seguros e Resseguros
                              - Resseguradoras
                              - Seguradoras
                          - name: Securitizadoras de Recebíveis
                            segments:
                              - Securitizadoras de Recebíveis
                          - name: Serviços Diversos
                            segments:
                              - Serviços Diversos
                          - name: Serviços Financeiros Diversos
                            segments:
                              - Gestão de Recursos e Investimentos
                              - Serviços Financeiros Diversos
                      - name: Materiais Básicos
                        subsectors:
                          - name: Embalagens
                            segments:
                              - Embalagens
                          - name: Madeira e Papel
                            segments:
                              - Madeira
                              - Papel e Celulose
                          - name: Materiais Diversos
                            segments:
                              - Materiais Diversos
                          - name: Mineração
                            segments:
                              - Minerais Metálicos
                          - name: Químicos
                            segments:
                              - Fertilizantes e Defensivos
                              - Petroquímicos
                              - Químicos Diversos
                          - name: Siderurgia e Metalurgia
                            segments:
                              - Artefatos de Cobre
                              - Artefatos de Ferro e Aço
                              - Siderurgia
                      - name: Outros
                        subsectors:
                          - name: Outros
                            segments:
                              - Outros
                      - name: Petróleo. Gás e Biocombustíveis
                        subsectors:
                          - name: Petróleo. Gás e Biocombustíveis
                            segments:
                              - Distribuição de Combustíveis
                              - Equipamentos e Serviços
                              - Exploração. Refino e Distribuição
                      - name: Saúde
                        subsectors:
                          - name: Comércio e Distribuição
                            segments:
                              - Medicamentos e Outros Produtos
                          - name: Equipamentos
                            segments:
                              - Equipamentos
                          - name: Medicamentos e Outros Produtos
                            segments:
                              - Medicamentos e Outros Produtos
                          - name: Serv.Méd.Hospit..Análises e Diagnósticos
                            segments:
                              - Serv.Méd.Hospit..Análises e Diagnósticos
                      - name: Setor Inicial
                        subsectors: []
                      - name: Tecnologia da Informação
                        subsectors:
                          - name: Computadores e Equipamentos
                            segments:
                              - Computadores e Equipamentos
                          - name: Programas e Serviços
                            segments:
                              - Programas e Serviços
                      - name: Utilidade Pública
                        subsectors:
                          - name: Água e Saneamento
                            segments:
                              - Água e Saneamento
                          - name: Energia Elétrica
                            segments:
                              - Energia Elétrica
                          - name: Gás
                            segments:
                              - Gás
                    source: b3.com.br
                    url: >-
                      https://sistemaswebb3-listados.b3.com.br/listedCompaniesPage/classification?language=pt-br
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            B3's sector taxonomy: sectors, subsectors and segments used to
            classify listed companies.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `country` | string |  |

            | `language` | string |  |

            | `observed_at_ms` | number |  |

            | `sectors` | object[] |  |

            | `source` | string |  |

            | `url` | string |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.