Scrapers.lat logo scrapers.lat
Business

DataJud Brazil Court Case & Docket Scraper (CNJ)

Scrape Brazilian court case records from the CNJ DataJud public database across 90+ federal, state, labor and superior courts. Extract process number, class, subjects, judging body, filing date and the full movement timeline. Export to JSON, CSV or Excel.

1 fields per record JSON · CSV · Excel · API Pay per use
datajud-scraper.json 200 OK
{
  "error": "HTTP 504"
}
What you get

Every run returns clean, typed records, ready for your CRM, spreadsheet or database.

  • One clean record per result, deduped and normalized
  • Stable schema in JSON, CSV or Excel, or read it via the Apify API
  • Pay per use in the cloud, nothing to install or maintain
Sample output

A real example record, exactly the shape you receive.

GET /datajud-scraper
{
  "error": "HTTP 504"
}
The site we read — DataJud Brazil Court Case & Docket Scraper (CNJ)
The site we read

Frequently asked questions

Which Brazilian courts does this cover?

It queries the CNJ DataJud public API, which exposes more than 90 court indexes: the superior courts (STF, STJ, TST, TSE, STM), the six federal regional courts (TRF1 to TRF6), every state court (TJSP, TJRJ, TJMG and the rest), all 24 labor courts (TRT1 to TRT24) and the state military courts. You pick the court with the tribunal input.

How many processes can I pull in one run?

You can collect tens of thousands of processes per run. Set Max Items to cap the count, or leave it open to scan a full filter. The actor paces itself automatically, so large runs stay reliable.

Can I look up a specific case by its number?

Yes. Put one or more CNJ process numbers in the Process Numbers field and each is fetched exactly, with its complete movement timeline. If that field is empty, the actor instead returns recent processes for the selected court, narrowed by the filters you set.

What filters can I apply?

When querying by court rather than by number, you can filter by class code, subject code, judging body code, and a filing date range. Combine any of them and the actor returns only processes that match all of them.

Are parties and lawyers included?

No. The CNJ public API redacts party and lawyer data across every court, so those fields are not available and are not returned. The actor captures everything the public API does expose, including the full movement history.

Ready when you are.

Run the scraper live on Apify right now, or have us build one tailored to exactly what you need.