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.

JSON CSV XLSX XML

No Apify account? Sign up for free.

How to integrate

curl -X POST "https://api.apify.com/v2/actors/brasildados~consulta-lista-devedores-pgfn/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"documentos":["76.535.764/0001-43","33.000.167/0001-01"]}'
Sample response (Brazilian registry field names)
{
  "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

Brazil tax debtors API use cases

Credit decisions before granting payment terms

Supplier vetting before a contract or tender

Counterparty due diligence in Brazil

Periodic screening of a B2B customer portfolio

Brazil tax debtors API FAQ

What is the PGFN debtors list?

PGFN is the Office of the Attorney General of the National Treasury, which collects debt owed to Brazil's federal government. It publishes the list of taxpayers registered in federal active debt (dívida ativa da União), as main debtor or jointly liable.

How do I check if a Brazilian company has federal tax debt?

Send the company's Tax ID in the documentos list. The API checks the PGFN list and returns whether the company is listed, the total registered debt, the split by nature and an official PDF receipt. Up to 20 Tax IDs per run.

Does the list include every debt a company owes to the government?

No. It covers federal debt already registered for collection. Debts under an installment plan, secured by a guarantee or with suspended enforceability are left out by law, as are state and municipal taxes.

Can I check individuals (CPF) as well as companies?

No. This API checks companies only. CPF numbers sent in the list are ignored: they are not looked up and not billed.

Is a company on the debtors list the same as having no tax clearance certificate?

Not exactly. The clearance certificate (CND) is a formal yes or no on tax standing at a given moment. The debtors list shows how much is owed and of what kind, which is what matters when sizing credit risk.

More Brazilian data APIs

Brazil Company Lawsuits API: Litigation Check by Tax ID

Screen Brazilian companies for litigation by Tax ID: a risk summary by court, case type and status, or the individual cases behind it.

View details

Brazil Company Leads API by CNAE Industry Code

Build B2B prospect lists of active Brazilian companies by industry, state and company size, straight from the official Tax ID registry.

View details

Brazil Public Tenders API: Open Government Bids

Open federal, state and municipal tenders in Brazil, filtered by keyword, state and procurement method, with deadlines and estimated value.

View details