# cuducos/minha-receita

🏢 Sua API web para consulta de informações do CNPJ da Receita Federal

Repository: https://github.com/cuducos/minha-receita
Canonical: https://ross.abutalabs.com/products/minha-receita
Homepage: https://minhareceita.org
License Family: other
Topics: brasil, brazil, cnpj, api, web, receita-federal, hacktoberfest
Archived: true
Last push: 2026-01-04T00:54:58+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 35, longevity 100
- inputs: {"age_days": 2622, "days_push": 242, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1597, forks 156 (observed 2026-08-28T04:05:09.231624+00:00)

## What it is
Minha Receita is an open-source project that consolidates Brazilian Federal Revenue (Receita Federal) CNPJ company data from scattered CSV files into a single PostgreSQL database and serves it through a public web API. It can be self-hosted or queried at minhareceita.org, with an additional graph API for company relationships.

## Use cases
- look up Brazilian company registration data by CNPJ
- query CNPJ info via a simple REST API instead of CAPTCHA-gated government sites
- self-host a local CNPJ database in PostgreSQL for custom queries
- build company graphs from partner/QSA relationships
- export consolidated CNPJ data to CSV with custom filters
- search companies by CNAE code or state (UF)

## When to choose
- you need programmatic access to official Brazilian CNPJ data
- you want to avoid the Receita Federal CAPTCHA and fragmented CSV downloads
- you need a self-hosted, queryable PostgreSQL database of company registrations
- you want a free public API for quick CNPJ lookups

## When to avoid
- you need guaranteed SLA or high availability from the public API
- you need complex filtering beyond CNAE/UF on the hosted API without running your own database
- you need real-time data synchronized with Receita Federal updates
- your use case requires data outside Brazil

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, etl, database, search-engine
- domain: apis, self-hosted
- platform: self-hosted, go, python
- tags: cnpj, receita-federal, brazilian-company-data, public-data, open-data-api, postgres, etl-pipeline, data-engineering, open-data, brazil, web-server, docker

## Member repositories
- cuducos/minha-receita (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.231624+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-30T03:53:59.612590+00:00, confidence not recorded.
  - readme: https://github.com/cuducos/minha-receita (fetched 2026-08-28T04:05:09.231624+00:00, sha d8c26801c870)
  - homepage: https://minhareceita.org (fetched 2026-08-29T11:25:10.395330+00:00, sha 73b5841d783e)
  - site_page: https://docs.minhareceita.org/faq (fetched 2026-08-29T11:25:10.397846+00:00, sha 6d4dab5ec8c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
