TF Fiscal
Documentation

Identity lookup

CNPJ lookup

Official company registry data for a 14-digit CNPJ.

GET/openapi/v3/consultas/cnpj/{cnpj}
Requires the token, timestamp and sign signature headers, see Authentication.

Returns company registry data for a 14-digit corporate tax number: legal name, trade name, registration status, legal nature, CNAE activity code, registered address, contacts and share capital.

The response is a bare object with no platform envelope. The field table lists every possible field; when the source holds no data for a field it comes back empty, and such fields are left out of the example. GET request: the signed body is the empty string and the CNPJ is part of the signed path.

Path parameters

cnpj*
stringCNPJ

* Required field

200
Lookup succeeded. Company registry data.
ni
stringCNPJ
tipoEstabelecimento
stringEstablishment type
nomeEmpresarial
stringLegal name
nomeFantasia
stringTrade name
objectRegistration status
objectLegal nature
dataAbertura
stringIncorporation date
objectMain CNAE
objectRegistered address
objectTax jurisdiction municipality
arrayPhone numbers
correioEletronico
stringE-mail address
capitalSocial
numberShare capital
porte
stringCompany size code
situacaoEspecial
stringSpecial status
dataSituacaoEspecial
stringSpecial status date

Format and check-digit errors (10016010, 10016011) are rejected locally by the platform: they consume no quota and are not billed. Authentication-layer errors (401 / 403 / 429) use the platform envelope; see the error model in Identity lookup.