Skip to main content
POST
Malha

Request contract

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

IBGE code (35 or SP for a state, 3550308 for a municipality, BR for the country). Pattern: ^[A-Za-z0-9]{1,9}$.

nivel
string
required

nivel

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

intrarregiao
string

Split the mesh into the localities of this level (e.g. municipio inside a state).

Provider reference: allowed values ["regiao", "UF", "mesorregiao", "microrregiao", "regiao-intermediaria", "regiao-imediata", "municipio"].

qualidade
string
default:minima

qualidade

Provider reference: allowed values ["minima", "intermediaria", "maxima"]; default "minima".

Response

Territorial mesh (boundary) of one locality from /api/v4/malhas/{nivel}/{id} as GeoJSON at a chosen simplification quality (minima | intermediaria | maxima), optionally subdivided into intra-region features (intrarregiao), plus the mesh metadata (/metadados: centroid, bounding box, area).

The response contains the tool result directly.

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