Corporate Tax ID Brazil API API ID: 12397

Full CNPJ data API sourced directly from Brazil's Federal Revenue (Receita Federal).
Use this API from your AI agent via MCP
Works with OpenClaw, Claude Code/Desktop, Cursor, Windsurf, Cline and any MCP-compatible AI client.
Docs & setup
Create a skill by wrapping this MCP: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

CNPJ Brasil API provides programmatic access to the complete registration data of Brazilian legal entities, sourced directly from Brazil's official Federal Revenue database (Receita Federal do Brasil). With a single GET request, you retrieve all publicly available information for any CNPJ: registration status and opening date, company name and trade name, full address, phone and email, primary and secondary CNAE activity codes, legal nature, company size, share capital, and the full list of partners and administrators. Designed for production environments, with full OpenAPI documentation and consistently typed, predictable JSON responses. Ideal for fintechs, marketplaces, ERP systems, credit platforms, and any application that needs to validate or enrich Brazilian business data.

API Documentation

Endpoints


The "Company Data by Tax ID" endpoint is designed to retrieve detailed information about a company using its unique tax identification number (TIN). This endpoint serves as a crucial tool for businesses, financial institutions, and regulatory bodies looking to verify the identity, legal status, and operational details of a company based on its assigned tax ID. Upon successful invocation, it returns a structured JSON response containing essential data fields such as the company’s name, address, registration status, industry classification, and contact information. Potential use cases include compliance checks during mergers and acquisitions, fraud detection, tax reporting, and ensuring accurate customer records for invoicing and financial transactions.



                                                                            
GET https://zylalabs.com/api/12397/corporate+tax+id+brazil+api/23444/company+data+by+tax+id
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"cnpj":"33000167000101","identificador_matriz_filial":"Matriz","razao_social":"PETROLEO BRASILEIRO S A PETROBRAS","nome_fantasia":"PETROBRAS - EDISE","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"data_situacao_cadastral":"2005-11-03","motivo_situacao_cadastral":{"codigo":"00","descricao":"SEM MOTIVO"},"data_inicio_atividade":"1966-09-28","natureza_juridica":{"codigo":"2038","descricao":"Sociedade de Economia Mista"},"qualificacao_responsavel":{"codigo":"10","descricao":"Diretor"},"capital_social":205431960490.52,"porte":{"codigo":"05","descricao":"Demais"},"ente_federativo":null,"cnae_fiscal_principal":{"codigo":"0600001","descricao":"Extração de petróleo e gás natural"},"cnaes_fiscais_secundarios":[{"codigo":"1921700","descricao":"Fabricação de produtos do refino de petróleo"},{"codigo":"3520401","descricao":"Produção de gás; processamento de gás natural"},{"codigo":"3520402","descricao":"Distribuição de combustíveis gasosos por redes urbanas"},{"codigo":"4681801","descricao":"Comércio atacadista de álcool carburante, biodiesel, gasolina e demais derivados de petróleo, exceto lubrificantes, não realizado por transportador re"},{"codigo":"8630599","descricao":"Atividades de atenção ambulatorial não especificadas anteriormente"}],"endereco":{"tipo_logradouro":"AVENIDA","logradouro":"REPUBLICA DO CHILE","numero":"65","complemento":null,"bairro":"CENTRO","cep":"20031170","uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},"nome_cidade_exterior":null,"pais":null,"telefones":[{"ddd":"21","numero":"21660000"}],"fax":{"ddd":"21","numero":"3224"},"correio_eletronico":"[email protected]","situacao_especial":null,"data_situacao_especial":null,"simples_nacional":null,"mei":null,"socios":[{"tipo":"Pessoa Física","nome":"CLAUDIO ROMEO SCHLOSSER","cpf_cnpj":"***077120**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2023-04-17","pais":null,"faixa_etaria":"61 a 70 anos","representante":null},{"tipo":"Pessoa Física","nome":"WILLIAM FRANCA DA SILVA","cpf_cnpj":"***487787**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2023-04-17","pais":null,"faixa_etaria":"61 a 70 anos","representante":null},{"tipo":"Pessoa Física","nome":"CLARICE COPPETTI","cpf_cnpj":"***995240**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2023-04-17","pais":null,"faixa_etaria":"61 a 70 anos","representante":null},{"tipo":"Pessoa Física","nome":"MAGDA MARIA DE REGINA CHAMBRIARD","cpf_cnpj":"***612937**","qualificacao":{"codigo":"16","descricao":"Presidente"},"data_entrada":"2024-06-07","pais":null,"faixa_etaria":"61 a 70 anos","representante":null},{"tipo":"Pessoa Física","nome":"FERNANDO SABBI MELGAREJO","cpf_cnpj":"***650110**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2024-07-17","pais":null,"faixa_etaria":"51 a 60 anos","representante":null},{"tipo":"Pessoa Física","nome":"SYLVIA MARIA COUTO DOS ANJOS","cpf_cnpj":"***701217**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2024-07-17","pais":null,"faixa_etaria":"61 a 70 anos","representante":null},{"tipo":"Pessoa Física","nome":"RENATA FARIA RODRIGUES BARUZZI LOPES","cpf_cnpj":"***944618**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2024-07-17","pais":null,"faixa_etaria":"51 a 60 anos","representante":null},{"tipo":"Pessoa Física","nome":"RICARDO WAGNER DE ARAUJO","cpf_cnpj":"***017831**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2025-04-25","pais":null,"faixa_etaria":"51 a 60 anos","representante":null},{"tipo":"Pessoa Física","nome":"ANGELICA GARCIA COBAS LAUREANO","cpf_cnpj":"***912137**","qualificacao":{"codigo":"10","descricao":"Diretor"},"data_entrada":"2025-07-29","pais":null,"faixa_etaria":"61 a 70 anos","representante":null}],"has_branches":true}
                                                                                                                                                                                                                    
                                                                                                    

Company data by tax id - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/12397/corporate+tax+id+brazil+api/23444/company+data+by+tax+id&cnpj=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

The "List Branch Offices" endpoint is designed to retrieve a comprehensive list of all branch offices associated with a particular organization or network. This endpoint serves the purpose of allowing users to access key details such as office names, locations, contact information, and operational status, facilitating efficient management and oversight of organizational presence in various regions. Typical use cases for this endpoint include generating reports for strategic planning, enabling customer inquiries related to branch services, and enhancing service delivery by ensuring that teams have up-to-date information about all operational branches. If this endpoint returns an empty list it means the company has no branches. Please refer to the has_branches field on the "Company data by tax id" endpoint to avoid spending unnecessary API calls.



                                                                            
GET https://zylalabs.com/api/12397/corporate+tax+id+brazil+api/23462/list+branch+offices
                                                                            
                                                                        

List Branch Offices - Endpoint Features

Object Description
page [Required] The page you wish to retrieve
cnpj [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"cnpj_matriz":"33000167000101","total_filiais":656,"page":1,"total_pages":14,"filiais":[{"cnpj":"33000167000292","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167000373","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RN","municipio":{"codigo":"1687","descricao":"GUAMARE"}},{"cnpj":"33000167000454","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"ES","municipio":{"codigo":"5705","descricao":"VITORIA"}},{"cnpj":"33000167000535","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"PE","municipio":{"codigo":"2513","descricao":"PAULISTA"}},{"cnpj":"33000167000616","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"08","descricao":"Baixada"},"uf":"PB","municipio":{"codigo":"1937","descricao":"BAYEUX"}},{"cnpj":"33000167000705","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"08","descricao":"Baixada"},"uf":"CE","municipio":{"codigo":"1389","descricao":"FORTALEZA"}},{"cnpj":"33000167000888","nome_fantasia":"PETROLEO BRASILEIRO S. A. - PETROBRAS","situacao_cadastral":{"codigo":"08","descricao":"Baixada"},"uf":"AL","municipio":{"codigo":"2837","descricao":"PILAR"}},{"cnpj":"33000167000969","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RN","municipio":{"codigo":"1759","descricao":"MOSSORO"}},{"cnpj":"33000167001000","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"08","descricao":"Baixada"},"uf":"PA","municipio":{"codigo":"0427","descricao":"BELEM"}},{"cnpj":"33000167001183","nome_fantasia":null,"situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"PR","municipio":{"codigo":"7745","descricao":"PARANAGUA"}},{"cnpj":"33000167001264","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SC","municipio":{"codigo":"8161","descricao":"ITAJAI"}},{"cnpj":"33000167001345","nome_fantasia":"ESJAP","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"EX","municipio":{"codigo":"9707","descricao":"EXTERIOR"}},{"cnpj":"33000167001426","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SP","municipio":{"codigo":"6969","descricao":"RIBEIRAO PRETO"}},{"cnpj":"33000167001507","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167001698","nome_fantasia":"PETROLEO BRASILEIRO S. A. - PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5899","descricao":"SAO JOAO DA BARRA"}},{"cnpj":"33000167001779","nome_fantasia":null,"situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SC","municipio":{"codigo":"8045","descricao":"BIGUACU"}},{"cnpj":"33000167001850","nome_fantasia":"PETROLEO BRASILEIRO S. A. - PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167001930","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"DF","municipio":{"codigo":"9701","descricao":"BRASILIA"}},{"cnpj":"33000167002074","nome_fantasia":"PETROLEO BRASILEIRO S. A. - PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SE","municipio":{"codigo":"3111","descricao":"BARRA DOS COQUEIROS"}},{"cnpj":"33000167002155","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"GO","municipio":{"codigo":"9753","descricao":"SENADOR CANEDO"}},{"cnpj":"33000167002236","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"MG","municipio":{"codigo":"5403","descricao":"UBERLANDIA"}},{"cnpj":"33000167002317","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"MG","municipio":{"codigo":"4595","descricao":"IBIRITE"}},{"cnpj":"33000167002406","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"BA","municipio":{"codigo":"3883","descricao":"SAO FRANCISCO DO CONDE"}},{"cnpj":"33000167002589","nome_fantasia":"PETROLEO BRASILEIRO S. A. - PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"ES","municipio":{"codigo":"5699","descricao":"SERRA"}},{"cnpj":"33000167002660","nome_fantasia":"PETROBRAS - UTE NOVA PIRATININGA","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SP","municipio":{"codigo":"7107","descricao":"SAO PAULO"}},{"cnpj":"33000167002740","nome_fantasia":"PETROBRAS P-35","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167002821","nome_fantasia":"PETROLEO BRASILEIRO S/A PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SC","municipio":{"codigo":"8127","descricao":"GUARAMIRIM"}},{"cnpj":"33000167002902","nome_fantasia":"PETROBRAS P-47","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167003046","nome_fantasia":"PETROBRAS P-33","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167003127","nome_fantasia":"PETROBRAS P-32","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167003208","nome_fantasia":"PLATAFORMA - BARRA DO FURADO","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6007","descricao":"QUISSAMA"}},{"cnpj":"33000167003399","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167003470","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"08","descricao":"Baixada"},"uf":"BA","municipio":{"codigo":"3849","descricao":"SALVADOR"}},{"cnpj":"33000167003550","nome_fantasia":"CONSORCIO BM-S-24 (BE)","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167003631","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167003712","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SE","municipio":{"codigo":"3171","descricao":"LARANJEIRAS"}},{"cnpj":"33000167003801","nome_fantasia":"CONSORCIO ALBACORA LESTE (ICC)","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167003984","nome_fantasia":"CONSORCIO PAPA-TERRA (CP)","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167004018","nome_fantasia":"PETROBRAS - CONSORCIO BM-S-21","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SP","municipio":{"codigo":"7071","descricao":"SANTOS"}},{"cnpj":"33000167004107","nome_fantasia":"PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"CE","municipio":{"codigo":"1505","descricao":"PARACURU"}},{"cnpj":"33000167004280","nome_fantasia":"CONSORCIO CERNAMBI (CP)","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167004360","nome_fantasia":"PETROBRAS - CONSORCIO BM-S-10","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"6001","descricao":"RIO DE JANEIRO"}},{"cnpj":"33000167004441","nome_fantasia":"PETROBRAS - CONSORCIO BM-S-08","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SP","municipio":{"codigo":"7071","descricao":"SANTOS"}},{"cnpj":"33000167004522","nome_fantasia":"PETROLEO BRASILEIRO S/A PETROBRAS","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SC","municipio":{"codigo":"8161","descricao":"ITAJAI"}},{"cnpj":"33000167004603","nome_fantasia":"PETROBRAS - CONSORCIO BM-C-3","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"RJ","municipio":{"codigo":"5847","descricao":"MACAE"}},{"cnpj":"33000167004794","nome_fantasia":"CONSORCIO SAPINHOA UNIT:PB45LIDER/SHELL30/REP25","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SP","municipio":{"codigo":"6371","descricao":"CUBATAO"}},{"cnpj":"33000167004875","nome_fantasia":"PETROBRAS - CONSORCIO BM-ES-05","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"ES","municipio":{"codigo":"5705","descricao":"VITORIA"}},{"cnpj":"33000167004956","nome_fantasia":"PETROBRAS - CONSORCIO BM-C-25","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"ES","municipio":{"codigo":"5705","descricao":"VITORIA"}},{"cnpj":"33000167005090","nome_fantasia":"PETROBRAS - CONSORCIO BM-ES-9","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"ES","municipio":{"codigo":"5705","descricao":"VITORIA"}},{"cnpj":"33000167005170","nome_fantasia":"PETROBRAS - CONSORCIO BM-S-12","situacao_cadastral":{"codigo":"02","descricao":"Ativa"},"uf":"SC","municipio":{"codigo":"8161","descricao":"ITAJAI"}}]}
                                                                                                                                                                                                                    
                                                                                                    

List Branch Offices - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/12397/corporate+tax+id+brazil+api/23462/list+branch+offices?page=1&cnpj=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Call this endpoint to verify if the API is up and running.



                                                                            
GET https://zylalabs.com/api/12397/corporate+tax+id+brazil+api/23445/status+check
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"status":"ok","last_import":{"batch":"2026-04","status":"success","started_at":"2026-04-19T19:12:29.446800","finished_at":"2026-04-19T21:04:42.147052"}}
                                                                                                                                                                                                                    
                                                                                                    

Status check - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/12397/corporate+tax+id+brazil+api/23445/status+check' --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 Corporate Tax ID Brazil 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 commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • 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

Corporate Tax ID Brazil API FAQs

Each endpoint returns detailed information about Brazilian legal entities. The "Company Data by Tax ID" endpoint provides registration status, company name, address, contact details, and industry classification. The "List Branch Offices" endpoint returns details about branch offices, including names, locations, and operational status.

Key fields include CNPJ, company name (razao_social), trade name (nome_fantasia), registration status (situacao_cadastral), opening date (data_inicio_atividade), legal nature (natureza_juridica), and contact information. For branch offices, fields include branch CNPJ, name, and status.

The response data is structured in JSON format, with key-value pairs for each field. For example, the "Company Data by Tax ID" response includes nested objects for registration status and legal nature, making it easy to parse and utilize specific information.

The "Company Data by Tax ID" endpoint provides comprehensive details about a company's registration, status, and activities. The "List Branch Offices" endpoint offers information on all associated branches, including their operational status and locations.

Data is sourced directly from Brazil's Federal Revenue (Receita Federal), ensuring high accuracy and reliability. Regular updates and quality checks are performed to maintain the integrity of the information provided through the API.

Typical use cases include compliance checks for mergers and acquisitions, fraud detection, tax reporting, and validating customer records for invoicing. Businesses can also use branch office data for strategic planning and customer inquiries.

Users can customize requests by specifying the CNPJ for the "Company Data by Tax ID" endpoint or by filtering results based on specific criteria when retrieving branch office data. This allows for targeted information retrieval.

Users can expect consistent JSON responses with structured data. For example, the "situacao_cadastral" field will always indicate the registration status, while "cnae_fiscal_principal" will provide the primary industry classification, facilitating easy data interpretation.

Este endpoint proporciona información detallada sobre una empresa, incluyendo su CNPJ, razón social, nombre comercial, estado de registro, fecha de inicio de actividades, naturaleza jurídica, capital social y clasificación de la industria (CNAE). Esto permite a los usuarios verificar la identidad y el estado legal de la entidad.

Este endpoint devuelve una lista de sucursales asociadas a una empresa, incluyendo el CNPJ de cada sucursal, nombre comercial, estado de registro, ubicación (UF y municipio) y el total de sucursales. Esto es útil para gestionar la presencia regional de una organización.

Las respuestas de la API están en formato JSON, organizadas en pares clave-valor. Por ejemplo, en "Datos de la Empresa por ID Fiscal", los datos de estado de registro y naturaleza jurídica están anidados, lo que facilita la interpretación y el uso de la información.

Los usuarios pueden especificar el CNPJ como parámetro en el endpoint "Datos de la Empresa por ID Fiscal". Para "Listar Oficinas Sucursales", se puede filtrar por el CNPJ de la matriz para obtener información específica sobre sus sucursales.

Los datos se obtienen directamente de la Receita Federal de Brasil, garantizando su precisión. Además, se implementan controles de calidad y actualizaciones regulares para mantener la integridad de la información.

Los códigos en estos campos representan categorías específicas. Por ejemplo, el código "02" en "situacao_cadastral" indica que la empresa está activa, mientras que el código "2062" en "natureza_juridica" se refiere a una "Sociedade Empresária Limitada". Esto permite una clasificación estandarizada.

Si una solicitud no devuelve resultados, los usuarios deben verificar la validez del CNPJ proporcionado. En caso de resultados parciales, se recomienda revisar los parámetros de búsqueda o considerar la posibilidad de que la empresa no tenga sucursales registradas.

Los datos se utilizan comúnmente para verificaciones de cumplimiento en fusiones y adquisiciones, detección de fraudes, informes fiscales y validación de registros de clientes. También son útiles para la planificación estratégica y la gestión de sucursales en diversas regiones.

The "List Branch Offices" endpoint provides a comprehensive list of branch offices associated with a company, including each branch's CNPJ, trade name, registration status, location (state and municipality), and the total number of branches. This data is essential for understanding an organization's regional presence.

You can verify a company's operational status by using the "Company Data by Tax ID" endpoint, which includes the "situacao_cadastral" field. This field indicates whether the company is active or inactive, providing crucial information for compliance and verification processes.

The "qualificacao_responsavel" field indicates the qualification of the responsible individual for the company, such as "Sócio-Administrador" (Partner-Administrator). This helps identify key personnel involved in the company's management and decision-making.

Yes, when using the "List Branch Offices" endpoint, you can filter results based on the CNPJ of the parent company. This allows you to retrieve branch information specific to a particular organization, enhancing data relevance for your needs.

The "capital_social" field represents the company's share capital, which is crucial for understanding its financial foundation. This information can be used for financial assessments, investment decisions, and evaluating the company's size and stability.

The "data_inicio_atividade" field indicates when the company began its operations. This information is useful for assessing the company's experience in the market, evaluating its growth potential, and conducting historical analyses for compliance or investment purposes.

The "motivo_situacao_cadastral" field provides a code and description explaining the reason for the company's registration status. For example, a code of "00" indicates "SEM MOTIVO" (No Reason), which can help users understand the context of the company's current status.

To ensure valid CNPJ values, verify that the CNPJ format is correct (14 digits) and corresponds to an existing entity. If a request returns no results, double-check the CNPJ for accuracy or consider that the entity may not be registered in the Receita Federal database.

General FAQs

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund

To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.

The free trial ends when you reach 50 API requests or after 7 days, whichever comes first. 

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

 Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment. 

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 1,000 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 1,000 requests per month, this header will display 1,000.
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 3,600, it means 3,600 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.
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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
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]

Related APIs


You might also like