Government — entry 003 of 90

Brazil

Verified Jul 2026

BrasilAPI is a community-maintained, open-source project — not an official government service — that aggregates and normalizes public Brazilian registries into one keyless REST API. A live `GET /api/cep/v1/{cep}` call confirmed the postal-code lookup works with no key over HTTPS with a wildcard `Access-Control-Allow-Origin` header; the same gateway also fronts CNPJ business-registry lookups, bank/ISPB codes, DDD area codes, national holidays, and IBGE municipality data, each sourced from the relevant official agency. Because it re-serves government data rather than being run by a government body, treat it as a convenience layer, not a primary source for compliance-grade queries.

open-datagovernment-databrazilcepcnpj
AuthenticationNone requiredCall it straight away — no key, no signup.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score74out of 100
Authentication25/25No authentication required
Pricing20/20Free to use
Docs0/20No docs or spec available
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 74 on greatapis.com
<a href="https://greatapis.com/api/brazil/"><img src="https://greatapis.com/badge/brazil.svg" alt="Scored 74 on greatapis.com"></a>

Auth quickstart

  1. No key needed — call it now.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.