OrbTop

JusBrasil Court Scraper - Brazil Case Law & Jurisprudence

OTHERBUSINESS

JusBrasil Court Scraper — Brazil Case Law & Jurisprudence

Scrape Brazilian court records and jurisprudence from JusBrasil.com.br. Returns case details, parties, lawyers with OAB numbers, judges, procedural movements, and decision texts from STJ, STF, state courts (TJ), and federal regional courts (TRF).

JusBrasil Court Scraper Features

  • Extracts 20+ fields per record — process number, court, instance, state, parties, lawyers (with OAB registration), judge/rapporteur, procedural class, claim value, status, filing date, movement history, and decision excerpts
  • Searches by keyword or CNJ process number — keyword search hits the jurisprudencia index; process number lookup uses consulta-processual for direct case retrieval
  • Filters by court — target STJ, STF, any TJ state court, TRF federal regional courts, or TST without post-processing
  • Collects movement history — up to 20 procedural movements per case with dates, giving you the full timeline of a proceeding
  • Handles Brazilian date formats — converts DD/MM/YYYY to ISO 8601 (YYYY-MM-DD) throughout the output
  • Returns related process numbers — CNJ-format identifiers for linked cases found on the detail page
  • Residential proxy with Brazil geotargeting — Apify RESIDENTIAL proxies with BR exit nodes, required for reliable access to JusBrasil content

Who Uses JusBrasil Data?

  • Legal researchers — build datasets of precedents for academic or policy analysis
  • Law firms — monitor case outcomes for specific courts, judges, or procedural classes
  • Compliance teams — screen counterparties for pending or concluded litigation
  • Legal tech developers — train NLP models on Brazilian court language and legal reasoning
  • Business intelligence analysts — track litigation trends by subject, court, or region

How It Works

  1. Configure your search — provide a keyword (e.g., "responsabilidade civil") or a CNJ process number, optionally with a court filter
  2. The scraper solves the Cloudflare challenge — JusBrasil uses a managed interactive CF challenge; the actor handles this automatically via CapSolver with Brazilian residential proxy
  3. Phase 1 — collect result URLs — searches JusBrasil's jurisprudencia or consulta-processual index and gathers detail page links from result cards
  4. Phase 2 — extract full records — fetches each detail page and parses case metadata, parties, lawyers, movements, and decisions into structured JSON

JusBrasil Court Scraper Input

{
    "searchQuery": "responsabilidade civil",
    "court": "STJ",
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "BR"
    }
}
Field Type Default Description
searchQuery string "responsabilidade civil" Keywords to search in JusBrasil jurisprudencia. Used when processNumber is not provided.
processNumber string CNJ process number (format: NNNNNNN-NN.NNNN.N.NN.NNNN). Overrides searchQuery when provided.
court string "" (all) Filter to a specific court. Options: STJ, STF, TJSP, TJRJ, TJMG, TJRS, TJPR, TJSC, TJBA, TRF1–TRF5, TST.
maxItems integer 10 Maximum number of court records to return.
proxyConfiguration object RESIDENTIAL BR Proxy settings. Brazilian residential proxies are required — JusBrasil uses Cloudflare managed challenge.

Process number lookup example:

{
    "processNumber": "5013952-91.2020.8.09.0079",
    "maxItems": 1,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "BR"
    }
}

JusBrasil Court Scraper Output Fields

{
    "process_number": "5013952-91.2020.8.09.0079",
    "court": "Tribunal de Justica de Goias",
    "instance": "2nd",
    "state": "GO",
    "subject": "DIREITO CIVIL. RESPONSABILIDADE CIVIL. DANO MORAL...",
    "parties": ["Joao da Silva (Apelante)", "Empresa XYZ Ltda (Apelado)"],
    "lawyers": ["Dr. Carlos Ferreira OAB/GO 12345"],
    "judge": "Des. Maria Santos",
    "procedural_class": "Apelacao",
    "claim_value": 50000.00,
    "status": "Julgado",
    "filed_at": "2020-07-14",
    "last_movement": "Acordao publicado no DJE",
    "last_movement_at": "2021-03-10",
    "movements": ["2021-03-10 | Acordao publicado no DJE", "2021-02-18 | Julgamento realizado"],
    "decisions": ["APELACAO CIVEL. RESPONSABILIDADE CIVIL. Recurso desprovido. Unânime."],
    "appeals": [],
    "related_processes": [],
    "process_url": "https://www.jusbrasil.com.br/jurisprudencia/tj-go/1468851555",
    "source_type": "jurisprudencia",
    "scraped_at": "2026-05-09T15:14:20.800Z"
}
Field Type Description
process_number string CNJ process number in NNNNNNN-NN.NNNN.N.NN.NNNN format
court string Full court name (e.g., Tribunal de Justica de Sao Paulo)
instance string Instance level: 1st, 2nd, or superior
state string State abbreviation inferred from court code (e.g., SP, RJ)
subject string Legal subject / ementa excerpt (up to 1000 characters)
parties array Case parties — plaintiff and defendant names
lawyers array Lawyers with OAB registration numbers
judge string Presiding judge or rapporteur name
procedural_class string Procedural class (Apelacao, Habeas Corpus, Recurso Especial, etc.)
claim_value number Claim value in BRL
status string Current process status
filed_at string Filing date in YYYY-MM-DD format
last_movement string Description of the most recent movement
last_movement_at string Date of the most recent movement in YYYY-MM-DD format
movements array Recent procedural movements as `"date
decisions array Court rulings and decision excerpts (up to 5)
appeals array Related appeals
related_processes array Related CNJ process numbers found on the detail page
process_url string JusBrasil URL for this process or decision
source_type string "jurisprudencia" or "consulta-processual"
scraped_at string ISO 8601 timestamp when the record was scraped

🔍 FAQ

How do I scrape JusBrasil court records?

JusBrasil Court Scraper handles the full pipeline — Cloudflare bypass, pagination, and two-phase extraction. Provide a keyword or CNJ process number, set maxItems, and run it. Results arrive as structured JSON with the fields above.

Does JusBrasil Court Scraper need proxies?

Yes. JusBrasil sits behind a Cloudflare managed interactive challenge that requires a valid cf_clearance cookie. Datacenter IPs do not clear it. The actor uses Apify RESIDENTIAL proxies with Brazilian geotargeting — that's what the default proxyConfiguration is set to.

What data can I get from JusBrasil?

JusBrasil Court Scraper returns process metadata, parties, lawyer OAB numbers, judge names, procedural movement history, and decision text excerpts. Coverage spans STJ, STF, all 26 TJ state courts, five TRF federal regional courts, and TST.

Can I filter by court?

Yes. Set the court input field to a court code: STJ, STF, TJSP, TJRJ, TJMG, TJRS, TJPR, TJSC, TJBA, TRF1 through TRF5, or TST. Leave it blank to search across all courts.

How much does JusBrasil Court Scraper cost to run?

JusBrasil Court Scraper uses pay-per-event pricing: $0.10 per run start + $0.002 per record scraped. Ten records costs about $0.12. The Cloudflare solve adds latency but not per-request fees.


Need More Features?

Need additional courts, bulk process number lookups, or custom fields? File an issue or get in touch.

Why Use JusBrasil Court Scraper?

  • Full CF bypass built in — JusBrasil's Cloudflare managed challenge stops most scrapers cold. This one handles it automatically so you don't have to.
  • Affordable — $0.002/record means 1,000 Brazilian court records costs $2.10 all in, which is a reasonable price for data that would otherwise take days to collect manually.
  • Structured output — parties, lawyers (with OAB numbers), movements, and decisions arrive as clean JSON arrays, not one large text blob you need to parse yourself.