Brazil Court Cases - DataJud CNJ (Processos Judiciais) avatar

Brazil Court Cases - DataJud CNJ (Processos Judiciais)

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Brazil Court Cases - DataJud CNJ (Processos Judiciais)

Brazil Court Cases - DataJud CNJ (Processos Judiciais)

Fetch Brazilian court case metadata and full movement history from the official CNJ DataJud public API. Batch lookup by case number with automatic court detection.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Kauã Fernandes Ferreira

Kauã Fernandes Ferreira

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Brazil Court Cases Scraper - DataJud CNJ 🇧🇷⚖️

Consulta de processos judiciais brasileiros em lote | Brazilian lawsuit lookup and monitoring

Fetch official metadata and the complete movement history (movimentos) of Brazilian court cases directly from DataJud - the public API of Brazil's National Council of Justice (CNJ), the central database behind the entire Brazilian judiciary.

No scraping fragile court websites. No CAPTCHAs. No expensive enterprise legal APIs. Official data, clean JSON.

Why this actor / Por que usar

Enterprise legal APIs (Jusbrasil, Escavador, Judit)This actor
PricingEnterprise contracts, long sales cyclesPay per result, start in 1 minute
SourceMixed (scraping + official)100% official CNJ DataJud
SetupAPI integration + contractPaste case numbers, click Run

What you get / O que você recebe

For each case number (número único CNJ):

  • ✅ Case class and CNJ class code (classe processual)
  • ✅ Subjects (assuntos)
  • ✅ Court and judicial body (tribunal, órgão julgador)
  • ✅ Degree/instance (grau), format, system, confidentiality level
  • ✅ Filing date and last update timestamp
  • Full chronological movement history with date, CNJ code and name of each movimento
  • ✅ Last movement summary (great for monitoring dashboards)

Key features / Recursos

  • 🔔 Monitoring mode (monitoramento processual) - remembers each case's last movement and returns only cases that moved since the previous run, with a novosMovimentos field listing exactly what changed. Schedule it daily and you have a lawsuit alert system
  • Automatic court detection - the actor reads the court segment inside the CNJ case number and routes the query: all 27 state courts (TJSP, TJRJ, TJMG...), federal courts TRF1-6, labor courts TRT1-24, TST and STJ
  • Batch processing - paste hundreds of case numbers in one run
  • Search mode - query a court by class code, judicial body and filing date range (up to 10,000 results)
  • Resilient - automatic retry with backoff on rate limits

Monitoring mode - how to set it up / Como monitorar

The reason Brazilian companies pay monthly for legal monitoring services is simple: nobody wants to open 300 case pages every morning. Here is the same thing as a scheduled actor:

  1. Put your case numbers in processNumbers
  2. Set onlyNewMovements: true
  3. Schedule the actor daily
  4. Add an Apify webhook on "Run succeeded" pointing to Slack, n8n, Make, Zapier or your API

First run returns every case (with isNovoNoMonitoramento: true). From then on, a run with nothing new returns zero items - so any result you receive is a real update worth reading.

{
"processNumbers": ["1500133-05.2025.8.26.0159", "0001234-56.2024.5.02.0011"],
"onlyNewMovements": true,
"monitorName": "client-acme"
}

Use monitorName to keep separate monitors (one per client, per portfolio) inside the same account.

Use cases / Casos de uso

  • Monitoramento processual em lote: track the status of every lawsuit in your portfolio with one scheduled run + webhook
  • Due diligence: check status and progress of known lawsuits involving suppliers, customers or M&A targets
  • Legal analytics: case volume by class, court body and period
  • Feed your legal CRM/BI: flat JSON ready for spreadsheets, Power BI, Metabase or your database

Input

{
"processNumbers": [
"1500133-05.2025.8.26.0159",
"0001234-56.2024.5.02.0011"
],
"includeMovements": true
}
FieldDescription
processNumbersList of CNJ case numbers, with or without punctuation. Court auto-detected
tribunalAliasOptional: force a court alias (tjsp, trf3, trt2, stj...)
includeMovementstrue (default) returns the full movement list; false returns lighter metadata
onlyNewMovementsMonitoring mode: return only cases that moved since the last run
monitorNameIsolate monitoring state (one monitor per client/portfolio)
searchTribunal + filtersSearch mode: court alias + searchClasseCodigo, searchOrgaoCodigo, searchDateFrom/To, maxResults

Output (one item per case)

{
"numeroProcesso": "15001330520258260159",
"tribunal": "TJSP",
"grau": "G1",
"classeCodigo": 278,
"classeNome": "Termo Circunstanciado",
"assuntos": ["Crimes de Trânsito"],
"orgaoJulgador": "JUIZADO ESPECIAL CIVEL CRIM. DE CUNHA",
"dataAjuizamento": "2025-04-14T00:00:00.000Z",
"ultimaAtualizacao": "2026-07-01T03:12:44.000Z",
"quantidadeMovimentos": 37,
"ultimoMovimentoData": "2026-06-30T18:16:58.000Z",
"ultimoMovimentoNome": "Petição",
"movimentos": [
{"data": "2025-04-14T13:20:00.000Z", "codigo": 26, "nome": "Distribuição"},
{"data": "2026-06-30T18:16:58.000Z", "codigo": 85, "nome": "Petição"}
]
}

FAQ

Does it return party names, CPF or CNPJ? No. The CNJ public dataset excludes party information (Brazilian privacy law - LGPD). You get case metadata and movements. If you already know the case numbers (from your own records, contracts or filings), this actor gives you everything else.

Is this legal? Yes. DataJud is the official public API of the CNJ, created exactly for programmatic access to judicial metadata (CNJ Resolution 331/2020).

Which courts are supported? Auto-detection: 27 state courts (TJ), TRF1-6, TRT1-24, TST, STJ. Other segments (electoral, military) can be queried by setting tribunalAlias manually with the DataJud alias.

What if CNJ rotates the public API key? The actor ships with the current official public key and lets you override it via the apiKey input. Updates are released quickly when CNJ changes it.

How fresh is the data? DataJud is fed by the courts themselves. Most courts sync daily; ultimaAtualizacao shows the exact timestamp per case.

Support / Suporte

Found an issue or need a feature (another court segment, webhook integration, CSV export)? Open an issue on the actor page - responses within 24h. Fala português? Pode abrir a issue em português.