Search federal court dockets or retrieve a specific docket with optional filing entries. Covers all federal district and appellate courts. Use legal.listCourts() to resolve court slugs for filtering.
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.
Live PACER fetches incur PACER fees of up to 3.00perdocketsheet∗∗plusa∗∗0.05 service fee. You must pass acknowledgePacerFees: true to confirm you accept these charges.
const docket = await client.legal.docket({ type: 'lookup', docketId: '4214664', live: true, acknowledgePacerFees: true,});console.log(`Fetched: ${docket.docket.caseName}`);console.log(`PACER fees: up to $${docket.pacerFees.maxPacerCost} + $${docket.pacerFees.serviceFee} service fee`);console.log(`Fetch took ${docket.pacerFees.fetchDurationMs}ms`);
Court slugs like cand, nysd, ca9 identify specific courts. Use legal.listCourts() to search for the correct slug to pass as the court parameter in legal.docket().
Endpoint
POST /legal/v1/courts
const courts = await client.legal.listCourts({ query: 'northern district california', jurisdiction: 'FD', // Federal District});for (const court of courts.courts) { console.log(`${court.name} → ${court.id}`); // "U.S. District Court for the Northern District of California → cand"}
Docket entry listing (includeEntries: true) is coming soon. The response schema below describes the planned format. The parameter is accepted today for forward compatibility but currently returns a 501 status.
Field
Type
Description
entryNumber
integer
Filing number on the docket
date
string
Filing date
description
string
Docket text (e.g. “COMPLAINT filed by Apple Inc.”)
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.)
RECAP coverage varies by court and case. High-profile cases and active litigation tend to have the most complete filing histories.