Skip to main content
POST
Localidades

Request contract

  • Method and path: POST /apis/v1/servicodados-ibge-gov-br/official-statistics/localidades
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/localidades
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

Level to list.

Provider reference: allowed values ["regioes", "estados", "mesorregioes", "microrregioes", "regioes-intermediarias", "regioes-imediatas", "regioes-metropolitanas", "municipios", "distritos", "subdistritos"].

limit
number
default:100

Items per page (default 100).

Provider reference: minimum 1; maximum 1000; default 100.

offset
number

next_offset from the previous page of the same query.

Provider reference: minimum 0.

parent_id
string

Parent id: numeric IBGE code or, for estados, the two-letter sigla (35 or SP). Pattern: ^[A-Za-z0-9]{1,9}$.

parent_nivel
string

Level of the bounding parent (estados for municipios of a state, municipios for its distritos, regioes for its estados, ...).

Provider reference: allowed values ["regioes", "estados", "mesorregioes", "microrregioes", "regioes-intermediarias", "regioes-imediatas", "municipios", "distritos"].

query
string

Case- and accent-insensitive substring of nome applied client-side (e.g. sao paulo, campinas).

Response

List Brazilian localities of one level (regioes, estados, mesorregioes, microrregioes, regioes-intermediarias, regioes-imediatas, regioes-metropolitanas, municipios, distritos, subdistritos) from /api/v1/localidades, optionally bounded to a parent locality (e.g. municipios of estado 35 / SP, distritos of municipio 3550308) and filtered by name. Ordered by name; sliced client-side with limit / offset.

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.