Public API

Welcome to our Public API for querying Brazilian CNPJ numbers. Our goal is to facilitate automated access to publicly available company information, allowing developers, BI analysts, CRM professionals, and others to easily integrate this data into their systems.

This free version of the API is available to anyone without the need for registration or authentication. However, it is important to note that the data may be delayed compared to the original source, as it periodically reflects information from public portals.

Features

Receita Federal
Company registration data, status, contacts, address, CNAEs, and partners.

Simples Nacional
Indicator of whether the company is opted in or not, along with the dates of inclusion in Simples and MEI.

Cadastro de Contribuintes
Number, state (UF), and registration status of state tax numbers (inscrições estaduais).

SUFRAMA
Number, registration status, and tax incentives for the SUFRAMA registration.

The data is guaranteed to be updated within 45 days or less for active establishments.

Usage Limits

Our Public API is limited to 5 queries per minute per IP address.

If you want to increase this limit and gain access to additional resources, you can register for free on our platform and use the Commercial API .

How to Use

To perform a query, simply access the endpoint below with the CNPJ number (without punctuation):

GET https://open.cnpja.com/office/:cnpj

The response will be a JSON object containing the registration data and other available information for that CNPJ.

Query Example

BASH

Response Example

JSON

API Reference

For a complete list of the returned fields and their meanings, please see the Public API Reference .

Differences from the Commercial API

The Commercial API, in addition to offering a higher query limit, includes extra features:

  • Configurable data delay, with support for real-time queries.
  • Corporate structure navigation: branches, partners, etc.
  • Issuance of PDF query receipts with data from public portals.
  • Geocoding calculation for each address.
  • Advanced company search by founding date, registration status, address, and much more, returning a list of CNPJs.

To learn more, visit Commercial API .

Terms of Use

By using this API, you declare that you agree with our Terms of Use .

We emphasize that the responsibility for using the obtained data lies entirely with the user, and it is necessary to observe any applicable legislation.