Skip to content
//Brazil CNPJ Scraper example\\

Individual entrepreneurs in Rio de Janeiro

Companies with legal nature 2135 (Empresário Individual) registered in the city of Rio de Janeiro.

Updated November 30, 2026

What this example returns

This example returns up to 10 companies.

The dataset’s “Companies” view shows 15 columns: CNPJ, Legal name, Trade name, Status, Opened, CNAE, Activity, Size, Capital (BRL), Municipality, UF, Phone, Partners, HQ/branch, and Record. See every output field.

What each setting does

The input this example runs Brazil CNPJ Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

States (UF) states

RJ

Search companies registered in these states. Combine with a CNAE code, municipality, legal nature or partner to narrow the list. Several states are searched together.

Municipalities cities

Rio de Janeiro

Municipality names or IBGE codes, e.g. 'Campinas, SP', 'Rio de Janeiro' or 3550308. Add the state to a name that exists in several states.

Maximum results maxItems

10

Maximum number of companies to save (and pay for). 0 means no limit.

Default: 20 → this example uses 10

Legal nature codes legalNatures

2135

4-digit natureza jurídica codes, e.g. 2062 (Sociedade Empresária Limitada), 2135 (Empresário Individual), 2305 (EIRELI), 2240 (Sociedade Simples Limitada), 2054 (S.A. Fechada), 3999 (Associação Privada).

.json
{
  "states": [
    "RJ"
  ],
  "cnaes": [],
  "cities": [
    "Rio de Janeiro"
  ],
  "legalNatures": [
    "2135"
  ],
  "maxItems": 10
}

What it costs

From about $0.0027 for 10 companies

An estimate at the lowest plan price: 10 × $0.00027 per company (One company saved to the dataset (CNPJ record with partners, address and tax data). Companies removed by your filters, unknown and invalid CNPJs are free). A run is charged for the events it reports, so one that finds fewer companies costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Brazil CNPJ Scraper readme:

How many companies can I get?

As many as match your search. São Paulo alone has millions of CNPJs, so combine a state with a CNAE code or municipality for focused lists. Set maxItems to 0 for no limit.

Other ways to run Brazil CNPJ Scraper

All examples of Brazil CNPJ Scraper

About Brazil CNPJ Scraper

Brazilian companies from the open Receita Federal CNPJ registry: look up CNPJs or search by state, CNAE, municipality, legal nature or partner. Partners (QSA), address, phone, status, Simples/MEI and tax regimes. No login needed.

Price:
From $0.27 / 1,000 results
Developer:
Corner Ledger

Brazil CNPJ Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.