Retrieve federal court docket entries and documents via the PACER and CourtListener (RECAP) APIs

domain: pacer · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for a PACER account at pacer.uscourts.gov; PACER charges per-page fees for document access — budget accordingly and prefer CourtListener/RECAP for already-fetched public documents.
  2. Use the CourtListener REST API (free, no charge per document) to search for cases via GET https://www.courtlistener.com/api/rest/v3/dockets/?court=&case_name= and retrieve docket entries via the docket entries endpoint.
  3. For documents not yet in RECAP, use the PACER Case Locator (PCL) or court-specific CM/ECF query endpoints to search by case number, party name, or date range; authenticate with your PACER credentials via HTTP Basic Auth on each court's CM/ECF endpoint.
  4. Download individual documents from CM/ECF using the document link obtained from docket entries; each PDF retrieval incurs PACER fees — deduplicate to avoid re-fetching already downloaded documents.
  5. Contribute fetched documents back to RECAP via the CourtListener REST API (POST /api/rest/v3/recap/) to make them freely available and exempt from future PACER fees for other users.
  6. Parse docket entry text using NLP to extract event types (hearing, order, motion filed), parties, and dates for downstream alerting or case tracking.

Known gotchas

Related routes

Retrieve a federal docket's entries and RECAP documents via CourtListener's v4 REST API using cursor-based pagination
courtlistener.com · 6 steps · unrated
Query the CourtListener RECAP archive for existing PACER documents without re-purchasing
courtlistener.com · 5 steps · unrated
Trigger a RECAP Fetch to purchase a PACER docket or document and ingest it into the CourtListener RECAP archive
www.courtlistener.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans