perfectplaintiff.com injury lawsuit data

v1.0.0
io.github.Phenotype-Brandvoz/perfectplaintiff-injury-lawsuit-data Checked 1 day ago Published 14 days ago

Sourced figures on U.S.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch Fetch one result

The full text of one search result: the figure in a sentence with its place, period, label and source, how it was calculated, the known limits, the page and the credit line.

ParameterTypeDescription
id *stringAn id from search, e.g. "finding:texas-personal-injury-plaintiff-win-share" or "firm:morgan-and-morgan".

list_findings List the findings

The newsroom's findings (one figure in a sentence each), for the nation, one of the states covered, or New York City, and optionally one kind of case.

ParameterTypeDescription
case_typestringA kind of case, e.g. "motor vehicle", "medical malpractice". Optional: all personal injury.
limitinteger
placestring"United States", a state name such as "Texas", or "New York City". Optional: the nation.

get_finding Get one finding

One finding as data: figure, statement, label (Sourced, Computed or Estimated), sources with the date retrieved and reuse terms, how it was calculated, limits, credit line, page and CSV.

ParameterTypeDescription
id *stringThe finding id, with or without the "finding:" prefix.

list_datasets List the datasets

The datasets in the data library with their files, columns and row counts: federal injury cases by court, state and year, class actions, multidistrict litigation, judges, tort claim payments and more. Filter by words.

ParameterTypeDescription
limitinteger
querystringWords to match in the name or description. Optional.

query_dataset Query a CSV file

Rows of one CSV file from the data library, filtered by column values. Use list_datasets to get a file path and its columns. Returns at most 200 rows a call; use offset for more.

ParameterTypeDescription
file *stringThe file path from list_datasets, e.g. "/data/federal-personal-injury-cases-by-year.csv".
columnsarrayColumns to return. Optional: all.
containsobjectSubstring matches, column: text.
limitinteger
offsetinteger
whereobjectExact matches, column: value (case-insensitive), e.g. {"state": "Texas", "year": "2025"}.

get_case_outcomes How cases ended in one place

Every published figure for one place and kind of case: cases filed and closed, trials, plaintiff wins at trial, the share settled and days to closing, each with its label and source. Without a year: the latest year and multi-year figures.

ParameterTypeDescription
place *stringThe nation, a state, a federal district court or a county, e.g. "California".
case_typestringA kind of case, e.g. "motor vehicle", "medical malpractice". Optional: all personal injury.
yearintegerOne calendar year. Optional.

get_law_firm_profile Public facts about a law firm

What named public sources state about one of 203 injury, mass tort and class action law firms: founding, offices, kinds of case, slogan and reported results. Each row says who states it. Not a rating; a firm's claims are not checked.

ParameterTypeDescription
name *stringThe firm's name, or part of it, e.g. "Morgan & Morgan".

how_to_cite How to cite

The credit line, the underlying sources and their reuse terms for a finding, a dataset or a law firm profile.

ParameterTypeDescription
id *stringA finding, dataset or firm id.

get_mdl_docket One multidistrict litigation

One federal multidistrict litigation (MDL) by number or name: court, judge, actions pending, total actions and what the lawsuits are about in plain words, each with label and source.

ParameterTypeDescription
docket *stringAn MDL number such as "3060", or words from its name, e.g. "hair relaxer".

get_company_mass_torts A company's mass torts

The multidistrict litigations a listed company is linked to, with the actions pending in each. No estimates.

ParameterTypeDescription
company *stringA company name or ticker, e.g. "Johnson & Johnson" or "JNJ".

list_mass_tort_signals Mass tort signals

How many dockets rose sharply on the Panel's latest monthly report of pending multidistrict litigations. Which ones is for PerfectPlaintiff Pro subscribers.

ParameterTypeDescription
daysintegerHow many days ahead to list court dates. Optional: 30.
from_datestringFirst day for court dates, as YYYY-MM-DD. Optional: today.