Skip to main content
POST
Cnae

Request contract

  • Method and path: POST /apis/v1/servicodados-ibge-gov-br/official-statistics/cnae
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/cnae
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
nivel
string
required

nivel

Provider reference: allowed values ["secoes", "divisoes", "grupos", "classes", "subclasses"].

id
string

Code at that level (A, 01, 011, 01113, 0111301). Omit to list. Pattern: ^[A-Za-z0-9]{1,7}$.

parent_id
string

Pattern: ^[A-Za-z0-9]{1,7}$.

parent_nivel
string

List only the children of this parent level.

Provider reference: allowed values ["secoes", "divisoes", "grupos", "classes"].

Response

CNAE 2.x economic-activity classification (/api/v2/cnae): list a level (secoes, divisoes, grupos, classes, subclasses), optionally under a parent (e.g. classes of divisao 01), or fetch one code with its full parent chain and notes.

The response contains the tool result directly.

The provider identifies items as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.