> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cnpj-api.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CNPJ Lookup

> Full registration data for a company by CNPJ

<ParamField path="cnpj" type="string" required>
  CNPJ number without punctuation (14 digits). Example: `12345678000195`
</ParamField>

<ParamField query="token" type="string">
  Authentication token. Preferred authentication method.
</ParamField>

<ParamField query="formato" type="string" default="default">
  Response format for compatibility with other APIs:

  * `default`: Native format of this API (default)
  * `receitaws`: Compatible with ReceitaWS
  * `cnpja`: Compatible with CNPJa
</ParamField>

## Data sources

* [Receita Federal](https://solucoes.receita.fazenda.gov.br/Servicos/cnpjreva/cnpjreva_solicitacao.asp)
* [Simples Nacional](https://www8.receita.fazenda.gov.br/SimplesNacional/aplicacoes.aspx?id=21)

Data updated monthly from Receita Federal public files. Limited to 5 queries per minute for free tokens. See [Rate Limits](/en/limites-de-uso).

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.cnpj-api.com/v1/cnpj/12345678000195?token=YOUR_TOKEN"
  ```

  ```bash cURL (ReceitaWS format) theme={null}
  curl "https://api.cnpj-api.com/v1/cnpj/12345678000195?token=YOUR_TOKEN&formato=receitaws"
  ```
</RequestExample>
