Brazil
Community API for Brazilian public data (CEP, CNPJ, banks…)
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.
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"
}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())/cep/v1/01001000PROBEDCommunity API for Brazilian public data (CEP, CNPJ, banks…)
/cep/v1V1 — documented GET route.
/cep/v1/1V1 details by ID (example: 1).
/cepCep — documented GET route.
/cep/1Cep details by ID (example: 1).
/cep?limit=10Cep — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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.