Government
TSE DivulgaCandContas logo

TSE DivulgaCandContas API

divulgacandcontas.tse.jus.br

Tribunal Superior Eleitoral candidate data, declared assets and campaign finance for PEP / public exposure checks.

Actions
5
Category
Government
Login
Not required
Output
JSON

Call the TSE DivulgaCandContas API

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

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_divulgacandcontas_tse_jus_br_campaign_finance",
    "params": {
      "election_id": 2045202024,
      "year": 2024,
      "sg_ue": "71072",
      "cargo_code": 11,
      "party_number": 16,
      "candidate_number": 16,
      "candidate_id": "250002078851"
    }
  }'

5 actions on divulgacandcontas.tse.jus.br

Read

  • Campaign Finance Totals

    act_divulgacandcontas_tse_jus_br_campaign_financeread1 credit / call

    Get a TSE candidate's campaign finance totals: receipts (receitas) and expenses (despesas).

    election_id
    integer · required
    year
    integer · required
    sg_ue
    string · required
    cargo_code
    integer · required
    party_number
    integer · required
    candidate_number
    integer · required
    candidate_id
    string · required
  • Candidate Declared Assets

    act_divulgacandcontas_tse_jus_br_candidate_assetsread1 credit / call

    Get a TSE candidate's declared assets (bens declarados) with descriptions, types and values.

    year
    integer · required
    sg_ue
    string · required
    election_id
    integer · required
    candidate_id
    string · required
  • Candidate Detail

    act_divulgacandcontas_tse_jus_br_candidate_detailread1 credit / call

    Get a TSE candidate's ballot name, masked CPF, party, office, candidacy status and election result.

    year
    integer · required
    sg_ue
    string · required
    election_id
    integer · required
    candidate_id
    string · required
  • List Elections

    act_divulgacandcontas_tse_jus_br_list_electionsread1 credit / call

    List TSE DivulgaCandContas elections with year, type (ordinaria/suplementar), scope (federal/municipal), name and date.

    year
    integer
  • Search Candidates

    act_divulgacandcontas_tse_jus_br_search_candidatesread1 credit / call

    Search TSE DivulgaCandContas candidates by name within an election year, optionally filtered by UF or municipality.

    name
    string · required
    year
    integer · required
    uf
    string
    municipality
    string

TSE DivulgaCandContas API questions

Is there an API for TSE DivulgaCandContas?
TSE DivulgaCandContas does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for divulgacandcontas.tse.jus.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 TSE DivulgaCandContas 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 divulgacandcontas.tse.jus.br changes its markup, Anakin updates the action.
Do I need a TSE DivulgaCandContas account?
No. Every TSE DivulgaCandContas action listed here runs anonymously — no account and no credentials required.
What does the TSE DivulgaCandContas 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