Legal
TJMG logo

TJMG API

www4.tjmg.jus.br

Tribunal de Justica de Minas Gerais public case lookup

Actions
3
Category
Legal
Login
Not required
Output
JSON

Call the TJMG API

Submit a task, then poll the job until it settles. This example runs act_www4_tjmg_jus_br_get_case_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_www4_tjmg_jus_br_get_case_detail",
    "params": {
      "process_number": "2.0000.00.509145-0/002"
    }
  }'

3 actions on www4.tjmg.jus.br

Read

  • Get case detail by process number

    act_www4_tjmg_jus_br_get_case_detailread1 credit / call

    Get a TJMG public case by process number and return comarca/court, vara/camara, classe, assunto, partes, advogados, distribuicao and latest movimentacoes.

    process_number
    string · required
    comarca_code
    string
  • Get case movimentacoes

    act_www4_tjmg_jus_br_get_case_movimentacoesread1 credit / call

    Get the full public movement/andamento timeline for a TJMG case by process number.

    process_number
    string · required
  • Search 2nd instance cases by party name

    act_www4_tjmg_jus_br_search_2nd_instance_by_partyread1 credit / call

    Search TJMG 2nd-instance (segundo grau) public cases by party name or CPF/CNPJ and return matching people and process numbers.

    party_name
    string · required
    cpf_cnpj
    string
    comarca_code
    string
    person_type
    string
    case_nature
    string
    party_status
    string

TJMG API questions

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