# IBGE Brazil Districts by Municipality

> IBGE Brazil Districts by Municipality is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns a list of districts (distritos) within a Brazilian municipality, looked up by its 7-digit IBGE municipality code.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/ibge-br-distritos-por-municipio
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ibge-brazil-districts-by-municipality-c1ebb9bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6IGRDHHP_8GNfk_BiXmML

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ibge-brazil-districts-by-municipality-c1ebb9bc -d '<json body>'
```

Example prompt: Can you look up all the districts within the Brazilian municipality with IBGE code 3550308 (São Paulo)?

## When to prefer this

Use this endpoint when you need to enumerate administrative districts within a specific Brazilian municipality and have the 7-digit IBGE municipality code. Ideal for geospatial enrichment, Brazilian government data pipelines, address validation, or any application requiring knowledge of Brazil's sub-municipal administrative divisions.

## Known failure modes

- Invalid or non-existent 7-digit municipality code returns empty result or error
- Malformed query parameter causes bad request
- Municipality code with fewer or more than 7 digits may not match
- Network timeout or upstream IBGE data unavailability

## How this service works

Brazil (IBGE): districts within a municipality, keyed by the 7-digit municipality code. Query: ?q= Returns JSON.

## Output

A JSON object containing a list of districts (distritos) belonging to the specified Brazilian municipality, including district names and relevant identifiers as provided by IBGE.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ibge-brazil-districts-by-municipality-c1ebb9bc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
