CourtListener Case Law Scraper
Pricing
from $3.34 / 1,000 results
CourtListener Case Law Scraper
Search US court opinions, RECAP dockets and oral arguments from CourtListener: case name, court, docket number, judges, citations, filing dates and opinion snippets. Free public API.
Pricing
from $3.34 / 1,000 results
Rating
0.0
(0)
Developer
Farhan Febrian Nauval
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
CourtListener Case Law Scraper — US Opinions, Dockets & Oral Arguments
Search CourtListener's corpus of US case law: case name, court, docket number, judges, citations and cite counts, filing dates, and the opening text of each opinion. Also covers RECAP dockets, oral arguments and judges.
With or without an API token
CourtListener is run by the Free Law Project, a non-profit. Its API no longer accepts anonymous requests, so the actor works in two ways:
- Without a token: it reads CourtListener's public search feed. You get the newest 20 results per search with basic fields: case name, court, filing date, link and a text snippet.
- With a free token from courtlistener.com: full records (docket number, judges, citations,
cite counts, opinions) and up to
maxItemsPerQueryresults per search.
Input
| Field | Type | Default | Description |
|---|---|---|---|
searchQueries | array | required | Same syntax as CourtListener's own search box |
searchType | string | opinions | opinions, recap, oral-arguments, people |
courts | array | — | Court IDs, e.g. scotus, ca9, dcd |
filedAfter / filedBefore | string | — | YYYY-MM-DD |
maxItemsPerQuery | integer | 100 | 20 results per request |
apiToken | string (secret) | — | Optional. Free from courtlistener.com — see above |
Output
{"_input": "copyright fair use","_source": "S1-courtlistener-api","_scrapedAt": "2026-09-09T13:22:07Z","clusterId": 9231237, "docketId": 65678901,"url": "https://www.courtlistener.com/opinion/9231237/fort-bend-cnty-v-davis/","caseName": "Fort Bend Cnty. v. Davis","caseNameFull": "Fort Bend County, Texas v. Lois M. Davis","docketNumber": "No. 18-525","status": "Published","court": "Supreme Court of the United States","courtId": "scotus","courtCitationString": "SCOTUS","dateFiled": "2019-06-03", "dateArgued": "2019-04-22","judge": "Ginsburg","attorney": "Benjamin J. Horwich, San Francisco, CA, argued the cause for…","citations": ["587 U.S. 541", "139 S. Ct. 1843"],"citeCount": 398,"lexisCite": "…", "scdbId": "…","opinionCount": 1,"opinions": [{"opinionId": 9231238, "type": "combined-opinion","authorId": 8589, "perCuriam": false,"downloadUrl": "…", "localPath": "pdf/…", "citesCount": 41,"snippet": "Justice GINSBURG delivered the opinion of the Court…"}],"snippet": "Justice GINSBURG delivered the opinion of the Court…","searchType": "opinions"}
Without a token, each row has the basic fields only (_source is S2-courtlistener-search-feed):
{"_input": "copyright fair use","_source": "S2-courtlistener-search-feed","_scrapedAt": "2026-11-11T14:50:55Z","clusterId": 11057736,"docketId": null,"url": "https://www.courtlistener.com/opinion/11057736/fernandez-v-commissioner-of-correction/","caseName": "Fernandez v. Commissioner of Correction","court": "Connecticut Appellate Court","dateFiled": "2026-11-10","snippet": "Reports or Connecticut Appellate Reports are copyrighted by the Secretary of the State, State of Connecticut","searchType": "opinions"}
Two things worth knowing
Cursor pages overlap slightly. Paging by the next cursor, page 2 repeated one of page 1's
twenty results in testing. The actor tracks cluster IDs and emits each case once, so a run of N
requests can return slightly fewer than 20 × N rows — that is correct, not a shortfall.
Several fields are real but sparse. posture, proceduralHistory, syllabus, panelNames,
panelIds, neutralCite, dateReargued and dateReargumentDenied are genuine CourtListener
fields that are empty for most cases; suitNature and courtJurisdiction populate for a minority
(4 and 1 of 20 in a mixed-court sample, and none at all in a Supreme Court sample). They are shipped
rather than hidden, because when they are present they matter — but an empty value here means the
corpus has none, not that the scrape failed.
Full opinion text is not fetched. Each opinion carries a snippet — the opening of the text —
plus downloadUrl and localPath pointing at the source document. Retrieving complete opinions
would mean one request per case against the same rate limit, so it is deliberately out of scope.
Errors
_error | Meaning |
|---|---|
invalid_input | Empty search query |
no_results | The search ran and matched nothing |
unexpected_shape | A 200 without a results list |
blocked | CourtListener refused every attempt to connect |
network_error | The ladder never reached the server |
A rejected API token fails the whole run immediately rather than repeating the mistake for every remaining query — nothing downstream can succeed with bad credentials.