CourtListener → Opinion & Docket Markdown avatar

CourtListener → Opinion & Docket Markdown

Pricing

from $3.00 / 1,000 courtlistener cards

Go to Apify Store
CourtListener → Opinion & Docket Markdown

CourtListener → Opinion & Docket Markdown

CourtListener opinions, dockets, and search → Markdown due-diligence / RAG cards + JSON. Keyless search by default; optional buyer CourtListener API token for /opinions/ and /dockets/. No PACER login. Failed rows free. 256 MB.

Pricing

from $3.00 / 1,000 courtlistener cards

Rating

0.0

(0)

Developer

新世紀書僮

新世紀書僮

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Turn CourtListener opinions, dockets, and search hits into Markdown due-diligence / RAG cards + JSON.

CourtListener REST API only (https://www.courtlistener.com/api/rest/v4/). No PACER username/password, no PACER wallet, no paywall scraping.

Modes

PathEndpointToken
Default / keylessGET /search/?q={query}&type=o (or type=d)None
Opinion / docket BYOKGET /opinions/{id}/, /dockets/{id}/, /clusters/{id}/Your CourtListener API token as Authorization: Token <token>

mode=auto (default): queries → search; opinionIds / docketIds / parsed urls → authenticated detail (requires apiToken).

Get a CourtListener API token (buyer self-serve)

  1. Create a free account at https://www.courtlistener.com/register/
  2. Open https://www.courtlistener.com/profile/api-token/
  3. Copy the token into this Actor’s apiToken input (secret)

Header format (CourtListener uses Django REST Token, not Bearer):

Authorization: Token YOUR_TOKEN

The Actor publisher does not store a shared team token, does not perform any KYC / top-up, and never asks for PACER credentials.

Input

  • queries — string list (keyless search)
  • opinionIds / docketIds — ids or API URLs (need apiToken)
  • urls — CourtListener opinion / docket / API URLs (site /opinion/{id}/ uses cluster id)
  • datasetId / keyValueStoreId + keyValueRecordKey (default INPUT_COURT) / idField
  • mode — auto | search | opinion | docket
  • apiToken — optional secret
  • enrichSearchHits (default true) — with token, deepen opinion search hits via /opinions/{id}/
  • includeRagChunks (default true)
  • snippetMaxChars 4000 · searchPageSize 5 · maxItems 50 · maxConcurrency 2 · maxRetries 3 · requestTimeoutSecs 30

Output

Dataset row per card: kind (opinion | docket | search_hit), id, caseName, court, dateFiled / dateArgued, citation, snippet / excerpt, absoluteUrl, markdown, source, status, error fields.

Key-value store: REPORT.md, CHUNKS.jsonl, SUMMARY, OUTPUT.

Markdown sections: Identity · Court & Dates · Summary/Excerpt · Citations · Source.

Pricing (pay-per-event)

EventPrice
apify-actor-start$0.001
court-card (primary)$0.003 per successful card

Invalid input, not found, auth errors, rate limits after retries, and other failures are free.

Example

{
"queries": ["Miranda v. Arizona"],
"mode": "auto",
"apiToken": "YOUR_TOKEN",
"includeRagChunks": true,
"maxItems": 5,
"snippetMaxChars": 4000
}

Limits

Default run: 256 MB, timeout 3600 s (max memory 1024 MB). Keep concurrency low on the keyless path.

Licence

Actor source is AGPL-3.0. CourtListener data is provided by Free Law Project; respect their terms and rate limits.

Source code

Open source (AGPL-3.0): https://github.com/xbox002000/courtlistener-markdown