Brazil

Community API for Brazilian public data (CEP, CNPJ, banks…)

🏛 GovernmentUNMONITOREDchecked 1h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

A single friendly gateway to scattered Brazilian public datasets — postal codes (CEP), companies (CNPJ), banks, DDD area codes, holidays and more. This sample resolves a CEP to its street, neighborhood, city, and state. Keyless, but the maintainers ask you not to loop through every code.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://brasilapi.com.br/api/cep/v1/01001000

{
  "cep": "01001000",
  "state": "SP",
  "city": "São Paulo",
  "neighborhood": "Sé",
  "street": "Praça da Sé",
  "service": "open-cep"
}
Call itcurl · fetch · python
curl "https://brasilapi.com.br/api/cep/v1/01001000"
const res = await fetch("https://brasilapi.com.br/api/cep/v1/01001000");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://brasilapi.com.br/api/cep/v1/01001000")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
First rollup pending — GET /cep/v1/01001000 has been probed
GET/cep/v1/01001000PROBED

Community API for Brazilian public data (CEP, CNPJ, banks…)

GET/cep/v1

V1 — documented GET route.

GET/cep/v1/1

V1 details by ID (example: 1).

GET/cep

Cep — documented GET route.

GET/cep/1

Cep details by ID (example: 1).

GET/cep?limit=10

Cep — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Brazil: common questions

Is Brazil free to use?

Yes — Brazil is a free government API. Free tier: Free — no key (beta). Whether the free tier allows commercial use is unclear — check the provider docs.

Does Brazil need an API key?

No — Brazil needs no API key or signup. You can call it straight away; rate limits still apply (Fair use — no loops or full-range scanning).

Can I call Brazil from the browser?

Yes — Brazil returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Brazil up right now?

As of our last scheduled check, Brazil is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.