Brazil CNPJ Lookup (Receita Federal) — No Start Fee avatar

Brazil CNPJ Lookup (Receita Federal) — No Start Fee

Pricing

$2.00 / 1,000 cnpj looked ups

Go to Apify Store
Brazil CNPJ Lookup (Receita Federal) — No Start Fee

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

Gio

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

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

FieldTypeDescription
cnpjsarray of strings (required)CNPJs to look up, with or without punctuation (e.g. "33000167000101" or "33.000.167/0001-01").
includePartnersbooleanAlso 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.
maxItemsintegerSafety cap on the number of CNPJs processed (1–500). Default 100. Each CNPJ costs $0.002.

Use cases

  1. KYC and onboarding checks — confirm a new business customer's CNPJ is active and matches the legal name on file before onboarding.
  2. 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.
  3. Invoice and vendor validation — verify a supplier's CNPJ is active and registered under the expected legal name before paying an invoice.
  4. Due diligence research — pull company status, capital and (optionally) partner names as a first-pass check before deeper diligence.
  5. 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

  1. The Actor deduplicates and validates each entry in cnpjs, keeping only 14-digit CNPJs (punctuation is stripped automatically) and capping the list at maxItems.
  2. 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.
  3. 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 includePartners is true) its partner list.
  4. 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

FieldTypeDescription
cnpjstringFormatted CNPJ
tipostringMATRIZ (headquarters) or FILIAL (branch)
nomestringOfficial registered legal name
nome_fantasiastring | nullTrade name, when registered
aberturastringFounding date (DD/MM/YYYY)
situacaostringRegistration status, e.g. ATIVA, BAIXADA, SUSPENSA
capital_socialnumber | nullRegistered share capital
natureza_juridicastringLegal nature code and description
portestringDeclared company size
cnaestringPrimary business activity code
cnae_descricaostringPrimary activity description
cnaes_secundariosarray of stringsSecondary activity codes
logradouro, numero, complemento, bairro, municipio, uf, cepstringRegistered address fields
telefone, emailstring | nullRegistered contact details, when on file
simples, simeiobjectSimples Nacional / MEI tax-regime status and dates
qsaarrayPartner/shareholder list, present only when includePartners is true
urlstringSource record URL
scrapedAtstringISO 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.
  • telefone and email reflect 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 when includePartners is explicitly set to true; 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): add gio21/receitaws-br-scraper as 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