No. Receita Federal offers free monthly bulk files (multi-gigabyte split ZIPs of semicolon CSVs) and a CAPTCHA-protected web lookup. The only official API, SERPRO's Consulta CNPJ, is paid. Free public endpoints are third-party projects rebuilt from the bulk files.
Brazilian registry data without the bulk files
CNPJ API - Brazilian Business Registry Data
Receita Federal publishes CNPJ data as multi-gigabyte monthly ZIP files; the only official API is paid via SERPRO. CompanyData delivers 29M+ Brazilian business records with CNPJ numbers, CNAE codes, financials and contact data through one always-current REST API.
29M+ Brazilian businesses
CNPJ, razão social & situação cadastral
No multi-GB ZIP pipelines
What Is the CNPJ API?
The CNPJ (Cadastro Nacional da Pessoa Jurídica) is Brazil's national registry run by Receita Federal. Every establishment carries a 14-character number; from mid-2026, new roots become alphanumeric.
There is no official free CNPJ REST API. Receita Federal publishes free monthly bulk files: split ZIPs of semicolon-separated CSVs with encoding quirks, which you download, parse and host yourself. The web lookup sits behind a CAPTCHA, and the only official API, SERPRO's Consulta CNPJ, is paid. Popular free endpoints are third-party projects built on the same bulk files.
CompanyData does that heavy lifting for you: 29M+ Brazilian records with razão social, nome fantasia, situação cadastral, natureza jurídica, CNAE classification and partner details, enriched with contact data, always current, in one REST API that also covers 200+ other countries.
Compare Data Points
The Receita Federal files carry registry facts. CompanyData delivers 50+ data points per Brazilian business in a single call.
| Data point | Receita Federal (bulk) | CompanyData API |
|---|---|---|
| Razão social & nome fantasia | ✓ | ✓ |
| CNPJ number | ✓ | ✓ |
| Address | ✓ | ✓ |
| Natureza jurídica & situação | ✓ | ✓ |
| CNAE principal & secondary | ✓ | ✓ as SIC + NACE |
| Sócios / partners | ✓ masked CPF | ✓ |
| Financials as structured data | ✗ | ✓ |
| Employee count | ✗ | ✓ |
| Email, phone & website | ✗ | ✓ |
| International records | ✗ | ✓ 365M+ worldwide |
Compare Access & Filters
Official access means monthly ZIP downloads or a paid per-query service. CompanyData is one endpoint with filters.
| Access / Search | Receita Federal | CompanyData API |
|---|---|---|
| Free REST API | ✗ bulk files or paid SERPRO | ✓ |
| Lookup by CNPJ | ✓ CAPTCHA on web | ✓ |
| Search by name | ✗ build it yourself | ✓ |
| Filter by CNAE / industry | ✗ build it yourself | ✓ |
| Filter by state or city | ✗ build it yourself | ✓ |
| Filter by size or revenue | ✗ | ✓ |
| Always-current data | ✗ monthly refresh | ✓ |
| Bulk export | ✓ raw ZIPs | ✓ enriched |
Compare Price
The bulk files are free but costly to operate; SERPRO charges per query. CompanyData is credit-based with a free trial.
| Price comparison | Receita Federal | CompanyData API |
|---|---|---|
| Access model | Free ZIPs / paid SERPRO | From $0.02 per credit |
| Infrastructure required | Your own pipeline | None |
| Free trial | ✓ raw files | ✓ free credits included |
| Enriched data included | ✗ | ✓ |
| One API for 200+ countries | ✗ | ✓ |
Try It Live
Search any Brazilian business and see the API response in real time.
CNPJ API Use Cases
KYB & Onboarding
Verify Brazilian counterparties by CNPJ. Check situação cadastral, legal nature and partners automatically.
Lead Generation
Build prospect lists filtered by CNAE, state, city, revenue or business size across Brazil.
CRM Enrichment
Append CNPJ numbers, CNAE codes, financials and contacts to your Brazilian accounts in bulk.
Risk & Compliance
Monitor registration status changes and closures across your Brazilian supplier base.
CNPJ API Pricing
Transparent, credit-based pricing. Start with a free trial.
Integration
Plug official register data into your stack in minutes.
Real-time responses with an average latency of <200ms. GDPR compliant with transparent data sourcing. Full documentation at companydata.com/api-docs.
More local trade register APIs
CompanyData covers official trade register data in 200+ countries through one API. Explore the register pages per country:
- CVR API (Denmark)
- Companies House API (UK)
- Sirene API (France)
- KRS API (Poland)
- SEC EDGAR API (USA)
- Handelsregister API (Germany)
- ABN Lookup API (Australia)
- MCA API (India)
- Bolagsverket API (Sweden)
- ARES API (Czechia)
- Zefix API (Switzerland)
- KBO API (Belgium)
- Brreg API (Norway)
- BORME API (Spain)
- CIPC API (South Africa)
- KVK API (Netherlands)
Frequently Asked Questions
The 14-character Brazilian registry number: an 8-character root, a 4-character establishment code and 2 numeric check digits. From July 2026 new roots may contain letters; existing numbers stay unchanged. CompanyData records carry the CNPJ as the registration number.
Brazilian records are classified with CNAE, which follows the international ISIC structure. Every CompanyData record carries SIC and NACE industry codes as filterable fields, so Brazilian businesses slot into the same industry filters you use for every other country.
The official bulk files refresh monthly. CompanyData updates continuously from official and verified sources, so lookups reflect recent registrations and status changes without waiting for the next ZIP drop.
CompanyData covers 29M+ Brazilian businesses with CNPJ, registry details, industry classification, financials and contact data in one REST API, with no pipeline to maintain, and the same integration covers 200+ other countries.
29M+ Brazilian business records, from LTDA and SA entities to MEI micro-entrepreneurs, updated continuously.