Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa avatar

Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa

Pricing

$0.80 / 1,000 companies

Go to Apify Store
Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa

Brazil CNPJ Bulk Lookup - Consulta CNPJ em Massa

Bulk CNPJ lookup for Brazilian companies from Receita Federal open data: razão social, status, CNAE, address, porte, capital social, Simples/MEI. Fast, 3 sources with fallback, LGPD-safe (no QSA). $0.80 per 1,000 found.

Pricing

$0.80 / 1,000 companies

Rating

0.0

(0)

Developer

Frankelys Hernandez

Frankelys Hernandez

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Brazil CNPJ Bulk Lookup – Consulta CNPJ em Massa (Receita Federal)

Bulk CNPJ lookup API for Brazilian companies. Paste thousands of CNPJs and get clean, structured company data from Receita Federal open data: legal name (razão social), trade name (nome fantasia), registration status (situação cadastral), CNAE activities, legal nature, company size (porte), share capital (capital social), Simples Nacional / MEI flags and opt-in dates, tax regime (Lucro Real / Lucro Presumido) and full address. You pay only for companies found: invalid or non-existent CNPJs are free.

🇬🇧 English · 🇪🇸 Español · 🇧🇷 Português


English

What does Brazil CNPJ Bulk Lookup do?

It validates, de-duplicates and enriches a list of Brazilian CNPJs (company tax IDs) with official registry data published by Receita Federal do Brasil as open data (Cadastro Nacional da Pessoa Jurídica). It is ideal for lead enrichment, KYB / supplier onboarding, CRM cleaning, B2B prospecting by CNAE, and market research.

Why use it?

  • ⚡ Fast: hundreds of CNPJs per minute, parallel lookups with automatic retries.
  • 🔁 Reliable: three independent open-data sources with automatic fallback (OpenCNPJ → Minha Receita → BrasilAPI).
  • ✅ Built-in CNPJ validation (check digits), including the new alphanumeric CNPJ format.
  • 💸 Cheap: $0.80 per 1,000 companies found, no start fee, invalid/not-found CNPJs are not charged.
  • 🔒 Privacy-first (LGPD): no partner/shareholder (QSA) data is ever returned; for sole proprietors / MEI the CPF embedded in the name and the personal contacts are removed.

Input

A run with no CNPJs uses the three example numbers already filled in the form, so Start returns companies without editing anything. Paste your own list (or a spreadsheet column into cnpjText) to replace them. onlyActive keeps registration status ATIVA only; that comparison is case-insensitive across all three data sources.

FieldDescription
cnpjsList of CNPJs, with or without punctuation
cnpjTextOr paste a column from Excel/CSV (new lines, commas, spaces)
onlyActiveReturn only ATIVA companies (others are skipped, not charged)
skipSoleProprietorsSkip individual entrepreneurs and MEI
includeContactsInclude business email and phones (default true)
includeTaxRegimeAdd the latest declared tax regime (LUCRO REAL, LUCRO PRESUMIDO, IMUNE...) + year-by-year history (default false, slightly slower, same price)
concurrencyParallel lookups, 1–20 (default 8)
{ "cnpjs": ["00.000.000/0001-91", "60701190000104"], "onlyActive": true }

Output (one item per CNPJ)

{
"cnpjFormatted": "00.000.000/0001-91", "found": true,
"legalName": "BANCO DO BRASIL SA", "tradeName": "DIRECAO GERAL",
"registrationStatus": "ATIVA", "headOffice": true, "foundedAt": "1966-08-01",
"legalNature": "Sociedade de Economia Mista", "companySize": "DEMAIS",
"shareCapitalBRL": 120000000000.0,
"mainActivity": {"code": "6422100", "description": "Bancos múltiplos, com carteira comercial"},
"secondaryActivities": [{"code": "6499999", "description": "..."}],
"address": {"street": "SAUN QUADRA 5 BLOCO B", "city": "BRASILIA", "state": "DF", "zipCode": "70040912"},
"email": null, "phones": ["+556134939002"],
"simplesNacional": false, "mei": false, "isSoleProprietor": false,
"simplesOptInDate": null, "simplesExclusionDate": null, "ibgeCityCode": "5300108",
"taxRegime": "LUCRO REAL", "taxRegimeYear": 2024,
"taxRegimeHistory": [{"year": 2024, "regime": "LUCRO REAL"}, {"year": 2023, "regime": "LUCRO REAL"}],
"source": "OpenCNPJ (Receita Federal open data)"
}

Not found or invalid CNPJs return found: false and error: NOT_FOUND | INVALID_CNPJ (free). Download as JSON, CSV, Excel or via API.

How to use it (3 steps)

  1. Paste your CNPJs into CNPJs (or copy a whole column from Excel / Google Sheets into CNPJs (paste text)).
  2. Optionally turn on Only active companies or Skip sole proprietors / MEI to keep just the companies you need.
  3. Click Start and download the results as Excel, CSV or JSON, or read them through the Apify API.
  • Lead enrichment & B2B prospecting in Brazil: add CNAE, size, city/state and business phone to a list of prospects.
  • KYB / supplier onboarding: check that a supplier's CNPJ exists, is ATIVA and matches the expected legal name.
  • CRM and ERP data cleaning: fix formatting, remove duplicates and flag closed companies (BAIXADA, INAPTA, SUSPENSA).
  • Tax and accounting checks: see whether a company opts into Simples Nacional or is a MEI.
  • Market research: segment companies by CNAE activity, legal nature, company size or state.

Integrations

Call it from Python, Node.js, Make, Zapier, n8n, Google Sheets or any HTTP client through the Apify API, schedule it to re-check your base every month, or send results to a webhook.

Pricing

Pay-per-event: $0.0008 per company found ($0.80 / 1,000). No start fee. Platform usage is minimal (256 MB).

Data sources & freshness

Data comes from the official Receita Federal CNPJ open data (dados abertos), updated monthly by Receita Federal, served via open-source projects OpenCNPJ (MIT), Minha Receita and BrasilAPI. This Actor is not affiliated with Receita Federal.

FAQ

Is it legal? Yes. CNPJ registry data is public open data published by the Brazilian government. Partner (QSA) and personal data are deliberately excluded. Can I run it via API / integrate with Make, Zapier, n8n? Yes, as any Apify Actor. How many CNPJs can I check at once? Thousands per run; duplicates and invalid CNPJs are removed automatically before lookup. Does it return partners (sócios / QSA)? No, by design, to stay LGPD-friendly. Can I see if a company is Lucro Real or Lucro Presumido? Yes. Turn on includeTaxRegime to get taxRegime (the latest year the company declared, e.g. LUCRO PRESUMIDO), taxRegimeYear and taxRegimeHistory. Ideal for accountants, tax-software sales and segmenting B2B leads by tax regime. Simples Nacional / MEI flags and their opt-in/exclusion dates are always included. How fresh is the data? It follows the monthly Receita Federal open-data release.


Español

¿Qué hace?

Consulta masiva de CNPJ de empresas brasileñas con datos abiertos oficiales de la Receita Federal: razón social, nombre fantasía, situación catastral, actividad CNAE, naturaleza jurídica, tamaño, capital social, Simples Nacional/MEI (con fechas de opción/exclusión), régimen tributario (Lucro Real / Lucro Presumido) con includeTaxRegime y dirección. Ideal para enriquecimiento de leads, KYB/alta de proveedores, limpieza de CRM y prospección B2B en Brasil.

  • Rápido y fiable (3 fuentes con respaldo automático, reintentos).
  • Valida dígitos verificadores, elimina duplicados, soporta CNPJ alfanumérico.
  • $0,0008 por empresa encontrada, sin costo de inicio; CNPJ inválidos o inexistentes no se cobran.
  • Sin datos de socios (QSA) ni datos personales (LGPD).

Entrada: lista cnpjs o texto cnpjText. Si dejas ambos vacíos, la ejecución usa los tres CNPJ de ejemplo del formulario (para que Start devuelva datos). Salida: un registro por CNPJ en JSON/CSV/Excel.

{ "cnpjs": ["00.000.000/0001-91", "33.683.111/0002-80"], "onlyActive": true, "skipSoleProprietors": true }

Português

O que faz?

Consulta CNPJ em massa com dados abertos oficiais da Receita Federal: razão social, nome fantasia, situação cadastral, CNAE principal e secundários, natureza jurídica, porte, capital social, opção pelo Simples Nacional e MEI (com datas de opção/exclusão), regime tributário (Lucro Real / Lucro Presumido / Arbitrado / Imune) com histórico por ano (includeTaxRegime), endereço completo, e-mail e telefone da empresa. Perfeito para enriquecimento de leads, prospecção B2B, KYC/KYB, homologação de fornecedores e higienização de base/CRM.

  • ⚡ Rápido: centenas de CNPJs por minuto, consultas em paralelo.
  • 🔁 Confiável: 3 fontes de dados abertos com fallback automático (OpenCNPJ, Minha Receita, BrasilAPI).
  • ✅ Validação de CNPJ (dígitos verificadores), remoção de duplicados e suporte ao CNPJ alfanumérico.
  • 💸 US$ 0,0008 por empresa encontrada (US$ 0,80 por mil), sem taxa de início; CNPJ inválido ou inexistente não é cobrado.
  • 🔒 LGPD: não retorna quadro societário (QSA); para empresário individual/MEI remove o CPF do nome e os contatos pessoais.

Entrada: lista cnpjs ou cole uma coluna do Excel em cnpjText. Filtros: somente ativas, excluir MEI. Saída em JSON, CSV, Excel ou API.

Casos de uso: consultar CNPJ em lote a partir de uma planilha, validar CNPJ de fornecedores, enriquecer leads com CNAE e telefone, higienizar CRM e verificar se a empresa é optante do Simples Nacional ou MEI. Funciona via API (Python, Node.js, Make, Zapier, n8n) e pode ser agendado para rodar todo mês.

Fonte: dados abertos do CNPJ da Receita Federal (atualização mensal). Sem vínculo com a Receita Federal.