Brazil Court Decisions & Case Law (STJ, STF Jurisprudência) avatar

Brazil Court Decisions & Case Law (STJ, STF Jurisprudência)

Pricing

$2.00 / 1,000 decisions

Go to Apify Store
Brazil Court Decisions & Case Law (STJ, STF Jurisprudência)

Brazil Court Decisions & Case Law (STJ, STF Jurisprudência)

Search Brazilian court decisions (jurisprudência, acórdãos) from the STJ and STF, the superior courts (tribunal superior), by keyword, party, lawyer or company CNPJ. Get ementa, relator, parties, dates, legislation cited and inteiro teor, from the courts' official search services.

Pricing

$2.00 / 1,000 decisions

Rating

0.0

(0)

Developer

SiteAcs

SiteAcs

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

In short. Input: search words (keywords), a party or lawyer (party), or a company CNPJ (cnpj), plus optional filters (court, decision type, dates, relator, case class). Output: one dataset row per STJ or STF decision, the same fields for both courts. Price: $0.002 per decision ($2.00 per 1,000), full text included; a search with no results costs nothing.

Example input:

{ "keywords": "dano moral bagagem", "court": "STJ", "decisionType": "acordao", "maxResults": 25 }

Three fields of one output row (the full row is shown under "Output example" below):

{
"processNumber": "AgInt no AREsp 3229103/SP",
"relator": "HUMBERTO MARTINS",
"orgaoJulgador": "Terceira Turma"
}

For AI agents (Claude, ChatGPT, Cursor) that need a few decisions per question, use the MCP server Brazil Case Law MCP, priced per search. This Actor is for bulk exports and scheduled runs.

Search the case law (jurisprudência) of Brazil's two highest courts, the Superior Tribunal de Justiça (STJ) and the Supremo Tribunal Federal (STF), by keyword, by party or lawyer, or both. Each decision comes back as one structured row: acórdãos and decisões monocráticas with ementa, relator, court division, dates, parties and lawyers, thesis, legislation cited and, if you ask for it, the full text.

The data comes from the courts' own public search services, the ones behind scon.stj.jus.br and jurisprudencia.stf.jus.br, not from an aggregator such as Jusbrasil. A decision appears here when the court publishes it. Only the STJ and the STF are covered; full text costs nothing extra.

Em português

Pesquisa de jurisprudência do STJ e do STF por palavra-chave, por parte ou por advogado (pesquisa por parte/advogado) ou por CNPJ de empresa (pesquisa por CNPJ, com a razão social consultada em base pública): acórdãos e decisões monocráticas com ementa, relator, órgão julgador, datas, partes e advogados, tese, legislação citada e, se quiser, o inteiro teor. Os dados vêm das bases oficiais de pesquisa dos tribunais (SCON do STJ e jurisprudência do STF), sem agregadores. Custa US$ 2,00 por 1.000 decisões, com o inteiro teor incluído. Funciona como API de jurisprudência do STJ e do STF, com saída em JSON, CSV ou Excel.

Who it is for

  • Lawyers and law firms: export recent STJ and STF precedents on a topic to a spreadsheet, or re-run a saved search on a schedule.
  • Legal-tech teams: load precedents into search, RAG or classification pipelines through the API; both courts share one schema.
  • Researchers and students: build datasets of decisions by subject, minister, division or period.
  • Litigation teams: list the STJ and STF decisions in which a company, public body or law firm took part, e.g. every recent acórdão with Banco do Brasil as a party.

What you get

One dataset row per decision, with the same fields for both courts:

FieldWhat it holds
idDecision ID, prefixed with the court (e.g. STJ-ACOR-2981368, STF-sjur123456); use it to remove duplicates across runs
court, decisionTypeSTJ or STF; acordao or monocratica
processNumber, caseClass, caseClassName, statee.g. AgInt no AREsp 3229103/SP, AgInt no AREsp, AGRAVO INTERNO NO AGRAVO EM RECURSO ESPECIAL, SP (see the note on caseClass below)
registrationNumberSTJ registration number, e.g. 2026/0138387-7
relator, relatorForAcordaoReporting minister (and, at STF, the minister who wrote the acórdão when different); STF decisions signed by the presidency carry PRESIDENTE
orgaoJulgadorCourt division, e.g. Terceira Turma, Tribunal Pleno
judgmentDate, publicationDate, publicationSourceISO dates and the gazette reference (DJe/DJEN)
partiesParties and their lawyers as the court lists them, one ROLE: NAME entry each, e.g. AGDO.(A/S): BANCO DO BRASIL SA, ADV.(A/S): …. STF: always. STJ acórdãos: only with includeFullText (read from the official PDF). STJ monocratic decisions: empty, because SCON does not publish the list
ementa, rulingThe headnote and the decision summary of acórdãos
tese, temaLegal thesis and repetitive-appeal / general-repercussion theme, when there is one
legislativeReferencesStatutes and articles cited, one entry per act
citedCases, additionalInfo, notesPrecedents cited (at STF, the "Acórdão(s) citado(s)" and "Decisões monocráticas citadas" blocks), the court's indexing notes, and other remarks
textExcerptOpening of the text of monocratic decisions (which have no ementa)
fullTextFull text of the decision, when includeFullText is on
fullTextUrl, sourceUrl, processUrlOfficial links: full text (PDF), the court's record of the decision, the case page
searchKeywords, searchParty, scrapedAtThe keywords and party of the search that found the decision, and when it was collected (UTC)

processNumber is written as each court writes it: STJ puts incidents before the class and adds /UF when the state is known (AgInt no AREsp 3229103/SP); STF puts them after the number (RE 1613807 AgR). caseClass follows each court's own catalogue: at STJ it is everything before the number, incidents included (AgInt no AREsp); at STF it is the main class only (RE for RE 1613807 AgR).

Input examples

Recent STJ acórdãos on lost or damaged luggage:

{
"keywords": "dano moral bagagem",
"court": "STJ",
"decisionType": "acordao",
"maxResults": 25
}

STF and STJ decisions judged in 2025 on a phrase, with full text:

{
"keywords": "\"plano de saúde\" AND (reembolso OR rol)",
"court": "both",
"decisionType": "both",
"dateType": "judgment",
"dateFrom": "2025-01-01",
"dateTo": "2025-12-31",
"includeFullText": true,
"maxResults": 100
}

STJ acórdãos of one division that cite a precedent (orgaoJulgador names differ between the courts, so set court):

{
"keywords": "\"Súmula 7/STJ\" bagagem",
"court": "STJ",
"orgaoJulgador": "Terceira Turma",
"maxResults": 50
}

The newest STF and STJ acórdãos with Banco do Brasil among the parties (no keywords needed):

{
"party": "Banco do Brasil",
"court": "both",
"maxResults": 100
}

A party and legal terms together, with the parties read from each STJ acórdão's PDF:

{
"keywords": "royalties",
"party": "Petrobras",
"includeFullText": true,
"maxResults": 20
}

Keyword syntax (keywords, at most 500 characters): words are combined with AND; use quotes for a phrase, OR and NOT between terms, and parentheses to group. The operators can also be typed in lower case or in Portuguese (ou, e, não/nao); outside quotes these words are read as operators at both courts. A query the courts would reject (an unclosed parenthesis or quote, an operator with no term on one side, an empty group, a lone -) is refused before the search, and nothing is charged. Citations such as Súmula 7/STJ, Lei 8.078/90 or Tema 1.199 can be typed as they are (for the STJ, a dotted number such as 1.199 is sent as a phrase, which its search needs).

Other filters: relator (minister's name, accents ignored), orgaoJulgador, caseClass (e.g. REsp, AREsp, HC, RE, ARE, ADI), and a date range on publication or judgment date. party takes a company, public body, person or lawyer as the court writes the name (3 to 200 characters); see "Party and lawyer search" below. maxResults defaults to 50 and goes up to 10,000.

Output example

{
"id": "STJ-ACOR-2981368",
"court": "STJ",
"decisionType": "acordao",
"processNumber": "AgInt no AREsp 3229103/SP",
"caseClass": "AgInt no AREsp",
"caseClassName": "AGRAVO INTERNO NO AGRAVO EM RECURSO ESPECIAL",
"registrationNumber": "2026/0138387-7",
"state": "SP",
"relator": "HUMBERTO MARTINS",
"relatorForAcordao": null,
"orgaoJulgador": "Terceira Turma",
"judgmentDate": "2026-10-27",
"publicationDate": "2026-10-29",
"publicationSource": "DJEN 29/10/2026",
"parties": null,
"ementa": "AGRAVO INTERNO NO AGRAVO EM RECURSO ESPECIAL. CIVIL. ALEGAÇÃO GENÉRICA. SÚMULA N. 284/STF. BAGAGEM. AVARIA. DANO MORAL. REVISÃO. SÚMULA N. 7/STJ.\nO recurso especial não comporta conhecimento. [...]\nAgravo interno improvido.",
"ruling": "Vistos e relatados estes autos [...] por unanimidade, negar provimento ao recurso, nos termos do voto do Sr. Ministro Relator. [...]",
"tese": null,
"tema": null,
"legislativeReferences": [],
"citedCases": null,
"additionalInfo": null,
"notes": null,
"textExcerpt": null,
"fullText": null,
"fullTextUrl": "https://processo.stj.jus.br/SCON/GetInteiroTeorDoAcordao?num_registro=202601383877&dt_publicacao=29/10/2026",
"sourceUrl": "https://processo.stj.jus.br/SCON/SearchBRS?b=ACOR&livre=2981368+inpath%28CDOC%29&p=false",
"processUrl": "https://consulta-processo.web.stj.jus.br/resultados?nr=202601383877",
"searchKeywords": "dano moral bagagem",
"searchParty": null,
"scrapedAt": "2026-11-11T19:01:02+00:00"
}

Pricing

You pay $2.00 per 1,000 decisions returned ($0.002 each), with no Apify platform usage charges on top.

  • Only decisions saved to your dataset are charged. A search that finds nothing costs nothing.
  • Full text (includeFullText) is included at the same price.
  • maxResults caps the cost of a run: 50 results cost at most $0.10.
  • If your spending limit for the run is reached, the actor stops cleanly and keeps what it already saved.

Limits and tips

  • Broad STJ searches can time out, mostly on monocratic decisions. The STJ database cancels very broad queries (Oracle error ORA-01013). The run then names the base it was searching in its status message and still returns what the other sources found. Add specific words, a phrase in quotes, or a date range of a few months.
  • maxResults is shared. With both courts or both decision types, the limit is split fairly between the sources; a source with fewer hits leaves its share to the others. Each court's results come newest first, by publication date (by judgment date when dateType is judgment; STJ monocratic decisions have only a publication date).
  • When a court is down the run still searches the other one and names the failure in its status message. If no court can be searched at all, the run ends as failed, so an outage never looks like "no results".
  • Full text. STF texts come with the search. For STJ acórdãos the actor downloads the official PDF and extracts its text, which adds a few seconds per decision. Some old STF acórdãos have no text, only a link.
  • Coverage is whatever the courts publish in their search services: the acórdãos and monocratic decisions indexed in the STJ's SCON, and STF's acórdãos (about 373,000) and monocratic decisions (about 760,000).
  • What keywords searches. STF: the ementa, indexing, thesis and theme, observation notes, legislation and precedents cited, case number and, for monocratic decisions, the decision text (the STF site's defaults, without the party list and session record). STJ: every field SCON searches by default, which includes its party index. A name typed as a keyword is therefore matched in STF's texts and in STJ's texts and party index.
  • What party searches. Only each court's own party list (see below), never the decision text.
  • Pace. The actor sends at most about one request per second to each court and needs no proxy.

party returns only decisions where the name appears in the court's own list of parties and lawyers:

  • STF: the "Partes" field of each decision (partes_lista_texto: AGTE.(S), AGDO.(A/S), ADV.(A/S) and so on).
  • STJ: SCON's party index (the field its site searches with [PART]), which holds parties and their lawyers. SCON does not show that list in its results, so parties is filled for STJ acórdãos only when includeFullText is on.

The name is matched as a phrase, word for word, with accents and case ignored (previdencia finds PREVIDÊNCIA). A longer name that contains the phrase also matches: Banco do Brasil also finds

CASSI - Caixa de Assistência dos Funcionários do Banco do Brasil
, so check parties when that matters. Spelling variants are not merged: STF lists INSTITUTO NACIONAL DO SEGURO SOCIAL and sometimes ... DE SEGURO SOCIAL - INSS, so the acronym INSS can find more. For a lawyer, search the name: the courts write OAB registrations in different forms (STJ SP247319, STF 83976/DF).

Before the search, the name is cleaned so that it matches however the court wrote the company form: a trailing S.A., S/A, SA, S A, Ltda, ME, EPP or EIRELI is dropped, and - is read as a space (Banco do Brasil S/A searches Banco do Brasil; Coca-Cola searches Coca Cola, which also finds COCA-COLA). A company form in the middle of the name ends it: Petróleo Brasileiro S.A. - Petrobras searches Petróleo Brasileiro, since the courts write what follows in many ways. A bare SA or ME counts mid-name only when the whole name is in capitals (José ME Silva is kept whole). Quotes, brackets and wildcards are dropped too, so the name is always searched as one literal phrase.

A party search returns decisions, not counts: the run's log and status message give no number of matches per court for it (keyword searches without party still log them).

Company search by CNPJ (pesquisa por CNPJ)

cnpj takes a company's CNPJ, formatted (00.000.000/0001-91) or as 14 digits, and returns decisions about that company:

  1. The number is checked (14 digits, valid check digits) and looked up in a free public CNPJ registry built on the Receita Federal's open data: BrasilAPI first, then Minha Receita if it does not answer. Only the number is sent, directly, with no proxy. Only the registered name (razão social), the trade name (nome fantasia), the legal nature and the MEI flag (opcao_pelo_mei) are read from the answer.
  2. Both courts' party lists are searched for the registered name with its company form, in each spelling the courts index: BANCO DO BRASIL SA is sent as BANCO DO BRASIL S.A., S/A, SA and S A, so the bank is found and CAIXA DE ASSISTENCIA DOS FUNCIONARIOS DO BANCO DO BRASIL is not. A status after the name (
    EM RECUPERACAO JUDICIAL
    , EM LIQUIDACAO EXTRAJUDICIAL) is dropped first. Decisions that print the CNPJ in their text (full text included at STF) are found too; the number alone finds only a handful of decisions per company.
  3. Every row with a party list is checked before it is saved: every STF row, and STJ acórdãos when includeFullText is on (their party list comes from the PDF). A row is kept only when a party entry, after its role label, starts with the company's name followed by the end, a company form, -, E OUTRO(A/S) or
    EM RECUPERACAO
    (PETRÓLEO BRASILEIRO S/A - PETROBRAS passes; PETROBRAS TRANSPORTE S.A. - TRANSPETRO,
    FUNDAÇÃO PETROBRAS ...
    , RIO CLARO ... and people named Vale do not), or when the court reports the CNPJ match. Rows that fail are dropped and not charged. STJ rows without a party list (monocratic decisions, and acórdãos without full text) are not verified: SCON matches the phrase anywhere in its party index, so check parties or turn on includeFullText when precision matters.
  4. The trade name is searched too when it names the company: it is cut at - (PETROBRAS - EDISE searches PETROBRAS), office words at its end are dropped (MATRIZ, SEDE, EST UNIF, ...), and none is searched when it names an office or department (DIRECAO GERAL, DEPARTAMENTO ...), has digits, or repeats the registered name. At the STJ the trade name is sent only where the row can be checked (acórdãos with full text).
  5. Each row carries searchCnpj, searchCompanyName (the razão social) and matchedBy: party when its party list names the company by the rule above, cnpj-text when the CNPJ matched in its text, or null when the row cannot show it (unverified STJ rows).

Refused before any court request, and not charged:

  • Natural persons: legal nature 213-5 (empresário individual, which every MEI is), the whole group 4 "pessoas físicas" (produtor rural, leiloeiro, contribuinte individual, ...), a record without a 4-digit legal nature, the MEI flag, and a registered name with a run of 8 or more digits (MEI names often hold the owner's CPF). Such a name is never shown in the log, the message or the output. Shorter numbers in a company's name are fine (3M DO BRASIL, B3 S.A., 99 TECNOLOGIA); a trade name with digits is simply not searched.
  • A CNPJ with wrong check digits, one the registries do not know, or any CNPJ while the registries do not answer (the search is never run without the name).
  • cnpj together with party. It works alone or with keywords.

Like a party search, a CNPJ search returns decisions, not counts. CPF numbers stay refused in every field.

Perguntas frequentes

Como faço uma pesquisa de jurisprudência do STJ e do STF e exporto o resultado? Digite os termos em keywords, escolha o tribunal em court (STJ, STF ou ambos) e rode o Actor. Cada acórdão volta como uma linha com a ementa, o relator, o órgão julgador, as datas e os links oficiais, e o inteiro teor vem junto se você ligar includeFullText. O resultado pode ser baixado em JSON, CSV ou Excel ou lido pela API. Só o STJ e o STF são pesquisados, e só as decisões que o próprio tribunal publica; para um relator específico, use o campo relator, e para decisões de uma empresa ou de um advogado, os campos cnpj e party.

Official published decisions only

This actor returns decisions the courts themselves publish in their official case-law search, with the fields the courts publish, including the parties and lawyers they list. It searches one name at a time and returns decisions; it does not build profiles of people or totals per person.

  • No CPF search. A CPF number in any input field is refused: the run fails with a message and charges nothing. The check counts digits, not separators: a field with 9 or more digits outside the number forms the actor recognises is refused, however they are punctuated or split. Recognised forms, each in its exact printed format: CNJ case numbers, CNPJs, STJ registration numbers, R$ amounts below R$ 100 million, dates, years, OAB numbers, and numbers right after a case class or statute word (REsp 1.810.170/RS, Tema 1.199, lei 8.112/90). Numbers side by side (only spaces or punctuation between them) count together, so arts. 165, 458, 535 or two case numbers in a row are refused; put a word between them (arts. 165, 458 e 535). Write amounts of R$ 100 million or more in millions (R$ 150 milhões). Court wildcards (?, $, *, %, _) next to a digit are refused too.
  • CPF numbers are masked (***.***.***-**) in every output field, including full texts, when a court text prints one, however it is punctuated (nº.123.456.789-09, 123.456.789- 09, 123456789-09), with or without the word "CPF" before it.
  • Court field syntax is refused. Typed SCON field suffixes such as .TXT., .PART. or [PART] (also with spaces before them), inpath(...) and @ field references are refused (and not charged); the actor builds its own field clauses. Abbreviations such as Ind.Com.Ltda. or Ag.Rg. are fine.
  • Lawful use is the buyer's responsibility. Court decisions name private people. Under the LGPD (Lei 13.709/2018), you need a lawful purpose for processing them: legal research, litigation and compliance work are typical; screening job applicants or tenants, or building profiles of people, are not uses this actor is meant for.