Brazil CNPJ Lookup (Receita Federal) — No Start Fee
Pricing
$2.00 / 1,000 cnpj looked ups
Brazil CNPJ Lookup (Receita Federal) — No Start Fee
Look up any Brazilian company by CNPJ: legal name, status, address, CNAE, capital, Simples/MEI status. $0.002/lookup, no actor-start fee (a Store competitor charges $0.10 just to start a run).
Pricing
$2.00 / 1,000 cnpj looked ups
Rating
0.0
(0)
Developer
Gio
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
Look up any Brazilian company by its CNPJ and get back the official Receita Federal record: legal name, trade name, address, phone, status, capital, legal nature, CNAE (business activity codes), Simples/MEI tax regime status and, optionally, the partner/shareholder list (QSA). Pay per CNPJ, no account needed.
Why use this scraper
A CNPJ lookup is a small, frequent task (KYC checks, lead enrichment, due diligence, invoice validation), and the two closest alternatives on the Store either charge a steep one-time fee just to start a run or price the lookup itself higher. This Actor charges only $0.002 per CNPJ looked up and nothing else — no actor-start fee, which matters most on small, frequent runs (a 3-CNPJ run here costs the same $0.006 total it would cost per-CNPJ on a 300-CNPJ run).
Overview
Give it a list of CNPJs (with or without punctuation) and the Actor looks each one up against the official public Receita Federal registry data, returning one structured record per valid CNPJ. Records for CNPJs that do not exist or return an error are simply skipped rather than padded with empty rows.
Supported inputs
| Field | Type | Description |
|---|---|---|
cnpjs | array of strings (required) | CNPJs to look up, with or without punctuation (e.g. "33000167000101" or "33.000.167/0001-01"). |
includePartners | boolean | Also return the partner/shareholder list (QSA). Off by default, since it contains the names of individuals — enable only for a legitimate purpose such as KYC or due diligence, consistent with LGPD. |
maxItems | integer | Safety cap on the number of CNPJs processed (1–500). Default 100. Each CNPJ costs $0.002. |
Use cases
- KYC and onboarding checks — confirm a new business customer's CNPJ is active and matches the legal name on file before onboarding.
- Lead and CRM enrichment — turn a CNPJ in a spreadsheet or CRM into a full company record (address, CNAE, size) without a manual Receita Federal lookup.
- Invoice and vendor validation — verify a supplier's CNPJ is active and registered under the expected legal name before paying an invoice.
- Due diligence research — pull company status, capital and (optionally) partner names as a first-pass check before deeper diligence.
- Market mapping by activity code — batch-lookup a list of CNPJs collected elsewhere to tag each one with its official CNAE business-activity code.
How it works
- The Actor deduplicates and validates each entry in
cnpjs, keeping only 14-digit CNPJs (punctuation is stripped automatically) and capping the list atmaxItems. - Each CNPJ is looked up one at a time against the public Receita Federal company registry data served by ReceitaWS, respecting that service's own rate limit so every lookup succeeds instead of getting throttled mid-run.
- The response is reshaped into a flat record with the company's legal name, trade name, address, status, CNAE codes, capital, legal nature, Simples/MEI regime and (when
includePartnersistrue) its partner list. - A CNPJ that does not exist or returns an error from the source is skipped — no placeholder row is created for it.
Input configuration — 3 examples
Mode 1 — single CNPJ:
{"cnpjs": ["33000167000101"]}
Mode 2 — batch of CNPJs, punctuation allowed:
{"cnpjs": ["00.000.000/0001-91", "33.000.167/0001-01"],"maxItems": 10}
Mode 3 — with partner/shareholder list, for KYC:
{"cnpjs": ["33000167000101"],"includePartners": true}
Output sample
Real output from a production run, unedited:
{"cnpj": "33.000.167/0001-01","tipo": "MATRIZ","nome": "PETROLEO BRASILEIRO S A PETROBRAS","nome_fantasia": "PETROBRAS - EDISE","abertura": "28/09/1966","situacao": "ATIVA","situacao_data": "03/11/2005","motivo_situacao": "","capital_social": 205431960490.52,"natureza_juridica": "203-8 - Sociedade de Economia Mista","porte": "DEMAIS","cnae": "06.00-0-01","cnae_descricao": "Extração de petróleo e gás natural","cnaes_secundarios": ["19.21-7-00", "35.20-4-01", "35.20-4-02", "46.81-8-01", "86.30-5-99"],"logradouro": "AV REPUBLICA DO CHILE","numero": "65","complemento": "","bairro": "CENTRO","municipio": "RIO DE JANEIRO","uf": "RJ","cep": "20.031-170","telefone": "(21) 2166-0000","email": "cc-rfisc@petrobras.com.br","simples": { "optante": false, "data_opcao": null, "data_exclusao": null, "ultima_atualizacao": "2026-10-13T23:59:59.000Z" },"simei": { "optante": false, "data_opcao": null, "data_exclusao": null, "ultima_atualizacao": "2026-10-13T23:59:59.000Z" },"url": "https://www.receitaws.com.br/v1/cnpj/33000167000101","scrapedAt": "2026-11-03T04:03:56.261Z"}
Key output fields
| Field | Type | Description |
|---|---|---|
cnpj | string | Formatted CNPJ |
tipo | string | MATRIZ (headquarters) or FILIAL (branch) |
nome | string | Official registered legal name |
nome_fantasia | string | null | Trade name, when registered |
abertura | string | Founding date (DD/MM/YYYY) |
situacao | string | Registration status, e.g. ATIVA, BAIXADA, SUSPENSA |
capital_social | number | null | Registered share capital |
natureza_juridica | string | Legal nature code and description |
porte | string | Declared company size |
cnae | string | Primary business activity code |
cnae_descricao | string | Primary activity description |
cnaes_secundarios | array of strings | Secondary activity codes |
logradouro, numero, complemento, bairro, municipio, uf, cep | string | Registered address fields |
telefone, email | string | null | Registered contact details, when on file |
simples, simei | object | Simples Nacional / MEI tax-regime status and dates |
qsa | array | Partner/shareholder list, present only when includePartners is true |
url | string | Source record URL |
scrapedAt | string | ISO timestamp of the lookup |
Pricing
$0.002 per CNPJ successfully looked up. A 10-CNPJ run costs $0.02. No actor-start fee.
What makes this richer than the competition
Compared with the two closest listings for the same target on the Apify Store:
- vs. Brazil Company Registry Data & CNPJ Lookup (jungle_synthesizer, $0.002/record on Free but with a $0.10 actor-start fee on every run): the start fee alone costs 50 CNPJ lookups at this Actor's price; for small or occasional batches (the most common use case for a CNPJ check), this Actor is dramatically cheaper.
- vs. Consulta CNPJ Brasil e Empresas por CNAE (johnatan029, $0.0015/record plus a small actor-start fee): that listing is marginally cheaper per record for very large batches, but this Actor has no start fee at all and returns the full registry record including CNAE, capital and Simples/MEI status in the same call.
Notes & limitations
- Lookups run one CNPJ at a time with a built-in delay between requests to respect the public data source's rate limit; a batch of many CNPJs takes noticeably longer than a batch of a few (roughly 20 seconds per CNPJ). Plan run time accordingly for large batches rather than expecting instant results.
- A CNPJ that is invalid, not found, or returns an error from the source is skipped entirely rather than returned as an empty or error row — the final count of returned records can be lower than the number of CNPJs requested.
telefoneandemailreflect whatever contact details are on file in the public registry and are frequently blank for companies that have not kept them updated.qsa(the partner/shareholder list) is only included whenincludePartnersis explicitly set totrue; it is omitted by default because it contains the names of individuals.- Only CNPJs with exactly 14 digits (after punctuation is stripped) are processed; shorter identifiers such as a bare CPF are not valid input.
FAQ
Do I need a Receita Federal account or API key? No. CNPJ registry data is public, and this Actor needs no key, login or account.
Can I look up a CPF (individual taxpayer ID) instead of a CNPJ? No, this Actor only looks up CNPJs (company registrations), which are always 14 digits.
Why did I request 10 CNPJs but only get 8 records back? The missing CNPJs were either invalid, not found in the registry, or returned an error from the source — they are skipped rather than padded with empty placeholder rows.
Is the partner/shareholder list included by default?
No, set includePartners: true to include it; it is off by default since it contains personal names.
How current is the data?
It reflects the Receita Federal registry at the moment of the lookup, including the ultima_atualizacao timestamp on the Simples/MEI status fields.
Can I check if a company is still active before signing a contract?
Yes — the situacao field reports the current registration status (e.g. ATIVA, BAIXADA, SUSPENSA), which is exactly the kind of check most buyers run this Actor for before onboarding a new vendor or customer.
For AI Agents & LLM Apps
This Actor is Apify MCP-compatible and can be called directly from an LLM agent:
- Via Apify MCP (
mcp.apify.com): addgio21/receitaws-br-scraperas a tool and pass{"cnpjs": ["33000167000101"]}as the call arguments. - Via API (no MCP needed):
curl -X POST "https://api.apify.com/v2/acts/gio21~receitaws-br-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"cnpjs": ["33000167000101"]}'
Disclaimer
This Actor retrieves publicly available Brazilian company registry data (Receita Federal / CNPJ records) via a public data provider. It is an independent tool and is not affiliated with, endorsed by, or sponsored by the Receita Federal do Brasil or the Ministério da Fazenda.
SEO Keywords
cnpj lookup, consulta cnpj, receita federal api, cnpj scraper, brazil company data, cnpj batch lookup, kyc brazil, cnpj validation api, consulta cnpj em massa, brazilian company registry api