Hub do Desenvolvedor icon

Hub do Desenvolvedor

Consultas de CNPJ, CPF, CEP, Correios, IBGE e Saldo via Hub do Desenvolvedor

CNPJ → Consultar CNPJ

AI-generated

Summary

Query detailed company registration information by CNPJ number using the Hub do Desenvolvedor API.

Inputs

  • CNPJ (required) — The CNPJ number of the company to query, can be numeric only or formatted (e.g., 00.000.000/0001-00).
  • Opcoes Adicionais — Optional flags to control the query: ignore local database cache, include last update timestamp, and include state tax registrations.

Output shape

A JSON object containing the detailed cadastral data of the company corresponding to the input CNPJ.

The output JSON structure depends on the API response and can include error details if the query fails. The operation makes a GET request to 'https://ws.hubdodesenvolvedor.com.br/v2/cnpj/'. Additional options affect query parameters sent to the API.

Examples

Example 1: Retrieve detailed registration info for a company with optional inclusion of state tax registrations and last update timestamp.

Input the CNPJ string and set 'Incluir Inscricoes Estaduais' and 'Retornar Ultima Atualizacao' to true under additional options.

Links

Discussion