CNPJ Lookup API

CNPJ Lookup API

The CNPJ Lookup API offers a convenient way to retrieve detailed company information using the CNPJ (Cadastro Nacional de Pessoas Jurídica) identifier. With this API, you can easily access essential data about a company, enabling streamlined processes for identity verification, due diligence, and business research.

About the API:

The CNPJ Lookup API is a powerful tool that allows you to access comprehensive company information based on the CNPJ (Cadastro Nacional de Pessoas Jurídica) identifier. CNPJ is a unique identification number assigned to legal entities registered in Brazil, including corporations, partnerships, and other business entities. This API serves as a reliable source of company data, enabling businesses and individuals to obtain accurate and up-to-date information about Brazilian companies.

With the CNPJ Lookup API, you can easily retrieve various details about a company, including its legal name, trade name, address, contact information, registration status, industry classification, and more. This wealth of information is invaluable for conducting due diligence, verifying the legitimacy of a company, and gathering essential data for business research and analysis.

Integrating the CNPJ Lookup API into your systems or applications offers numerous benefits. It simplifies the process of retrieving company information, eliminating the need for manual research and data entry. Instead, you can make API requests using the CNPJ number and receive a structured response containing the requested data, which can be seamlessly incorporated into your workflows or displayed in your user interface.

This API is particularly useful for organizations and individuals involved in business transactions, such as suppliers, customers, financial institutions, and regulatory agencies. By leveraging the CNPJ Lookup API, these stakeholders can quickly verify the authenticity and legal status of Brazilian companies, ensuring compliance with regulations, minimizing risks, and making informed business decisions.

Furthermore, the CNPJ Lookup API plays a vital role in anti-fraud measures. It enables fraud detection systems to verify the validity of CNPJ numbers provided by customers or business partners, helping prevent identity theft, fraudulent activities, and financial losses. By cross-referencing the API's response with internal databases or external sources, businesses can ensure that they are engaging with legitimate and trustworthy entities.

The CNPJ Lookup API offers a secure and efficient method to access company information, leveraging reliable data sources and adhering to data protection regulations. The API's robust infrastructure ensures high availability and fast response times, allowing you to retrieve company details in real time, enhancing operational efficiency and decision-making.

In conclusion, the CNPJ Lookup API provides a valuable resource for accessing company information based on the CNPJ identifier. By integrating this API into your systems, you can streamline business processes, enhance due diligence, mitigate risks, and make informed decisions when engaging with Brazilian companies.

The Brazilian National Registry of Legal Entities (Portuguese: Cadastro Nacional de Pessoas Jurídicas, “CNPJ”) is a nationwide registry of corporations, partnerships, foundations, investment funds, and other legal entities, created and maintained by thBrazilian Federal Revenue Service (Receita Federal do Brasil, “RFB”). Currently, all companies are automatically enrolled in the system upon incorporation. The system uses a fourteen-digit number, which is made up of an eight-digit unique identifier, a four-digit branch identifier, and two check digits. 

 

What this API receives and what your API provides (input/output)?

This API will receive the CNPJ to lookup and it will provide:

  • Business name.
  • Fantasy name. 
  • Creation date. 
  • Legal Nature. 
  • CNAE. 
  • Social Capital. 
  • Address. 
  • Partners. 

 

 

What are the most common uses cases of this API?

  1. Business Verification: The CNPJ Lookup API can be used to verify the authenticity and legal status of Brazilian companies. This is especially useful for businesses involved in partnerships, collaborations, or transactions with Brazilian entities, ensuring that they are dealing with legitimate and registered companies.

  2. Know Your Customer (KYC) Compliance: Financial institutions and other regulated entities can leverage the CNPJ Lookup API as part of their KYC processes. By verifying the company information associated with a CNPJ number, they can assess the risk level, ensure compliance with regulatory requirements, and prevent fraudulent activities.

  3. Supplier Onboarding: When onboarding new suppliers, organizations can use the CNPJ Lookup API to validate the details provided by the supplier. It helps verify the company's legal name, address, and registration status, ensuring that they are dealing with trustworthy suppliers and maintaining supply chain integrity.

  4. Risk Assessment and Due Diligence: Before entering into business relationships or investments, conducting thorough due diligence is essential. The CNPJ Lookup API allows businesses to gather comprehensive information about a company, including its history, ownership, and financial status. This helps assess risks and make informed decisions.

  5. Market Research and Analysis: Market researchers, analysts, and data scientists can utilize the CNPJ Lookup API to gather data on companies for research and analysis purposes. By accessing company information based on CNPJ numbers, they can gain insights into industry trends, market share, competitive analysis, and overall business landscape in Brazil.

  6. Fraud Prevention and Detection: Fraud detection systems can integrate the CNPJ Lookup API to validate CNPJ numbers provided by customers or business partners. By cross-referencing the obtained company information, businesses can identify discrepancies, detect potential fraudulent activities, and take necessary preventive measures.

 

Are there any limitations to your plans?

Besides API call limitations per month, maximum of three requests per minute. 

API Documentation

Endpoints


Data from all Brazilian companies registered with the Federal Revenue. 


CNPJ example: 00360305000104



                                                                            
GET https://www.zylalabs.com/api/367/cnpj+lookup+api/293/get+company+data+by+cnpj
                                                                            
                                                                        

Get Company data by CNPJ - Endpoint Features
Object Description
cnpj [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":true,"mensagem":"","dados":{"cnpj":"00360305000104","razao_social":"CAIXA ECONOMICA FEDERAL","nome_fantasia":"CEF MATRIZ","data_criacao":"03\/02\/1971","natureza_juridica":"2011 - EMPRESA PUBLICA","cnae_principal":"6423900 - Caixas econ\u00f4micas","data_situacao":"03\/11\/2005","situacao":"Ativa","porte":"Demais","capital_social":"R$ 68.000.000.000,00","endereco":{"logradouro":"SETOR BANCARIO SUL QUADRA 04","numero":"34","complemento":"BLOCO A","bairro":"ASA SUL","cep":"70092900","uf":"DF","municipio":"BRASILIA"},"telefones":["61 35218600"],"email":"","cnaes_secundarios":[]},"socios":[{"documento_socio":"71372083715","nome_socio":"CLAUDIO SALITURO","data_entrada":"03\/04\/2019","qualificacao":"ADMINISTRADOR"},{"documento_socio":"46786899072","nome_socio":"JAIR LUIS MAHL","data_entrada":"28\/12\/2018","qualificacao":"ADMINISTRADOR"},{"documento_socio":"***836740**","nome_socio":"TATIANA THOME DE OLIVEIRA","data_entrada":"08\/08\/2019","qualificacao":"ADMINISTRADOR"},{"documento_socio":"***494651**","nome_socio":"ANTONIO CARLOS FERREIRA DE SOUSA","data_entrada":"29\/07\/2019","qualificacao":"ADMINISTRADOR"},{"documento_socio":"***633087**","nome_socio":"CELSO LEONARDO DERZIE DE JESUS BARBOSA","data_entrada":"28\/07\/2020","qualificacao":"ADMINISTRADOR"},{"documento_socio":"69550301168","nome_socio":"RAFAEL DE OLIVEIRA MORAIS","data_entrada":"24\/09\/2020","qualificacao":"ADMINISTRADOR"},{"documento_socio":"18176980870","nome_socio":"MESSIAS DOS SANTOS ESTEVES","data_entrada":"10\/02\/2021","qualificacao":"ADMINISTRADOR"},{"documento_socio":"***677568**","nome_socio":"HENRIETE ALEXANDRA SARTORI BERNABE","data_entrada":"25\/03\/2021","qualificacao":"ADMINISTRADOR"},{"documento_socio":"28739714870","nome_socio":"JOAO GUSTAVO HAENEL NETO","data_entrada":"08\/10\/2021","qualificacao":"ADMINISTRADOR"},{"documento_socio":"54031168934","nome_socio":"ANDRE NUNES","data_entrada":"24\/03\/2022","qualificacao":"ADMINISTRADOR"},{"documento_socio":"04525911638","nome_socio":"THAYS CINTRA VIEIRA","data_entrada":"22\/10\/2021","qualificacao":"ADMINISTRADOR"},{"documento_socio":"15657839803","nome_socio":"EDILSON CARROGI RIBEIRO VIANNA","data_entrada":"24\/07\/2019","qualificacao":"DIRETOR"},{"documento_socio":"04642485740","nome_socio":"GRYECOS ATTOM VALENTE LOUREIRO","data_entrada":"09\/11\/2018","qualificacao":"DIRETOR"},{"documento_socio":"00718398106","nome_socio":"EDUARDO KRIEGER SCHERER","data_entrada":"29\/10\/2019","qualificacao":"DIRETOR"},{"documento_socio":"***904751**","nome_socio":"MARCOS BRASILIANO ROSA","data_entrada":"30\/03\/2020","qualificacao":"DIRETOR"},{"documento_socio":"***240791**","nome_socio":"MAGDA LUCIA DIAS CARDOSO DE CARVALHO","data_entrada":"28\/07\/2020","qualificacao":"DIRETOR"},{"documento_socio":"33908921848","nome_socio":"JORGE LOUZADA KOZLOVSKY","data_entrada":"12\/01\/2021","qualificacao":"DIRETOR"},{"documento_socio":"00113499132","nome_socio":"LUIZ FELIPE FIGUEIREDO DE ANDRADE","data_entrada":"12\/01\/2021","qualificacao":"DIRETOR"},{"documento_socio":"09272721725","nome_socio":"RODRIGO SOUZA WERMELINGER","data_entrada":"12\/01\/2021","qualificacao":"DIRETOR"},{"documento_socio":"***994068**","nome_socio":"HEITOR SOUZA CUNHA","data_entrada":"24\/03\/2021","qualificacao":"DIRETOR"},{"documento_socio":"22049337833","nome_socio":"TIAGO CORDEIRO DE OLIVEIRA","data_entrada":"25\/03\/2021","qualificacao":"DIRETOR"},{"documento_socio":"00357105940","nome_socio":"CLAUDINEY BITENCOURT","data_entrada":"10\/05\/2021","qualificacao":"DIRETOR"},{"documento_socio":"87640686172","nome_socio":"CHRISTOPHER FRANCO BRAGA","data_entrada":"10\/05\/2021","qualificacao":"DIRETOR"},{"documento_socio":"02955391948","nome_socio":"EDUARDO FALK ANTONIO","data_entrada":"16\/07\/2021","qualificacao":"DIRETOR"},{"documento_socio":"***247248**","nome_socio":"CRISTINAMBABI DOS ANJOS LIMA","data_entrada":"16\/07\/2021","qualificacao":"DIRETOR"},{"documento_socio":"86061801149","nome_socio":"YVES DUMARESQ SOBRAL","data_entrada":"16\/07\/2021","qualificacao":"DIRETOR"},{"documento_socio":"86412612149","nome_socio":"VLADIMIR BEZERRA MONTEIRO DE BRITO","data_entrada":"23\/11\/2021","qualificacao":"DIRETOR"},{"documento_socio":"17596931898","nome_socio":"SAULO FARHAT PAIVA","data_entrada":"09\/12\/2021","qualificacao":"DIRETOR"},{"documento_socio":"***344081**","nome_socio":"MARIA LETICIA DE PAULA MACEDO","data_entrada":"08\/02\/2022","qualificacao":"DIRETOR"},{"documento_socio":"51642395153","nome_socio":"SERGIO RICARDO FAUSTINO BATISTA","data_entrada":"20\/05\/2022","qualificacao":"DIRETOR"},{"documento_socio":"01670067700","nome_socio":"PEDRO DUARTE GUIMARAES","data_entrada":"15\/01\/2019","qualificacao":"PRESIDENTE"}],"participacoes":[{"cnpj":"02687854000113","razao_social":"CONSORCIO AZULPREV","nome_empresa":"CONSORCIO AZULPREV","data_entrada":"21\/08\/1998","qualificacao":"SOCIEDADE CONSORCIADA","data_situacao":"03\/11\/2005","situacao":"Ativa"},{"cnpj":"05893555000123","razao_social":"CONSORCIO AMUPREV","nome_empresa":"CONSORCIO AMUPREV","data_entrada":"07\/03\/2003","qualificacao":"SOCIEDADE CONSORCIADA","data_situacao":"07\/03\/2003","situacao":"Ativa"}]}
                                                                                                                                                                                                                    
                                                                                                    

Get Company data by CNPJ - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/367/cnpj+lookup+api/293/get+company+data+by+cnpj?cnpj=00360305000104' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the CNPJ Lookup API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at
$ 10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

CNPJ stands for "Cadastro Nacional de Pessoas Jurídica" and is a unique identification number assigned to legal entities registered in Brazil. It serves as a registration number for Brazilian companies and is used for identification and regulatory purposes.

You can use the CNPJ Lookup API by making HTTP requests to the API endpoint with a valid CNPJ number as a parameter. The API will return company information associated with that CNPJ, such as legal name, address, contact details, and registration status.

Yes, the CNPJ Lookup API sources its data from official Brazilian government databases and reliable sources. The information provided is generally accurate and up-to-date, reflecting the latest available records.

If the API does not return any results for a particular CNPJ number, it could indicate that the company is not registered or that the provided CNPJ is invalid. It is recommended to double-check the CNPJ and verify its accuracy.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
869ms

Category:


Related APIs