
Brazil CNPJ Scraper
hipersoft/brazil-cnpj-scraper
Look up Brazilian companies by CNPJ and get the full official record: legal name, address, industry (CNAE), partners/shareholders (QSA), tax regime, and status. Fast, reliable, and cheap.
Total users
4Monthly users
2Total runs
125Per company scraped
$0.001Last rebuilt
Oct 26, 2026Overview
Look up any Brazilian company by CNPJ and get its full official record: legal name, trade name, address, industry codes (CNAE), partners/shareholders (QSA), tax regime, share capital and registration status. Feed thousands of CNPJs in a single run and export clean, structured JSON, CSV, Excel or XML. Fast and reliable, with English-labelled fields and ISO dates.

What does Brazil CNPJ Scraper do?
This CNPJ scraper resolves Brazilian company registration numbers into complete, structured company profiles from Brazil's official open company registry (Receita Federal). Paste any number of CNPJs in any format and the actor returns each company's identity, address, activities, ownership and tax details as normalized data points you can export or push into your own systems.
What data can you scrape by CNPJ?
| Data point | Description |
|---|---|
| Company & trade name | Registered legal name and doing-business-as name. |
| CNPJ | Raw and formatted registration number. |
| Registration status | Active/suspended status, reason and status date. |
| Opening date | Date the company was registered. |
| Company size & legal nature | Size band and legal entity type (with code). |
| Share capital | Declared share capital amount. |
| Main & secondary activities (CNAE) | Primary and secondary industry codes with descriptions. |
| Address | Full address object with city, state and ZIP. |
| Contact | Phone and email where available. |
| Tax regime | Simples Nacional / MEI and tax-regime details. |
| Partners / shareholders (QSA) | List of partners with names, roles and entry dates. |
Use cases
- KYC / KYB & compliance — verify companies and their shareholders before onboarding.
- Lead generation & enrichment — enrich CRM records with official company data.
- Market & competitor research — analyse companies by industry (CNAE), region or size.
- Due diligence — check registration status and ownership structure.
- Dataset building — assemble a structured registry of Brazilian companies for analytics.
How to look up CNPJ data
- Add Brazil CNPJ Scraper to your Apify account and open its input.
- Paste one or more cnpjs — any format, with or without punctuation.
- Optionally enable includeRaw to also keep the full raw record.
- Click Run.
- Export the results as JSON, CSV, Excel or XML, or fetch them through the Apify API.
Input
{
"cnpjs": ["00.000.000/0001-91", "71673990000177"],
"includeRaw": false
}
| Field | Description |
|---|---|
cnpjs |
List of CNPJs to look up — any format (with or without punctuation). |
includeRaw |
Also include the full raw registry record for each company. |
What you get
One dataset item per CNPJ, ready to export to CSV, Excel, JSON or XML.

{
"type": "company",
"cnpj": "71673990000177",
"cnpjFormatted": "71.673.990/0001-77",
"companyName": "NATURA COSMETICOS S/A",
"tradeName": "NATURA",
"headquartersOrBranch": "MATRIZ",
"status": "ATIVA",
"statusDate": "2005-11-03",
"openingDate": "1993-06-08",
"companySize": "DEMAIS",
"legalNature": "Sociedade Anônima Aberta",
"legalNatureCode": 2046,
"shareCapital": 6000000000,
"mainActivity": { "code": "4646001", "description": "Comércio atacadista de cosméticos e produtos de perfumaria" },
"address": { "city": "…", "state": "SP", "zip": "…" },
"partners": [ { "name": "…", "role": "…" } ],
"partnerCount": 5,
"found": true
}
Output schema
| Field | Type | Description |
|---|---|---|
type |
string | Record type (e.g. "company"). |
cnpj |
string | Unformatted CNPJ registration number. |
cnpjFormatted |
string | CNPJ with standard punctuation. |
companyName |
string | Registered legal name of the company. |
tradeName |
string | Trade / doing-business-as name. |
headquartersOrBranch |
string | Whether the establishment is the HQ (MATRIZ) or a branch (FILIAL). |
status |
string | Registration status (e.g. ATIVA). |
statusReason |
string | Reason associated with the current status. |
statusDate |
string | Date the current status took effect. |
openingDate |
string | Date the company was registered. |
companySize |
string | Company size band. |
legalNature |
string | Legal entity type description. |
legalNatureCode |
integer | Numeric code for the legal nature. |
shareCapital |
integer | Declared share capital amount. |
mainActivity |
object | Primary economic activity with CNAE code and description. |
secondaryActivities |
array | Secondary economic activities with codes and descriptions. |
address |
object | Full address (street, district, city, state, ZIP). |
contact |
object | Phone and email details where available. |
taxRegime |
object | Tax regime details (Simples Nacional / MEI and related). |
partners |
array | Partners / shareholders (QSA) with names, roles and dates. |
partnerCount |
integer | Number of partners / shareholders. |
lastUpdated |
string | When the registry record was last updated. |
sourceUrl |
string (URL) | Reference URL for the company record. |
found |
boolean | False when the CNPJ could not be resolved. |
Need more company & government data?
- ACRA Company Scraper — Singapore company registry records.
- Crunchbase Scraper — company profiles, funding and investors.
- EU VAT Validator — validate and enrich EU VAT numbers.
- SEC EDGAR Filings Scraper — 10-K, 10-Q and 8-K filings by ticker or CIK.
FAQ
Do I need an account or API key? No. There is no login or key — just enter your list of CNPJs and click Run.
How many CNPJs can I look up per run? Thousands. Pass a list in any format and the actor batches them with automatic retries.
What happens with an invalid CNPJ?
It is returned with found: false so your batch never breaks.
How fresh is the data? Records reflect the most recent official monthly snapshot of Brazil's open company registry.
What export formats are available? JSON, CSV, Excel and XML, plus programmatic access through the Apify API.
Can I connect this to my other tools? The Brazil CNPJ Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.
Is the data official and legal to use? It originates from Brazil's public open company registry (Receita Federal). Only public data is returned; you are responsible for compliant use.
Notes
Original clean-room implementation. Returns only public data from Brazil's official open company registry; you are responsible for compliance with applicable terms and laws. Not affiliated with Receita Federal.
Input
| Field | Type | Description |
|---|---|---|
cnpjs requiredCNPJs | array | List of CNPJs to look up. Any format works — with or without dots/slash/dash (e.g. "00.000.000/0001-91" or "00000000000191"). |
includeRawInclude raw record | boolean | Also include the full raw Receita Federal record (all original Portuguese fields) alongside the clean structured output. Default: false |
proxyConfigurationProxy configuration | object | Optional. The data source is a public API that works without a proxy; enable a proxy only if you scrape very large volumes and hit rate limits. Default: {"useApifyProxy": false} |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~brazil-cnpj-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"cnpjs": [
"00000000000191"
]
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/brazil-cnpj-scraper").call(run_input={
"cnpjs": [
"00000000000191"
]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/brazil-cnpj-scraper').call({
"cnpjs": [
"00000000000191"
]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Company scraped One company record looked up by CNPJ (full Receita Federal data) | $0.001 | $0.0005 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
North Data Scraper
Look up European companies on North Data: legal name, former names, register number, address, founding date, LEI, business purpose, managing directors and officers, and recent register publications. Germany, UK, France, Austria and 20+ countries. Bulk lookups.
2,467 runs · 5 users · $0.004 / companyWebsite Content Crawler
Extract clean, readable content from any list of websites: page title, meta description, headings, main body text, word count and link/image counts. Optional same-domain crawl. Bulk-ready. Great for LLM/RAG ingestion, content audits and research.
206 runs · 20 users · $0.0024 / page scrapedSpyFu Domain Scraper
Bulk SEO and PPC reports for any domain from SpyFu: organic keywords, monthly SEO clicks and value, Google Ads budget, paid keywords, top keywords, competitors, top countries and monthly history. Competitor research for agencies. Export CSV/JSON.
185 runs · 7 users · $0.008 / domain reportTrustpilot Reviews Scraper
Scrape Trustpilot reviews and company ratings by company domain or Trustpilot URL: star rating, title, text, reviewer name & country, verification, date, company reply, plus company TrustScore and total reviews.
146 runs · 4 users · $0.0006 / review scrapedACRA Singapore Company Registry Scraper
Search and export Singapore's full ACRA corporate registry: UEN, entity name, status, incorporation date, address, SSIC industry codes, officers, former names and audit firms. Filter by name, status, entity type or industry. Public open data, no setup.
138 runs · 10 users · $0.01 / company scrapedWayback Machine Scraper
List every Internet Archive (Wayback Machine) snapshot of a URL or whole domain: timestamp, snapshot URL, status code, MIME type and content digest. Filter by date, status and dedupe. For SEO, OSINT and historical research. No setup.
135 runs · 15 users · $0.002 / snapshot scrapedSend the site and the fields. We build it and you get it first.