perfectplaintiff.com injury lawsuit data
v1.0.0Sourced figures on U.S.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search Search the data library
Find figures about injury lawsuits (one sourced figure each), datasets and law firm profiles by words: a subject, a measure, a state, a firm. Returns ids to pass to fetch. Example: "plaintiff win rate at trial Texas", "Morgan & Morgan".
| Parameter | Type | Description |
|---|---|---|
query * | string | What to look for, in plain words. |
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | An 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.
| Parameter | Type | Description |
|---|---|---|
case_type | string | A kind of case, e.g. "motor vehicle", "medical malpractice". Optional: all personal injury. |
limit | integer | |
place | string | "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.
| Parameter | Type | Description |
|---|---|---|
id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
query | string | Words 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.
| Parameter | Type | Description |
|---|---|---|
file * | string | The file path from list_datasets, e.g. "/data/federal-personal-injury-cases-by-year.csv". |
columns | array | Columns to return. Optional: all. |
contains | object | Substring matches, column: text. |
limit | integer | |
offset | integer | |
where | object | Exact 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.
| Parameter | Type | Description |
|---|---|---|
place * | string | The nation, a state, a federal district court or a county, e.g. "California". |
case_type | string | A kind of case, e.g. "motor vehicle", "medical malpractice". Optional: all personal injury. |
year | integer | One 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
docket * | string | An 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.
| Parameter | Type | Description |
|---|---|---|
company * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
days | integer | How many days ahead to list court dates. Optional: 30. |
from_date | string | First day for court dates, as YYYY-MM-DD. Optional: today. |