Brazil CNPJ Scraper (Receita Federal Company Data & Leads)
Pricing
$1.00 / 1,000 companies
Brazil CNPJ Scraper (Receita Federal Company Data & Leads)
Brazil CNPJ lookup (consulta CNPJ) and company search (empresas do Brasil) from the Receita Federal register: legal name, status, CNAE, address, phone, email, Simples/MEI, partners (QSA). Look up CNPJs in bulk or find leads by state, city, CNAE or size. Export to JSON, CSV or Excel, or via API.
Pricing
$1.00 / 1,000 companies
Rating
0.0
(0)
Developer
Steady Scrape
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Brazil CNPJ Scraper: CNPJ lookup, company data and leads
Brazil CNPJ Scraper looks up Brazilian companies by CNPJ and searches the Receita Federal's CNPJ register (the Cadastro Nacional da Pessoa Jurídica, ~60 million establishments) for leads. Give it a list of CNPJs, or a dataset with them, and get one row per company with its legal name (razão social), trade name (nome fantasia), registration status (situação cadastral), opening date, legal nature, size (porte), share capital, CNAE activities, full address, phones, email, Simples Nacional and MEI options, and partners (QSA). Or search companies by state (UF), municipality, CNAE activity, legal nature or partner, filtered by status, size, opening date, MEI / Simples and phone, and get only the companies opened since your last run. Export the Brazil company data to JSON, CSV or Excel, or use it via API.
The data is the Receita Federal's own open data (dados abertos do CNPJ), published monthly and read through two open-source, free public APIs: OpenCNPJ and Minha Receita. No login, no CAPTCHA, no proxy.
What can this Brazil CNPJ scraper do?
- Bulk CNPJ lookup (consulta CNPJ em lote): validate and enrich a list of CNPJs — a CRM export, a spreadsheet, another Actor's dataset — with the company's status, address, phone, email and partners.
- Lead generation in Brazil: list active restaurants in Florianópolis, dental clinics in São Paulo, law firms in Curitiba (CNAE + municipality), with only head offices, only micro companies, only those with a phone.
- New company monitoring: schedule a search with "Only new companies" and receive every month the companies that newly match it.
- KYC and due diligence: check the situação cadastral, opening date, legal nature, share capital and the partners (quadro societário) of a supplier or customer.
- Market research: count and profile companies by activity, size and city.
Both CNPJ formats are accepted: numeric (33.683.111/0002-80, 33683111000280) and the new alphanumeric CNPJ the Receita issues since July 2026 (12.ABC.345/01DE-35). Check digits are verified before anything is asked: a CNPJ whose digits do not add up (a typo) gets a free invalid_cnpj row, and the rest of the list is still looked up.
How to look up CNPJs
Write the CNPJs in CNPJs to look up, or pick a dataset in Or take the CNPJs from a dataset and say which field holds them (cnpj by default; company.cnpj for a nested one; a number like 191 is read as 00.000.000/0001-91, the zeros a spreadsheet dropped).
{ "cnpjs": ["33.683.111/0002-80", "00.000.000/0001-91", "33.000.167/0001-01"] }
Each CNPJ is asked of OpenCNPJ, which publishes the email, phones and address the Receita lists; when OpenCNPJ does not know a CNPJ (one opened in the last weeks) or does not answer, Minha Receita is asked instead. A CNPJ that is in no register gives a free not_found row.
How to search for companies (leads)
Leave the CNPJ list empty and give at least one of States, Municipalities, CNAE activities, Legal natures or Partner's CPF or CNPJ:
{"municipalities": ["Florianópolis"],"cnaes": ["restaurante"],"registrationStatuses": ["ATIVA"],"establishmentType": "MATRIZ","requirePhone": true,"maxResults": 500}
- Municipalities by name, case and accents aside (
Sao Paulo), with the state for a name several states share (Bom Jesus - PI), or by IBGE code (3550308). - CNAE activities by code (
5611-2/01), by the first digits of a class (5611: restaurants and bars), or by words of the description in Portuguese (restaurante,padaria,odontológica,advocacia). Choose whether the CNAE must be the main activity or may be a secondary one. - Filters: registration status (active only by default), head office or branch, company size (ME, EPP, other), opened on or after a date or in the last N days, Simples Nacional, MEI, only with a phone, words in the name.
The search reads Minha Receita's paginated search, 1,024 establishments a page, two seconds apart, and applies the filters as it goes. A filter that keeps few companies (a recent opening date, a rare word) may read many pages: Max establishments scanned (100,000 by default) bounds it.
Emails in searches: Minha Receita withholds every email, and the street and phone of individual entrepreneurs (MEI, empresário individual), as a privacy and anti-spam choice. Search rows therefore carry no email; the CNPJ lookup does carry it where the Receita lists one.
Output example
{"rowType": "company","cnpj": "00000000000191","cnpjFormatted": "00.000.000/0001-91","cnpjBase": "00000000","legalName": "BANCO DO BRASIL SA","tradeName": "DIRECAO GERAL","establishmentType": "MATRIZ","registrationStatus": "ATIVA","registrationStatusDate": "2005-11-03","openedOn": "1966-08-01","legalNatureCode": "2038","legalNature": "Sociedade de Economia Mista","companySize": "DEMAIS","shareCapital": 120000000000,"primaryCnae": "6422100","primaryCnaeFormatted": "6422-1/00","primaryCnaeDescription": "Bancos múltiplos, com carteira comercial","address": "QUADRA SAUN QUADRA 5 BLOCO B TORRE I, II, III, S/N, ANDAR T I SL S101 A S1602 … - ASA NORTE, BRASILIA - DF, 70040-912","postalCode": "70040912","municipality": "BRASILIA","municipalityIbgeCode": "5300108","state": "DF","phones": ["(61) 3493-9002"],"phone": "(61) 3493-9002","fax": "(61) 3493-1040","email": "secex@bb.com.br","simplesNacional": false,"mei": false,"partners": [{ "name": "FELIPE GUIMARAES GEISSLER PRINCE", "document": "***345856**", "type": "PESSOA FÍSICA", "qualification": "Diretor", "joinedOn": "2020-07-10", "ageRange": "41 a 50 anos" }],"partnerCount": 41,"source": "opencnpj","sourceUrl": "https://api.opencnpj.org/00000000000191","lookupInput": "00.000.000/0001-91"}
Fields
| field | what it holds |
|---|---|
rowType, status, scrapedAt | company with status ok (a paid row), or a free status row (below); when the row was read |
cnpj, cnpjFormatted, cnpjBase | The CNPJ bare and formatted, and its first 8 characters, shared by a company's head office and branches |
legalName, tradeName | Razão social and nome fantasia |
establishmentType | MATRIZ (head office) or FILIAL (branch) |
registrationStatus, registrationStatusDate, registrationStatusReason | Situação cadastral (ATIVA, BAIXADA, INAPTA, SUSPENSA, NULA), since when and why |
specialSituation, specialSituationDate | Situação especial (e.g. recuperação judicial) |
openedOn | Data de início de atividade |
legalNatureCode, legalNature | Natureza jurídica, e.g. 2062 Sociedade Empresária Limitada |
companySize | Porte: MICRO EMPRESA, EMPRESA DE PEQUENO PORTE or DEMAIS |
shareCapital | Capital social in reais |
primaryCnae, primaryCnaeFormatted, primaryCnaeDescription, secondaryCnaes | CNAE fiscal and secondary CNAEs with descriptions |
address, streetType, street, number, complement, neighborhood, postalCode, municipality, municipalityIbgeCode, state | The address in one line and its parts; CEP; IBGE municipality code |
country, foreignCity | Only for an establishment abroad (UF EX) |
phones, phone, fax, email | Contacts as the Receita lists them (email from lookups only) |
simplesNacional, simplesNacionalSince, simplesNacionalExcludedOn, mei, meiSince, meiExcludedOn | Simples Nacional and MEI options and dates |
taxRegimes | Tax regime by year (lucro real, presumido, arbitrado, imune/isenta) where Minha Receita publishes it; null from OpenCNPJ |
partners, partnerCount | Quadro societário: name, document (a CPF shows only its middle digits, as the Receita publishes it), type, qualification, entry date, age band, legal representative |
source, sourceUrl, dataUpdatedAt | Which API answered, its record, and the data's date |
lookupInput | Lookups: the CNPJ as you wrote it, to join the rows back to your list |
changeType | Only new companies: added |
A row with rowType: "status" is free and says in reason why what it names in query (a CNPJ, a municipality, a CNAE, a dataset or search) gave nothing: not_found, invalid_cnpj, blocked (a source did not answer), no_results, no_changes, baseline_saved, scan_limit, too_broad, spending_limit, unreadable.
How much does it cost?
US$0.001 per company delivered (US$1 per 1,000), by lookup or by search. Status rows (not found, invalid, blocked, no results) are free, and pages the search reads without finding a match cost nothing. The run stops at your maximum cost per run.
Limits
- The register is updated monthly: Minha Receita loads each Receita release a few days after it is published, so a company opened in the last weeks may not be there yet.
- Minha Receita's search limits searches that combine two or more filters (about one a second per server, shared with every other client). The Actor waits as told (up to three times a minute), and if the search keeps refusing it ends with the companies already delivered and a free
blockedrow. - Searches carry no email; lookups do, where the Receita lists one.
- One row per establishment: a company with branches has one row per CNPJ.
Is it legal to scrape CNPJ data?
The CNPJ register is public by law (Lei de Acesso à Informação) and published by the Receita Federal as open data; OpenCNPJ and Minha Receita republish it as free public APIs. CPFs of partners are masked as the Receita publishes them. Personal data of individual entrepreneurs is still personal data under the LGPD: use it for a legitimate purpose and honour opt-outs. This Actor is not affiliated with the Receita Federal, the Brazilian government, OpenCNPJ or Minha Receita.