Brazil CNPJ Lookup - Company Registry, CNAE & Simples Data avatar

Brazil CNPJ Lookup - Company Registry, CNAE & Simples Data

Pricing

from $1.00 / 1,000 companies

Go to Apify Store
Brazil CNPJ Lookup - Company Registry, CNAE & Simples Data

Brazil CNPJ Lookup - Company Registry, CNAE & Simples Data

Look up Brazilian companies by CNPJ in bulk: legal and trade name, registration status, CNAE activities, address with IBGE code, size, legal nature, share capital, Simples Nacional and MEI, from Receita Federal open data. Check digits validated first; invalid and not found CNPJs are free.

Pricing

from $1.00 / 1,000 companies

Rating

0.0

(0)

Developer

BR Open Data Tools

BR Open Data Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Brazil CNPJ Lookup – Company Registry, CNAE & Simples Data

Look up Brazilian companies by CNPJ in bulk and get one clean row per company from the official open data of the Brazilian Federal Revenue (Receita Federal):

  • Legal name and trade name, headquarters or branch.
  • Registration status (active, closed, suspended, unfit, void) with date and reason.
  • Main and secondary activities (CNAE) with descriptions.
  • Address with IBGE city code, company size, legal nature, share capital, opening date.
  • Simples Nacional and MEI status with start and end dates.
  • Number of partners and their qualifications, never their names.

Paste up to 5,000 CNPJs per run, with or without punctuation. Invalid numbers and duplicates are removed before any request and are never charged.

Who uses it

  • B2B sales and SDR teams enriching lead lists with activity, size, city and status.
  • Credit, risk, KYC and onboarding teams checking that a company is active and what it does.
  • Procurement teams validating suppliers.
  • Accountants, analysts and data teams who need clean company data in English field names.

Why use it

  • Check digits validated first: a mistyped CNPJ costs nothing and is listed in the run summary.
  • Automatic failover between three free public services that serve the Federal Revenue data (BrasilAPI, Minha Receita and OpenCNPJ). If one is slow, rate-limited, down or simply missing a company, the next one answers; the row tells you which one did.
  • Clean output: dates as YYYY-MM-DD, numbers as numbers, CNAE codes with 7 digits, status and size as stable English codes plus the original label.
  • Privacy by design: partner names, CPF fragments and age ranges are never returned. Company phone and e-mail only when you turn them on.
  • Only active companies filter: inactive ones are skipped and not charged.

Input

FieldDescriptionDefault
CNPJs14-digit company numbers, with or without punctuation. Up to 5,000.–
Only active companiesDeliver only companies with status ATIVA.off
Include secondary activities (CNAE)List of secondary activities with descriptions.on
Include partners summaryNumber of partners and their qualifications (no names).on
Include company contactRegistered phones and e-mail.off
Max companies / Max HTTP requests / Max run timeHard limits that control cost.1000 / 1200 / 900 s
Interval between requestsMinimum wait between two requests to the same service.600 ms

Example input

{
"cnpjs": ["33.000.167/0001-01", "00000000000191", "60.746.948/0001-12"],
"onlyActive": true,
"includeContactInfo": false
}

Output

One row per company. Example (values shortened):

{
"cnpj": "33000167000101",
"cnpjFormatted": "33.000.167/0001-01",
"cnpjRoot": "33000167",
"isHeadquarters": true,
"legalName": "PETROLEO BRASILEIRO S A PETROBRAS",
"tradeName": "PETROBRAS - EDISE",
"registrationStatus": "active",
"registrationStatusLabel": "ATIVA",
"registrationStatusDate": "2005-11-03",
"registrationStatusReason": null,
"openedAt": "1966-09-28",
"legalNatureCode": "2038",
"legalNature": "Sociedade de Economia Mista",
"companySize": "other",
"companySizeLabel": "DEMAIS",
"shareCapital": 205431960000.0,
"mainActivity": {"code": "0600001", "description": "Extração de petróleo e gás natural"},
"secondaryActivities": [{"code": "1921700", "description": "Fabricação de produtos do refino de petróleo"}],
"simplesNacional": {"optant": null, "since": null, "until": null},
"mei": {"optant": null, "since": null, "until": null},
"street": "AVENIDA REPUBLICA DO CHILE",
"number": "65",
"district": "CENTRO",
"city": "RIO DE JANEIRO",
"cityIbgeCode": "3304557",
"state": "RJ",
"postalCode": "20031170",
"partnersCount": 8,
"partnerQualifications": ["Diretor", "Presidente"],
"source": "BrasilAPI",
"fetchedAt": "2026-11-16T03:00:00+00:00",
"attribution": "Source: Brazilian Federal Revenue (Receita Federal) open CNPJ data, via the public BrasilAPI, Minha Receita and OpenCNPJ services"
}

With Include company contact, rows also have phones and email. Fields without data are null. Activity descriptions, legal nature and labels are kept in Portuguese, as published.

A run summary is saved as SUMMARY in the run's key-value store: invalid, not found and failed CNPJs (listed), duplicates skipped, companies skipped by the active filter, rows per service, requests used, duration and the stop reason.

Cost control

  • Invalid, duplicate, not found and failed CNPJs are never charged; neither are companies skipped by Only active companies.
  • Max companies caps the number of billable rows; Max HTTP requests and Max run time cap the work done. The run stops cleanly and keeps what it already delivered.
  • The maximum charge you set for a run is respected: the Actor stops before exceeding it.
  • If every public service fails for 10 CNPJs in a row, the run stops with a clear message instead of spending your time.

Pricing

Pay per event: a small fee when a run starts and a fee per company delivered. See the pricing tab for current values.

Tips

  • Throughput is about 0.6 seconds per company, so 1,000 CNPJs take roughly 10 to 15 minutes. Split very large lists into several runs or raise Max run time.
  • Use cnpjRoot to group a headquarters and its branches.
  • Schedule a weekly run on your customer or supplier list with Only active companies off and compare registrationStatus to catch closures.

Limitations

  • The Federal Revenue publishes the open CNPJ data about once a month, and each public service refreshes its copy on its own schedule, so very recent changes may be missing and two services can briefly differ. The source field tells you which one answered.
  • cityIbgeCode is not available when the answer came from OpenCNPJ.
  • The public services are free and community-run; they may limit heavy use. The Actor spaces requests and switches services automatically, but their availability is outside its control.
  • For sole proprietors (MEI, empresário individual) the legal name usually contains the owner's name. That is part of the public registry; if you process it, you are responsible for having a lawful basis under the Brazilian data protection law (LGPD). Contact data is off by default for the same reason.

Data source and license

  • Source: Cadastro Nacional da Pessoa Jurídica (CNPJ), open data of the Brazilian Federal Revenue (Receita Federal), published under the federal open data policy, which allows free reuse, including commercial use, with credit to the source.
  • The data is read through three free, open-source public services that republish it: BrasilAPI, Minha Receita and OpenCNPJ. No login or API key is required.
  • Keep the attribution "Source: Receita Federal (open CNPJ data)" when you share data from this Actor.
  • This Actor is an independent tool and is not affiliated with or endorsed by the Receita Federal or by any of these services.