Skip to main content
GET
/
v1
/
cnpj
/
{cnpj}
curl "https://api.cnpj-api.com.br/v1/cnpj/12345678000195?token=YOUR_TOKEN"
cnpj
string
required
CNPJ number without punctuation (14 digits). Example: 12345678000195
token
string
Authentication token. Preferred authentication method.
formato
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

Data sources

Data updated monthly from Receita Federal public files. Limited to 5 queries per minute for free tokens. See Rate Limits.
curl "https://api.cnpj-api.com.br/v1/cnpj/12345678000195?token=YOUR_TOKEN"