Government
Portal da Transparência logo

Portal da Transparência API

portaltransparencia.gov.br

CGU Portal da Transparência sanctions (CEIS, CNEP, CEPIM, CEAF) and PEP registers

Actions
2
Category
Government
Login
Not required
Output
JSON

Call the Portal da Transparência API

Submit a task, then poll the job until it settles. This example runs act_portaldatransparencia_gov_br_sanction_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_portaldatransparencia_gov_br_sanction_detail",
    "params": {
      "sanction_id": "392381"
    }
  }'

2 actions on portaltransparencia.gov.br

Read

  • Sanction Detail

    act_portaldatransparencia_gov_br_sanction_detailread1 credit / call

    Get a CGU sanction record by sanction id: name, document, type, agency, dates and legal basis.

    sanction_id
    string · required
  • Search PEP List

    act_portaltransparencia_gov_br_search_pepread1 credit / call

    Search the CGU politically exposed persons list by name or CPF: function, agency, start and end dates.

    query
    string
    year
    integer
    month
    integer
    limit
    integer

Portal da Transparência API questions

Is there an API for Portal da Transparência?
Portal da Transparência does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for portaltransparencia.gov.br. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Portal da Transparência data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when portaltransparencia.gov.br changes its markup, Anakin updates the action.
Do I need a Portal da Transparência account?
No. Every Portal da Transparência action listed here runs anonymously — no account and no credentials required.
What does the Portal da Transparência API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Government APIs

All Government sites