> ## 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

# Company

> After `search_companies` returned a `code_cvm`, or when the CVM code is known.

## Request contract

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

[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.company",
  "method": "POST",
  "path": "/apis/v1/b3-com-br/companies/company",
  "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": {
              "code_cvm": "9512"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "code_cvm": {
              "description": "CVM registration code, e.g. `9512` (Petrobras). Pattern: ^[0-9]+$.",
              "type": "string"
            },
            "include_financials": {
              "description": "Also fetch the economic-financial summary (one more request).",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "code_cvm"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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/company
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/company:
    post:
      tags:
        - B3 listed companies and indices
      summary: Company
      description: >-
        After `search_companies` returned a `code_cvm`, or when the CVM code is
        known.
      operationId: b3-com-br.companies.company
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  code_cvm: '9512'
            schema:
              additionalProperties: true
              properties:
                code_cvm:
                  description: >-
                    CVM registration code, e.g. `9512` (Petrobras). Pattern:
                    ^[0-9]+$.
                  type: string
                include_financials:
                  description: >-
                    Also fetch the economic-financial summary (one more
                    request).
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
              required:
                - code_cvm
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-22.
                  summary: Official provider example
                  value:
                    activity: >-
                      Pesquisa. lavra. refinação. processamento. comércio e
                      transporte de petróleo. de seus derivados. de gás natural
                      e de outros hidrocarbonetos fluidos. além das atividades
                      vinculadas à energia.
                    bdr_type: null
                    bookkeeper_common: BRADESCO
                    bookkeeper_preferred: BRADESCO
                    cnpj: '33000167000101'
                    code_cvm: '9512'
                    codes:
                      - code: PETR3
                        isin: BRPETRACNOR9
                      - code: PETR4
                        isin: BRPETRACNPR6
                      - code: PETR-DEB62
                        isin: BRPETRDBS092
                    company_name: PETROLEO BRASILEIRO S.A. PETROBRAS
                    country: BR
                    financials: null
                    has_bdr: false
                    has_emissions: false
                    has_quotation: true
                    industry_classification:
                      sector: Petróleo. Gás e Biocombustíveis
                      segment: Exploração. Refino e Distribuição
                      subsector: Petróleo. Gás e Biocombustíveis
                      text: >-
                        Petróleo. Gás e Biocombustíveis / Petróleo. Gás e
                        Biocombustíveis / Exploração. Refino e Distribuição
                    industry_classification_en: null
                    issuing_company: PETR
                    last_update: '2026-09-18T23:35:06'
                    main_code: PETR4
                    market: BOVESPA NIVEL 2
                    market_indicator: '17'
                    observed_at_ms: 1790046949592
                    quoted_since: '1977-07-20'
                    source: b3.com.br
                    status: A
                    trading_name: PETROBRAS
                    url: >-
                      https://sistemaswebb3-listados.b3.com.br/listedCompaniesPage/main/9512/PETR/overview?language=pt-br
                    website: www.petrobras.com.br
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Company detail by CVM code: names, CNPJ, sector classification,
            activity, website, governance segment, trading codes with ISINs,
            bookkeepers; optionally the latest financial summary, capital
            composition, shareholder positions and free float.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `activity` | string |  |

            | `bdr_type` | string |  |

            | `bookkeeper_common` | string |  |

            | `bookkeeper_preferred` | string |  |

            | `cnpj` | string |  |

            | `code_cvm` | string |  |

            | `codes` | object[] |  |

            | `company_name` | string |  |

            | `country` | string |  |

            | `financials` | object | Present only when `include_financials` is
            true. |

            | `has_bdr` | boolean |  |

            | `has_emissions` | boolean |  |

            | `has_quotation` | boolean |  |

            | `industry_classification` | object |  |

            | `industry_classification_en` | object |  |

            | `issuing_company` | string |  |

            | `last_update` | string |  |

            | `main_code` | string | B3's primary ticker for the company. |

            | `market` | string | Listing market / governance segment label,
            e.g. `BOVESPA NIVEL 2`. |

            | `market_indicator` | string |  |

            | `observed_at_ms` | number |  |

            | `quoted_since` | string |  |

            | `source` | string |  |

            | `status` | string |  |

            | `trading_name` | string |  |

            | `url` | string |  |

            | `website` | 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.