Brazil CNPJ Scraper
Receita Federal company data by CNPJ, activity, state and city
What it does
Paste CNPJs in any format, or search the Receita Federal open CNPJ data by CNAE code or Portuguese activity words, state, city name and legal nature. Each row holds legal and trade name, registration status, opening date, main and secondary activities, company size, share capital, Simples Nacional and MEI flags, full address, phones, the registered email and the partner list with masked CPFs. Filters for status, size, MEI, head office, opening dates, capital, phone and email run before you pay. The data follows the monthly government release, so a company opened or closed in the last few weeks may not show the change yet.
Built in
- ✓ Search by CNAE code or plain Portuguese activity words
- ✓ City names like Campinas, SP, no IBGE codes needed
- ✓ Partners (QSA) with qualification and entry date
- ✓ Registered email included at the same price
- ✓ Drop MEIs and branches with excludeMei, headOfficeOnly
Guides & tutorials
Company verification from official registries: Europe, US states, Brazil and India
How to check a company's status, registration, directors and address against official registers in eight European countries, seven US states, Brazil and India, with real inputs, a Python script and exact prices.
Finding government contracts: tenders from TED, the UK, Latin America and India in one feed
How bid teams and B2B sellers pull open tenders and contract awards from nine official procurement portals plus India's CPPP and GeM, with real inputs, a daily alert script in Python and exact prices.
Bundesanzeiger Scraper: German Company Filings Without a Data Subscription
Pull German company filings from the Bundesanzeiger by name: annual accounts, insolvency proceedings, ad hoc disclosures and voting rights notices. No login, no API key.
Related scrapers
USAspending Federal Awards
Every US federal contract, grant, and loan as structured JSON
FDA Recalls Scraper
Drug, device, and food recall reports as structured JSON
Federal Register Scraper
US rules, notices, and executive orders as structured JSON
India Gov Data
Trade, prices, and thousands of datasets from data.gov.in
Common questions
How is it priced? +
You pay $0.0018 per company row on the Apify Free plan and $0.00144 on Gold and above. A $0.001 start fee is charged once per run, as soon as the registry returns its first company record, which happens before your filters are applied. A run whose lookups and search return no record at all pays nothing.
Can I find newly opened companies? +
Yes. Set openedFrom to the first day of the month, add CNAE codes or activity words and your cities, and run it monthly on a schedule. Each run then returns the companies opened since that date. In the README test, this found 272 new food businesses in three cities in 73 seconds.
Why did a search return fewer companies than maxItems? +
Either your filters left fewer matches, or the search hit its scan limit of 50 registry records read per company you asked for, with a floor of 2,000. The summary row shows how many records were scanned and how many each filter removed, in filtered_out.
What do the masked CPFs mean? +
The Receita Federal publishes partner CPFs with the first three and last two digits hidden, and the actor returns them exactly as published, never unmasked. Each partner also has a type (person, company or foreign), qualification, entry date and age range, and partner_names puts every name in one cell.
What is not charged? +
Invalid CNPJs, CNPJs the registry does not have, search records that fail your status, size, MEI, head office, date, capital, phone or email filters, a company found twice in one run, and the summary, info and error rows. Filtered records are dropped before delivery, so they never reach your bill.
Try it on Apify.
Pay only for results delivered. No credit card required to sign up.