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://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":"44105550000140","razao_social":"USINA OURO FINO LTDA","nome_fantasia":"USINA OURO FINO","data_criacao":"03\/11\/2021","natureza_juridica":"2062 - Sociedade Empres\u00e1ria Limitada","cnae_principal":"4692300 - Com\u00e9rcio atacadista de mercadorias em geral, com predomin\u00e2ncia de insumos agropecu\u00e1rios","data_situacao":"03\/11\/2021","situacao":"Ativa","porte":"Demais","capital_social":"R$ 100.000.000,00","endereco":{"logradouro":"RODOVIA RODOVIA GO 210 ESQUERDA FAZENDA OURO FINO","numero":"0","complemento":"KM 99","bairro":"ZONA RURAL","cep":"75603000","uf":"GO","municipio":"PORTEIRAO"},"telefones":["6236789260"],"email":"[email protected]","cnaes_secundarios":["163600 - Atividades de p\u00f3s-colheita","1062700 - Moagem de trigo e fabrica\u00e7\u00e3o de derivados","1065102 - Fabrica\u00e7\u00e3o de \u00f3leo de milho em bruto","1065103 - Fabrica\u00e7\u00e3o de \u00f3leo de milho refinado","1066000 - Fabrica\u00e7\u00e3o de alimentos para animais","1072401 - Fabrica\u00e7\u00e3o de a\u00e7\u00facar de cana refinado","1082100 - Fabrica\u00e7\u00e3o de produtos \u00e0 base de caf\u00e9","4614100 - Representantes comerciais e agentes do com\u00e9rcio de m\u00e1quinas, equipamentos, embarca\u00e7\u00f5es e aeronaves","4617600 - Representantes comerciais e agentes do com\u00e9rcio de produtos aliment\u00edcios, bebidas e fumo","4622200 - Com\u00e9rcio atacadista de soja","4623103 - Com\u00e9rcio atacadista de algod\u00e3o","4623109 - Com\u00e9rcio atacadista de alimentos para animais","4623199 - Com\u00e9rcio atacadista de mat\u00e9rias-primas agr\u00edcolas n\u00e3o especificadas anteriormente","4632001 - Com\u00e9rcio atacadista de cereais e leguminosas beneficiados","4632002 - Com\u00e9rcio atacadista de farinhas, amidos e f\u00e9culas","4632003 - Com\u00e9rcio atacadista de cereais e leguminosas beneficiados, farinhas, amidos e f\u00e9culas, com atividade de fracionamento e acondicionamento associada","4635403 - Com\u00e9rcio atacadista de bebidas com atividade de fracionamento e acondicionamento associada","4635499 - Com\u00e9rcio atacadista de bebidas n\u00e3o especificadas anteriormente","4637102 - Com\u00e9rcio atacadista de a\u00e7\u00facar","4637103 - Com\u00e9rcio atacadista de \u00f3leos e gorduras","4637199 - Com\u00e9rcio atacadista especializado em outros produtos aliment\u00edcios n\u00e3o especificados anteriormente","4639701 - Com\u00e9rcio atacadista de produtos aliment\u00edcios em geral","4681801 - Com\u00e9rcio atacadista de \u00e1lcool carburante, biodiesel, gasolina e demais derivados de petr\u00f3leo, exceto lubrificantes, n\u00e3o realizado por transportador retalhista (TRR)","4683400 - Com\u00e9rcio atacadista de defensivos agr\u00edcolas, adubos, fertilizantes e corretivos do solo","4684202 - Com\u00e9rcio atacadista de solventes","4684299 - Com\u00e9rcio atacadista de outros produtos qu\u00edmicos e petroqu\u00edmicos n\u00e3o especificados anteriormente","4693100 - Com\u00e9rcio atacadista de mercadorias em geral, sem predomin\u00e2ncia de alimentos ou de insumos agropecu\u00e1rios","4930202 - Transporte rodovi\u00e1rio de carga, exceto produtos perigosos e mudan\u00e7as, intermunicipal, interestadual e internacional","5011401 - Transporte mar\u00edtimo de cabotagem - Carga","5021101 - Transporte por navega\u00e7\u00e3o interior de carga, municipal, exceto travessia","5021102 - Transporte por navega\u00e7\u00e3o interior de carga, intermunicipal, interestadual e internacional, exceto travessia","5030101 - Navega\u00e7\u00e3o de apoio mar\u00edtimo","5030102 - Navega\u00e7\u00e3o de apoio portu\u00e1rio","5030103 - Servi\u00e7o de rebocadores e empurradores","5091202 - Transporte por navega\u00e7\u00e3o de travessia intermunicipal, interestadual e internacional","5211799 - Dep\u00f3sitos de mercadorias para terceiros, exceto armaz\u00e9ns gerais e guarda-m\u00f3veis","5231102 - Atividades do Operador Portu\u00e1rio","5231103 - Gest\u00e3o de terminais aquavi\u00e1rios","5239799 - Atividades auxiliares dos transportes aquavi\u00e1rios n\u00e3o especificadas anteriormente","6612604 - Corretoras de contratos de mercadorias","7490104 - Atividades de intermedia\u00e7\u00e3o e agenciamento de servi\u00e7os e neg\u00f3cios em geral, exceto imobili\u00e1rios"]},"socios":[{"documento_socio":"***537302**","nome_socio":"VALENTINO ANDRE COSTA AZEVEDO","data_entrada":"10\/11\/2023","qualificacao":"S\u00f3cio-Administrador"}],"participacoes":[]}
                                                                                                                                                                                                                    
                                                                                                    

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
  • Specialized Customer Support
  • Real-Time API Monitoring

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, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response 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
856ms

Category:


Related APIs