# BrasilAPI/BrasilAPI

Vamos transformar o Brasil em uma API?

Repository: https://github.com/BrasilAPI/BrasilAPI
Canonical: https://ross.abutalabs.com/products/brasilapi
Homepage: https://brasilapi.com.br
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-26T13:21:46+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2407, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11055, forks 765 (observed 2026-08-28T04:10:45.964441+00:00)

## What it is
BrasilAPI is a free public REST API that centralizes Brazilian public data (CEP postal codes, and other government-adjacent data) behind modern, low-latency endpoints with CORS enabled. It is built with Next.js and deployed on Vercel's edge CDN across 23 regions.

## Use cases
- look up Brazilian postal codes (CEP) from a browser
- validate CEP addresses in my app without Correios API
- get Brazilian public data via a REST API with CORS
- query Brazilian bank or tax ID data programmatically
- avoid slow government APIs for Brazilian data lookups

## When to choose
- you need fast, CORS-enabled access to Brazilian public data like CEPs
- you want a free hosted API instead of scraping Correios
- you need low-latency cached responses worldwide

## When to avoid
- you need high-volume automated crawling or full scans of the dataset
- you need guaranteed SLAs or official government data
- you need data types BrasilAPI does not expose

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, caching, web-scraping
- domain: apis, web-development, developer-tools, e-government
- platform: serverless, cloud
- tags: brazilian-data, cep-lookup, public-data-api, rest-api, openapi, vercel, nodejs, web-server

## Member repositories
- BrasilAPI/BrasilAPI (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:45.964441+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:16:50.334022+00:00, confidence not recorded.
  - readme: https://github.com/BrasilAPI/BrasilAPI (fetched 2026-08-28T04:10:45.964441+00:00, sha 916530797859)
  - homepage: https://brasilapi.com.br (fetched 2026-08-29T08:15:57.421231+00:00, sha 86ae2b27dde9)
  - site_page: https://brasilapi.com.br/docs (fetched 2026-08-29T08:15:57.430239+00:00, sha 7a76d2f72154)
- Data as of 2026-08-30T08:39:29.467469+00:00.
