Brazil Tax Debtors API: PGFN Federal Debt Check by Tax ID
Find out whether a Brazilian company owes federal debt and how much, before extending credit or signing a contract.
No Apify account? Sign up for free.
How to integrate
{
"documento": "33000167000101",
"documentoFormatado": "33.000.167/0001-01",
"tipoDocumento": "CNPJ",
"documentoConsultado": "33.000.167/0001-01",
"nome": "PETROLEO BRASILEIRO S A PETROBRAS",
"tipoPessoa": "Pessoa Jurídica",
"tipoDevedor": null,
"cnae": "0002 0005 0014 0036 0125",
"cnaeDescricao": "Extração de petróleo e gás natural",
"codigoMunicipio": 6001,
"nomeMunicipio": "RIO DE JANEIRO",
"unidadeResponsavel": null,
"uf": "RJ",
"totalDivida": 156355.03,
"totalTributario": null,
"totalPrevidenciario": 19140.42,
"naturezas": [
{
"numeroInscricao": "00002707121000",
"tipoDivida": "Natureza não identificada",
"status": null,
"receitaPrincipal": null,
"situacaoInscricao": null,
"total": 137214.61,
"debitos": [],
"natureza": null,
"entidadeResponsavel": null,
"dataInscricao": null,
"tipoCredito": null,
"unidadeInscricao": null
},
{
"numeroInscricao": "354963546",
"tipoDivida": "Tributário - Previdenciário",
"status": null,
"receitaPrincipal": null,
"situacaoInscricao": null,
"total": 19140.42,
"debitos": [],
"natureza": null,
"entidadeResponsavel": null,
"dataInscricao": null,
"tipoCredito": null,
"unidadeInscricao": null
}
],
"possuiDivida": true,
"status": "A entidade consultada possui dívidas.",
"consultadoEm": "2026-09-08T23:32:40.346Z",
"erro": null,
"camposExtras": null,
"comprovanteUrl": "https://api.apify.com/v2/key-value-stores/*****/records/comprovante-33000167000101.pdf?signature=*****"
} What the Brazil tax debtors API returns
-
Whether the Tax ID is on the federal debtors list
-
Debtor name as recorded by PGFN
-
Total amount registered as federal debt
-
Split between tax and social security debt
-
Each debt registration with its type and amount
-
Industry code (CNAE), city and state of the debtor
-
Official lookup receipt in PDF