Legal
TJSP e-SAJ logo

TJSP e-SAJ API

esaj.tjsp.jus.br

TJSP e-SAJ public case lookup for 1st instance (cpopg) and 2nd instance (cposg).

Actions
6
Category
Legal
Login
Not required
Output
JSON

Call the TJSP e-SAJ API

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

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_esaj_tjsp_jus_br_case_detail_1st",
    "params": {
      "process_number": "1119659-74.2023.8.26.0100"
    }
  }'

6 actions on esaj.tjsp.jus.br

Read

  • Get 1st instance case detail

    act_esaj_tjsp_jus_br_case_detail_1stread1 credit / call

    Get a TJSP e-SAJ 1st-instance case by unified process number: classe, assunto, foro, vara, juiz, valor da ação, situação, partes and lawyers.

    process_number
    string · required
  • Get 1st instance case movimentações

    act_esaj_tjsp_jus_br_movimentacoes_1stread1 credit / call

    Full 1st-instance movement history (date + description) for a TJSP e-SAJ case by unified process number.

    process_number
    string · required
  • Get 2nd instance appeal detail

    act_esaj_tjsp_jus_br_appeal_detail_2ndread1 credit / call

    Get a TJSP e-SAJ 2nd-instance appeal by process number: classe, órgão julgador, relator, partes and movimentações.

    process_number
    string · required
  • Search 1st instance cases by party document

    act_esaj_tjsp_jus_br_search_1st_by_documentread1 credit / call

    Search TJSP e-SAJ 1st instance (cpopg) cases by CPF or CNPJ across all foros. Returns process numbers with classe, assunto, foro, vara and distribution date.

    documento
    string · required
    cd_foro
    string
  • Search 1st instance cases by party name

    act_esaj_tjsp_jus_br_search_1st_by_nameread1 credit / call

    Search TJSP e-SAJ 1st instance (cpopg) cases by party name (nome da parte). Returns process numbers with classe, assunto, foro and distribution date.

    party_name
    string · required
    cd_foro
    string
  • Search 2nd instance appeals by party document

    act_esaj_tjsp_jus_br_search_2nd_by_documentread1 credit / call

    Search TJSP e-SAJ 2nd instance (cposg) appeals by CPF or CNPJ. Returns process numbers with classe, órgão julgador and relator when the list carries them.

    documento
    string · required

TJSP e-SAJ API questions

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

All Legal sites