Receita Federal Scraper for CNPJ Registration Records

Every Brazilian company and each of its branches has its own CNPJ record at Receita Federal. Our Receita Federal scraper reads status, activity codes and address for your list.

Plans from €169 a month · Free project assessment · Reply within 1 business day

CSV · Excel · JSON · XML · FTP · SFTP · Amazon S3 · Google Cloud

solucoes.receita.fazenda.gov.br
Receita Federal Scraper for CNPJ Registration Records
solucoes.receita.fazenda.gov.brwhat you get
Typical fields for public registers
record_identity_namestatusregistered_ataddressdocument_url
Delivery

API, JSON feed or CSV, XLSX and JSON files

Schedule

One-time, monthly, weekly, daily or 3 times a day

Receita Federal Data, Collected for You

  1. You send

    Receita Federal pages, filters, fields and a schedule

  2. We run the scrapers

    Built, monitored and repaired by our team

  3. You receive the data

    API, JSON feed or CSV, XLSX and JSON files

The CNPJ query answers one number at a time, so a project starts from a list: your customers or suppliers, a portfolio to watch, or CNPJs gathered from other sources you name. We run each number through the comprovante page and the QSA and permit-exemption pages linked from it, parse the result into fixed columns, and repair the extraction whenever the page changes.

Runs are one-off, for a single check of a supplier base, or scheduled daily, weekly or monthly for a portfolio you keep watching. Each row keeps the CNPJ as text and the Brasília date and time the record was issued, and every file ships with a description of its fields. Assessing your list is free and comes before the first run.

Receita Federal CNPJ Database: Fields We Extract

The record a Receita Federal scraper reads is the Comprovante de Inscrição e de Situação Cadastral, the proof of registration and registration status. Its labels are Portuguese; we deliver English column names and keep the original label for each in the field documentation.

  • Identitynúmero de inscrição (the CNPJ itself), the MATRIZ or FILIAL marker for head office or branch, data de inscrição no CNPJ, data de constituição, nome empresarial (the registered name) and título do estabelecimento, the nome de fantasia or trade name.
  • Size and legal formporte (company size, as declared by the company itself) and the código e descrição da natureza jurídica, the legal-nature code with its description.
  • Activitiesthe main CNAE code with its description and every secondary CNAE code, each marked Dispensada or Não dispensada where the record shows whether that activity is exempt from local operating permits.
  • Address and contactlogradouro, número, complemento, CEP, bairro/distrito, município and UF, plus the company phone and e-mail the record prints, delivered when your project needs them.
  • Statussituação cadastral (ATIVA, SUSPENSA, INAPTA, BAIXADA or NULA) with its date and reason, any situação especial with its date, and the ente federativo responsável for public bodies.
  • QSAfrom the linked Quadro de Sócios e Administradores: capital social and, for each member, the qualificação (role) and país de origem; members that are companies are named, individuals are left out by default.
  • Closurefor a BAIXADA record, the certidão de baixa with data da baixa, motivo de baixa and the unidade cadastradora.

Every row also carries the issue date and time the comprovante prints, so you know exactly when each status was true. Records whose registered name is a private person's own name, as with sole traders, are left out by default.

Receita Federal CNPJ Database: Fields We Extract
Receita Federal Database Monitoring and Change History

Receita Federal Database Monitoring and Change History

A CNPJ record changes quietly. A supplier moves from ATIVA to INAPTA, a branch closes and turns BAIXADA, a company adds a secondary CNAE code or moves address, and nothing announces it. Scheduled runs over your list compare each record with the previous one and deliver the changed fields with the date we saw the change, beside the date Receita Federal itself records for the situação cadastral.

Branches are records of their own. A CNPJ opens with a root that the head office and all its branches share, and each branch has its own address, status and activity codes, so a company-level view is built by grouping on the root. The QSA is linked only from a head-office record that is not BAIXADA, so partner data is collected once per company and joined to its branches on the same root.

Identifiers need care too. A CNPJ has 14 characters, and the query field now takes letters as well as digits for the new alphanumeric CNPJ. We store every CNPJ as text, formatted and bare, so the alphanumeric CNPJ joins your systems as cleanly as the old numeric one, and a number the register does not know comes back marked CNPJ inexistente instead of vanishing from the file.

About Receita Federal and the CNPJ Register

Source
solucoes.receita.fazenda.gov.br
Category
public registers
Delivery
API, JSON feed, CSV, XLSX
Plans
From €169 a month
Get a quote

Receita Federal do Brasil is the federal revenue service under the Ministério da Fazenda, and it keeps the Cadastro Nacional da Pessoa Jurídica, the CNPJ register in which companies, their branches, associations and public bodies in Brazil are enrolled. Its public window on that register is the query at solucoes.receita.fazenda.gov.br: type a CNPJ and the page issues the comprovante for that one establishment, stamped with the date and time in Brasília and carrying a QR code and a barcode.

From the comprovante, buttons lead to the Consulta Quadro de Sócios e Administradores, to the Condições de Dispensa de Licenciamento page that lists, for each exempt activity, the state or municipality, the issuing body, the scope and the conditions, and, for a closed registration, to the certidão de baixa. The page sits inside the Redesim portal for business registration.

Two traits set this register apart for a data buyer. It records establishments, not only companies, so one business can hold many records. And it is a tax registration rather than a corporate filing: no accounts and no shareholding percentages, but the registration status that banks, buyers and procurement teams look up before they deal with a Brazilian business, with a porte the company declares and CNAE codes for what it is registered to do.

25Developers
500+Customers
1.5BPages extracted
15,000+Hours saved for our clients

Receita Federal scraping plans and pricing

Airplane

€199one-time

Setup fee included

100,000
One-time
Up to 5 days
7 days

Helicopter

€169/ mo

Setup fee €499

250,000
Monthly
Up to 5 days
14 days

Glasses

€229/ mo

Setup fee €499

1,000,000
Weekly
Up to 5 days
30 days

Microscope popular

€349/ mo

Setup fee €499

2,000,000
Daily
Same day
60 days

DNA

€549/ mo

Setup fee €799

3,000,000
3 times daily
Same day
90 days

Delivery: CSV, JSON or XLSX files, our API or a JSON feed. MCP server on request.

Full plan details

Why Scrape Receita Federal CNPJ Records

A CNPJ list goes stale the day it is exported; the comprovante says what is true today.

  • Supplier and customer checksSituação cadastral and its reason, run across a vendor base, show which suppliers are INAPTA, SUSPENSA or BAIXADA before a payment or a contract renewal.
  • KYB and onboardingNome empresarial, natureza jurídica, data de constituição and address confirm that a counterparty is who it says it is, and the QSA shows which companies sit among its partners.
  • Market sizing by activityMain and secondary CNAE codes with município and UF group a CNPJ list into sectors and regions, and porte, as the company declares it, splits the list by size.
  • Territory planningActive establishments with trade name, address and CEP become a territory file for field sales and distribution, branch by branch rather than one row per group.
  • Portfolio monitoringBanks, lessors and credit teams follow status changes and address moves on the companies they are exposed to.

About ScrapeIt

ScrapeIt builds and operates data extraction for its clients: we write the crawlers, run them on your schedule and fix them when sources change, and you get files rather than software. Registers like the CNPJ query reward that care - one record per number, labels in Portuguese, identifiers that must stay text. We deliver CNPJ records as CSV, Excel or JSONLines, to SFTP, Google Drive or Google Cloud Storage, or through our API. Partners who are private individuals are left out by default, and we treat personal data under GDPR.

FAQ

Still unsure? Write to info@scrapeit.io

Do you offer a Receita Federal API for CNPJ records?

Yes. The ScrapeIt Receita Federal API returns the CNPJ, nome empresarial, situação cadastral with its date, main and secondary CNAE codes and the address as JSON, served from our own endpoint on the refresh cycle you choose. You can also take the records as Excel or CSV files, as a JSON feed or as a direct load into your database.

Is it legal to scrape Receita Federal?

Yes. The comprovante, the QSA page and the permit-exemption page open to any visitor who enters a CNPJ, with no account. We collect only publicly available data - everything a visitor can see on Receita Federal - and we collect it legally. Partners who are private individuals are not part of the standard delivery.

How do you check CNPJ status for a whole list?

You send the list as a file - formatted or bare, old numeric or new alphanumeric CNPJs - and we run every number and return situação cadastral with its date and reason. Numbers the register does not know are marked CNPJ inexistente. On scheduled runs we can add a change report listing the records whose status moved since the previous pass.

Can you build a Receita Federal dataset for a sector or a state?

Yes, starting from CNPJs. The query works one number at a time, so a sector or state dataset begins with the CNPJs you hold or collect from sources you name; we then fill in every record and filter on CNAE code, UF and município, keeping head offices and branches apart.

Do you include partners and share capital from the QSA?

Yes, for head-office records that are not BAIXADA. The Quadro de Sócios e Administradores gives capital social and each member's qualificação and país de origem, plus the legal representative's role where one is listed; we name members that are companies and leave individuals out by default.

How it works

  1. 1

    Make a request

    You share your needs, expectations, and desired timeframe. We'll suggest the best solution based on your request and budget.

  2. 2

    We configure the crawlers

    Our specialists configure the crawlers and extract a sample dataset for your review before proceeding with the full-scale extraction.

  3. 3

    Collect and deliver

    Once you approve the sample, we launch the project and start full data collection. We gather, filter, and structure the data for easy use, delivering it on time in your preferred format.

  4. 4

    Maintain and support

    Our team manages ongoing processes, monitors website changes, and supports all data extraction cycles. We can also help integrate data into your systems or create dashboards to simplify analysis.

Request a quote

Tell us which sites, which fields and how often. A couple of lines is enough to start.

  • We reply within 1 business day
  • A sample dataset before the full run
  • We sign an NDA on request
  • Delivery by API, JSON feed or files
Which sites, which fields, how often. A couple of lines is enough.

This form is protected by Google reCAPTCHA, which loads when you start filling it in. If you prefer not to use it, email us at info@scrapeit.io. Privacy & Cookie Policy

We reply within 1 business day. No obligation.

Receita Federal data from €169/month. Free project assessment, reply within 1 business day.