Brazil CNPJ registry: scrapers and the official API, compared

Brazilian company records: CNPJ, legal and trade names, status, CNAE activity, city, state and partners.

Short answer

Brazil CNPJ registry's official Receita Federal CNPJ open data (Dados Abertos) is public and free (the open data files need no key); start there for single lookups, and use a scraper when you need many companys in one run. For most Brazil CNPJ registry jobs, start with Brazilian CNPJ Bulk Lookup & Partner Records Scraper: it covers 3 of 8 core fields (cnpj, municipio, uf) at $0.99 per 1,000 results on Apify's Free plan. The top published score for Brazil CNPJ registry goes to CNPJ Scraper & Leads Brazil: Empresas por CNAE e Cidade by roomy_tweet (76 of 100), a Store tool from another publisher, listed for reference.

From published Store listings, output schemas and the official documentation. Checked 2026-11-10. How the ranking works.

Brazilian CNPJ Bulk Lookup & Partner Records Scraper: inputs, code and costOpen in Apify Store

1 catalogue Actor 8 other Store tools Official API: Public API Lowest rate  $0.99 per 1K

Route map

Each line is one way to get Brazil CNPJ registry data; each stop is a field you probably need. Green lines are catalogue Actors, ranked by the published formula.

Route diagram for Brazil CNPJ registry dataBrazilian CNPJ Bulk Lookup & Partner Records Scraper: stops at 2 of the 10 fields shown; Other Store tools (8): stops at 7 of the 10 fields shown; Receita Federal CNPJ open data (Dados Abertos): public, field coverage not compared.Brazil CNPJ registrynomecnpjrazaosituacaocnaemunicipioemailnumeroportesocios1+API

Stops are fields. A ring means the field is in that route's published output schema; no ring means the line passes without it. Bold labels are the core fields for this website, the rest are fields that differ between routes. A white capsule means every data line stops there. The red line is the official API; its field coverage is not compared. A crossed red line means there is no open official API.

Catalogue Actors for Brazil CNPJ registry

Brazilian CNPJ Bulk Lookup & Partner Records Scraper

Look up any number of Brazilian CNPJ numbers and get official Receita Federal data: company name, legal status, CNAE industry codes, address,…

3/8 core fields 11 output fields $0.99 per 1K Open in Apify Store

Field matrix: who returns what

Every tool with a published output schema, against the 8 fields most Brazil CNPJ registry jobs need. A dot means the field name appears in the schema; rows can still leave it empty.

Which tools return each core Brazil CNPJ registry field, from published output schemas
ToolcnpjrazaonomesituacaocnaemunicipioufdataFields
Brazilian CNPJ Bulk Lookup & Partner Records Scraper●––––●●–3/8
CNPJ Scraper & Leads Brazil: Empresas por CNAE e CidadeReference only, by roomy_tweet●––––●●–3/8
CNPJ Lead Scraper APIReference only, by brasildados●–●–––●–3/8
Brazil CNPJ Scraper. Receita Federal Company RecordsReference only, by seemuapps●–––––––1/8
Brazil CNPJ Lookup ScraperReference only, by parseforge●–––––––1/8
Brazil CNPJ ScraperReference only, by hipersoft●–––––––1/8
CNPJ Brasil Scraper (Company Data & Leads)Reference only, by reventadata●–––––––1/8
Brazil Government Contracts CheckReference only, by brasildados––––––––0/8
Brazil CNPJ KYC ScraperReference only, by brasildados●–––––––1/8
Tools returning it80100230

Field dictionary: the exact keys

The same core field has a different key in each Actor's output. Map these before you merge datasets; a dash means the published schema has no matching key. Need a field that is not listed here, such as email? Search every Brazil CNPJ registry Actor by field.

Output keys for each core Brazil CNPJ registry field in the top catalogue Actors
Core field Brazilian CNPJ Bulk Lookup…
cnpj cnpj
razao –
nome –
situacao –
cnae –
municipio municipio
uf uf
data –

All 9 tools, scored

Catalogue Actors link to their detail pages; the score (0 to 100) is the published formula, identical for every tool. Other Store tools follow in their own table, for reference. Price is the published primary-result rate per 1,000 (the Free-plan rate where the price is tiered; higher Apify plans pay less); start events and platform usage are excluded.

Catalogue Actors for Brazil CNPJ registry, ranked by the published method
Sample fields
69 cnpj, municipio, uf 11 $0.99 18 runs, too few to rate Nov 2026

Other Store tools, for reference

Scored with the same published formula and listed for comparison only; this site does not link or recommend them.

Other Store tools for Brazil CNPJ registry, for reference
Sample fields
76
CNPJ Scraper & Leads Brazil: Empresas por CNAE e Cidade Reference only, by roomy_tweet
cnpj, municipio, uf 35 $1.50 100% of 40 runs Nov 2026
74
CNPJ Lead Scraper API Reference only, by brasildados
cnpj, municipioNome, uf 40 $70 100% of 103 runs Oct 2026
70
Brazil CNPJ Scraper. Receita Federal Company Records Reference only, by seemuapps
cnpj, cnpjFormatted, legalName 12 $0.99 100% of 32 runs Nov 2026
69
Brazil CNPJ Lookup Scraper Reference only, by parseforge
cnpj, razaoSocial, nomeFantasia 12 $8.00 100% of 30 runs Oct 2026
69
Brazil CNPJ Scraper Reference only, by hipersoft
cnpj, companyName, tradeName 9 $1.00 100% of 29 runs Nov 2026
68
CNPJ Brasil Scraper (Company Data & Leads) Reference only, by reventadata
cnpj, cnpjFormatted, legalName 21 $2.00 100% of 24 runs Nov 2026
60
Brazil Government Contracts Check Reference only, by brasildados
id, numero, objeto 17 $60 100% of 45 runs Sep 2026
49
Brazil CNPJ KYC Scraper Reference only, by brasildados
cnpj, cnpjFormatado, consultadoEm 7 $200 100% of 44 runs Oct 2026

Official API route

Receita Federal CNPJ open data (Dados Abertos)

Receita Federal publishes the CNPJ registry as free monthly bulk files on its file repository (arquivos.receitafederal.gov.br, folder Dados/Cadastros/CNPJ, latest folder 2026-10), linked from the dados.gov.br dataset page. The Conecta gov.br Consulta CNPJ API is for public administration bodies.

Price. Free; the open data files need no key.

Limits. Files are released monthly as bulk archives; Receita Federal offers no public per-record query API. Limits are not published.

Official documentation

CNPJ data is published as government open data; partner records contain personal data subject to Brazil's LGPD. This is general information, not legal advice.

Read Brazil CNPJ registry's terms. Keep to public data, do not bypass logins or access controls, and check whether personal data is involved before you collect it. The can-I-scrape checklist walks through it.

How to start

  1. Open Brazilian CNPJ Bulk Lookup & Partner Records Scraper and start from its default input; its Actor page has the full example input and code.
  2. Set the Brazil CNPJ registry search, profile, listing or URL you need and a result limit.
  3. Run it and export the dataset as JSON, CSV or Excel, or call it from the Apify API.

Call Brazilian CNPJ Bulk Lookup & Partner Records Scraper from code

The example input uses the Actor's published defaults; set your own Brazil CNPJ registry query before you run it. You need an Apify API token.

Python

from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "mode": "lookup",
    "cnpjs": [
        "18236120000158"
    ],
    "uf": "ALL",
    "situacao": "ATIVA",
    "includePartners": True,
    "includeSecondaryActivities": True,
    "maxItems": 1
}

run = client.actor("dataspryva/brazilian-cnpj-bulk-lookup-and-partner-records").call(run_input=run_input)
if run is None:
    raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

pip install apify-client

JavaScript

import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
    "mode": "lookup",
    "cnpjs": [
        "18236120000158"
    ],
    "uf": "ALL",
    "situacao": "ATIVA",
    "includePartners": true,
    "includeSecondaryActivities": true,
    "maxItems": 1
};

const run = await client.actor("dataspryva/brazilian-cnpj-bulk-lookup-and-partner-records").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

npm install apify-client

cURL

curl -X POST "https://api.apify.com/v2/actors/dataspryva~brazilian-cnpj-bulk-lookup-and-partner-records/run-sync-get-dataset-items"   -H "Authorization: Bearer $APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"mode":"lookup","cnpjs":["18236120000158"],"uf":"ALL","situacao":"ATIVA","includePartners":true,"includeSecondaryActivities":true,"maxItems":1}'

Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).

MCP (AI agents)

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=dataspryva/brazilian-cnpj-bulk-lookup-and-partner-records",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}

Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.

Questions people ask

What is the cheapest catalogue Actor for Brazil CNPJ registry data?

Brazilian CNPJ Bulk Lookup & Partner Records Scraper lists $0.99 per 1,000 results (pay per event), with 11 fields in its published output schema. Start events and platform usage are billed separately. Checked 2026-11-10.

Which Brazil CNPJ registry scraper returns the most core fields?

Brazilian CNPJ Bulk Lookup & Partner Records Scraper covers 3 of the 8 core Brazil CNPJ registry fields this page tracks (cnpj, razao, nome, situacao, cnae, municipio, uf, data), based on its published output schema.

Does Brazil CNPJ registry have an official API?

Public API: Receita Federal publishes the CNPJ registry as free monthly bulk files on its file repository (arquivos.receitafederal.gov.br, folder Dados/Cadastros/CNPJ, latest folder 2026-10), linked from the dados.gov.br dataset page. The Conecta gov.br Consulta CNPJ API is for public administration bodies. Free; the open data files need no key.

Is it legal to scrape Brazil CNPJ registry?

It depends on what you collect and how. CNPJ data is published as government open data; partner records contain personal data subject to Brazil's LGPD. Read Brazil CNPJ registry's terms (https://www.gov.br/pt-br/termos-de-uso) before you collect, and check whether personal data is involved. This is general information, not legal advice.

More on Brazil CNPJ registry

Sources

Data checked 2026-11-10
Cite this page

Scraper Finder. "How to get Brazil CNPJ registry data." https://scraperfinder.com/sites/cnpj/ (data checked 2026-11-10).

Highest-scoring catalogue Actor

Brazilian CNPJ Bulk Lookup & Partner Records Scraper: 3 of 8 core fields, $0.99 per 1,000 results, score 69. The highest score overall is 76 (CNPJ Scraper & Leads Brazil: Empresas por CNAE e Cidade, a Store tool from another publisher); both are in the table above.

Open in Apify Store