Get company by CNPJ
get_cnpjOpen public samples; up to 5 free lookups/day with an account, or paid per call/package: registration status, public sanctions and federal tax debt already joined by CNPJ. Set temas=dados,sancoes,divida; read data.situacao.label, data.sancoes.vigentes and data.dividaAtiva.inscricoes. health gives the registry snapshot date; inspect each block's dates. situacao.data is the status-change date. CNIA may be old; require a source check during this request with consulta_cnpj and cnia_atual=true. Personal details stay masked. Other topics and fields are in the catalog. Receita, four CGU sanction registries, the TCU list and PGFN debt are already joined by CNPJ. Check the company without consulting and combining each source separately. Read import.dump_date at /api/health for the registry snapshot, sancoes.conferidoEm for each sanction source and dividaAtiva.referencia for PGFN. situacao.data is the status-change date. Null means unchecked. These records are not a credit-bureau report or an official certificate.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cnpj": "<cnpj>"
},
"name": "get_cnpj"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnpj | Yes | 14 digits or the alphanumeric CNPJ. | |
| temas | No | Comma-separated topics: dados, contagens, socios, sancoes, fiscal, divida, obras, trabalho, ibama, contratos, pep, vendas, campanhas, prefeituras, sicaf, aeronaves, fundos, rntrc, bndes, registros; todos. Omit for the full record. Basic company data always stays. contagens adds a contagens object with only the record counts (socios, pep, sancoes, fiscal, socioambiental, governo, registros). Unrequested blocks are omitted; null means unchecked. Personal data remains masked. |