US Court Records & Legal Opinions
Pricing
Pay per usage
US Court Records & Legal Opinions
Search US court records and legal opinions via CourtListener. Find opinions by keyword, case name, judge, date range, or court. Search dockets by party or case number. Get full opinion text and citations.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
lulz bot
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
US Court Records & Legal Opinions Scraper
Search US court records, case law opinions, and docket filings via the CourtListener API. Access millions of legal documents from federal and state courts including the Supreme Court, Circuit Courts, and District Courts.
Features
- Search opinions -- Find case law by keyword, judge, court, date range, and precedential status
- Search dockets -- Look up case filings by party name, case number, court, or date range
- Get case details -- Retrieve full opinion text, docket history, and associated documents for a specific case
- Boolean search -- Supports AND, OR, NOT operators, phrase search with quotes, and wildcards
- Full opinion text -- Optionally fetch the complete text of court opinions (requires free API token)
- Cursor-based pagination -- Efficiently retrieves large result sets
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | string | "opinions" | Search mode: opinions, dockets, or details |
searchQuery | string | "" | Keywords to search for (supports boolean operators) |
caseId | string | "" | Cluster or docket ID for details mode |
court | string | "" | Court abbreviation (e.g., scotus, ca9, nyed) |
judge | string | "" | Judge or panel member name |
caseName | string | "" | Filter by case name |
party | string | "" | Party name for docket search |
docketNumber | string | "" | Docket/case number (e.g., 23-1234) |
dateFrom | string | "" | Start date filter (YYYY-MM-DD) |
dateTo | string | "" | End date filter (YYYY-MM-DD) |
status | string | "" | Precedential status: precedential, non-precedential, errata, etc. |
maxResults | integer | 50 | Maximum number of results (1-500) |
includeFullText | boolean | false | Fetch full opinion text for each result (slower) |
apiToken | string | -- | CourtListener API token (free at courtlistener.com, 5000 req/hr) |
Example Inputs
Search Supreme Court first amendment cases:
{"mode": "opinions","searchQuery": "first amendment free speech","court": "scotus","status": "precedential","maxResults": 25}
Find dockets for a specific party:
{"mode": "dockets","party": "Google","court": "ca9","dateFrom": "2023-01-01","maxResults": 50}
Get full details for a specific case:
{"mode": "details","caseId": "2812209","apiToken": "YOUR_TOKEN_HERE"}
Output Fields
Opinion Search Results
| Field | Type | Description |
|---|---|---|
clusterId | number | CourtListener cluster ID (opinion group) |
docketId | number | Associated docket ID |
caseName | string | Short case name |
caseNameFull | string | Full case name |
court | string | Court name |
courtId | string | Court abbreviation code |
dateFiled | string | Date the opinion was filed |
docketNumber | string | Docket number |
judge | string | Author judge |
panelNames | array | Panel members |
status | string | Precedential status |
citations | array | Legal citations |
citeCount | number | Number of times this case is cited |
syllabus | string | Case syllabus/summary |
snippet | string | Relevant text snippet |
fullOpinionText | string | Full opinion text (when includeFullText enabled) |
url | string | CourtListener URL |
Docket Search Results
| Field | Type | Description |
|---|---|---|
docketId | number | Docket ID |
caseName | string | Case name |
court | string | Court name |
dateFiled | string | Filing date |
dateTerminated | string | Termination date (if resolved) |
docketNumber | string | Docket number |
cause | string | Cause of action |
suitNature | string | Nature of suit |
assignedTo | string | Assigned judge |
parties | array | Party names |
attorneys | string | Attorneys of record |
url | string | CourtListener URL |
Use Cases
- Legal research -- Find relevant case law and precedent on any topic
- Litigation tracking -- Monitor dockets for specific parties or case numbers
- Compliance analysis -- Research regulatory rulings and enforcement actions
- Academic research -- Analyze judicial opinions, citation patterns, and court statistics
- Due diligence -- Check litigation history for companies and individuals
Data Source
Data is sourced from the CourtListener API (by Free Law Project), which indexes millions of opinions and dockets from US federal and state courts.
Run on Apify
This scraper runs on the Apify platform -- a full-stack web scraping and automation cloud. Sign up for a free account to get started with 30-day trial of all features.