Skip to main content
GET
/
dividas
/
cnpj
/
{cnpj}
Dívidas federais por CNPJ
curl --request GET \
  --url https://221b-api.sherlocker.com.br/api/v1/dividas/cnpj/{cnpj} \
  --header 'Authorization: Bearer <token>'
{
  "documento": "<string>",
  "nome": "<string>",
  "total": 123,
  "valor_total": 123,
  "ajuizado": true,
  "dividas": [
    {
      "numero_inscricao": "<string>",
      "fonte": "ativa_uniao",
      "receita": "<string>",
      "ajuizado": true,
      "data_inscricao": "<string>",
      "valor_atual": 123,
      "uf": "<string>",
      "unidade_responsavel": "<string>",
      "entidade_responsavel": "<string>",
      "historico": [
        {
          "situacao": "<string>",
          "valor": 123,
          "data_inscricao": "<string>"
        }
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.sherlocker.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cnpj
string
required
Example:

"12345678000199"

Response

Dívidas encontradas

documento
string
nome
string | null
total
integer
valor_total
number
ajuizado
boolean
dividas
object[]