legal.listCourts() to resolve court slugs for filtering.
Search dockets
Endpoint
Look up a docket
Retrieve a specific docket by ID.Look up docket entries
PassincludeEntries: true in lookup mode to return the docket plus filing entries and attached RECAP document metadata.
Live PACER fetch
For dockets not yet in the RECAP archive, you can trigger a live fetch from PACER. This purchases fresh docket data using CaseMark’s PACER account and ingests it into the RECAP archive.How it works
- The endpoint first tries to fetch the docket from the free RECAP archive
- If
live: true, it triggers a live PACER purchase to fetch fresh docket data - CaseMark’s PACER account is used — you don’t need your own PACER credentials
- The fetch typically takes 5-30 seconds depending on docket size
- Once fetched, the docket is added to the RECAP archive and freely available for future lookups
Cost and guardrails
Additional guardrails:
- Daily spend cap: $25/day per organization (resets at midnight UTC)
- Fee acknowledgment required: Requests without
acknowledgePacerFees: truereturn 400 - Free tier users: The standard $10 free credit limit applies — live fetches count toward it
Live fetch response
Whenlive: true, the response includes a pacerFees object:
Resolve court IDs
Court slugs likecand, nysd, ca9 identify specific courts. Use legal.listCourts() to search for the correct slug to pass as the court parameter in legal.docket().
Endpoint
Jurisdiction codes
Parameters
Docket search
Docket lookup
Courts lookup
Response fields
Docket object
Docket entry
Document
Pricing
Data source
All docket data comes from CourtListener’s RECAP archive, which aggregates federal court filings contributed by the RECAP browser extension. Coverage includes:- All federal district courts
- All federal appellate courts
- Federal bankruptcy courts
- Specialty courts (Tax Court, Court of Federal Claims, etc.)

