Brazil CNJ Court Cases Scraper avatar

Brazil CNJ Court Cases Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store
Brazil CNJ Court Cases Scraper

Brazil CNJ Court Cases Scraper

Scrapes Brazilian court cases from the CNJ DataJud index. Filter by tribunal, case number, or class name. Returns each case as a flat row.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

2

Monthly active users

6 days ago

Last modified

Share

ParseForge

Brazil CNJ Court Cases Scraper

Scrape Brazilian court cases from any CNJ tribunal, up to a million per run. Each case comes with its number, class, tribunal, and full metadata. No login or API key. Export to CSV, JSON, Excel, or XML.

Brazil's official court data is spread across dozens of tribunal portals, each with its own search interface. This Actor reads the public CNJ DataJud index directly, so you can pull cases from STF, STJ, TJSP, TRTs, TREs, and more in one fixed schema. Filter by case number or class name, and get every match as a flat row.

Who uses itWhat they scrape Brazil CNJ Court Cases for
Lawyers and law firmsMonitor cases for clients or opposing parties across multiple tribunals
Legal researchersBuild datasets of case metadata for empirical legal studies
JournalistsTrack high-profile cases and judicial activity by tribunal
Legal tech developersFeed case data into analytics dashboards or alerting systems

What it does

This Actor collects Brazilian court cases from the CNJ DataJud index by tribunal, case number, or class name, and returns each one as a flat row.

  • 🏛️ Tribunal selection: choose from 90+ CNJ tribunals, including STF, STJ, TST, TSE, all TRFs, TJs, TRTs, TREs, and military courts.
  • 🔍 Case number filter: enter a full 20-digit unified process number to retrieve that specific case.
  • 📂 Class name filter: partial match on the procedural class, like "Recurso Especial" or "Agravo".
  • 📊 Flat row output: each case is returned as a single record with consistent fields, ready for CSV, JSON, Excel, or XML export.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Brazil CNJ Court Cases data

⚖️ Monitor a specific case.

A lawyer enters the 20-digit process number and gets the case metadata from the CNJ index for client updates.

📈 Track caseload by tribunal.

A legal researcher selects a tribunal like TJSP and collects recent cases to analyze filing trends.

🔎 Find cases by class.

A journalist filters by class name like "Recurso Especial" to identify relevant appeals across tribunals.

🗂️ Build a case database.

A legal tech developer runs the actor on multiple tribunals to populate a searchable case repository.

Why choose this scraper

What you get
No API registrationUses the public CNJ DataJud index, no OAuth or app setup
All tribunals in oneOne actor covers STF, STJ, TJSP, TRTs, TREs, and more
Flexible filteringTarget by tribunal, case number, or class name
ScalableCollect up to 1,000,000 cases per run

How it compares

This actor focuses on the CNJ DataJud index for case metadata, while the competitors below offer different scopes: one is a due diligence report by CNPJ, and the other tracks cases by lawyer OAB or party name.

FeatureParseForgeBrazil CNPJ Due Diligence Report - Company Background CheckBrazil Court Scraper - Lawyer Caseloads & Case Tracking
Scrapes CNJ DataJud indexYesNot listedNot listed
Filter by tribunalYesNot listedNot listed
Filter by case numberYesNot listedYes
Filter by class nameYesNot listedNot listed
Search by lawyer OABNot listedNot listedYes
Due diligence report by CNPJNot listedYesNot listed

Configure the run

Drive the Actor from a tribunal, a case number, and a class name, alone or together, and filters run as each case is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"tribunal": "tjsp"
}

A larger pull:

{
"maxItems": 200,
"tribunal": "tjsp"
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$2.10
1,000 results$21.00
10,000 results$210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Brazil CNJ Court Cases Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Brazil CNJ Court Cases through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/brazil-cnj-court-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your filters. If you entered a case number, make sure it is the full 20-digit unified number. If you used a class name, try a broader partial match. Also verify the selected tribunal.

The run is slow or times out.

Reduce maxItems or narrow your filters. The CNJ index can be large, and querying many cases may take time.

I get an error about invalid tribunal.

Select a tribunal from the dropdown list in the input. The actor only accepts the aliases listed in the enum.

The output is missing some fields.

The CNJ index may not have all fields for every case. The actor returns whatever is available in the public data.

Can I search by party name or lawyer?

No, this actor only supports filtering by tribunal, case number, and class name. For party or lawyer search, consider a different actor like the Brazil Court Scraper by Jungle Synthesizer.

FAQ

QuestionAnswer
What is CNJ DataJud?DataJud is the public database maintained by the Conselho Nacional de Justiça (CNJ) that aggregates case metadata from all Brazilian courts. This actor reads that index directly.
Which tribunals are supported?All 90+ tribunals in the CNJ index, including STF, STJ, TST, TSE, STM, TRFs, TJs, TRTs, TREs, and military courts. You select one per run from the dropdown.
Can I search by case number?Yes, enter the full 20-digit unified process number (numeroProcesso) to retrieve that specific case. The field is optional.
Can I filter by case class?Yes, use the classe field for a partial match on the procedural class name, such as "Recurso Especial" or "Agravo".
How many cases can I collect?You can set maxItems up to 1,000,000 cases per run. The actor will stop after reaching that limit.
What data does each case include?Each case returns metadata from the CNJ index, including the case number, class, tribunal, and other fields. The exact fields are shown in the sample output.
Do I need an API key or login?No, the actor uses the public CNJ DataJud index, so no registration or authentication is required.
What export formats are supported?You can export the results to CSV, JSON, Excel, or XML from the Apify platform.
Is this actor affiliated with CNJ?No, this is an independent scraper that accesses publicly available data. It is not endorsed by or affiliated with the Conselho Nacional de Justiça.
Can I run this on a schedule?Yes, you can schedule recurring runs on Apify to monitor new cases or updates automatically.

Browse the full ParseForge collection for more scrapers.

🆘 Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Conselho Nacional de Justiça. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.