US Federal Court Documents | RECAP PDFs and Docket Entries avatar

US Federal Court Documents | RECAP PDFs and Docket Entries

Pricing

from $2.00 / 1,000 court document rows

Go to Apify Store
US Federal Court Documents | RECAP PDFs and Docket Entries

US Federal Court Documents | RECAP PDFs and Docket Entries

Retrieve federal court documents from public RECAP dockets: main filings, attachments, PDF links, availability and optional extracted text. Join cases to documents using stable public identifiers.

Pricing

from $2.00 / 1,000 court document rows

Rating

0.0

(0)

Developer

SR

SR

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Features

Limited permissions

Share

US federal court documents: RECAP PDFs and docket entries

Retrieve federal court documents from public CourtListener RECAP dockets, with main filings, attachments, observed PDF links and stable identifiers. Start with a docket ID to list the public filings in one case, or use a query to discover matching documents across cases, then hand the rows to litigation diligence or litigation finance screens. The actor returns structured document rows that can be joined to the cases returned by CourtListener Court Records Scraper.

What federal court documents can you retrieve?

The actor reads publicly accessible docket entries and creates one row for each numbered main document and each listed attachment. A filing with twelve attachments therefore produces thirteen separate rows when attachments are enabled. Every row carries its filing date, case identity, document number, description and source URL whenever the source supplies those values. PDF links are copied from the source rather than constructed from document numbers.

Documents that exist on a docket but have no public RECAP copy remain useful records. By default, they are delivered with is_available: false and pdf_url: null. This lets diligence workflows distinguish an unavailable filing from a missing docket entry. Set available_only: true to deliver only rows with an observed PDF URL. The actor does not buy documents on PACER, access sealed material or download PDF files into your storage.

Input

Supply docket_id or query. A docket ID comes from a CourtListener docket URL or the docket_id and case_id fields of a case record. For example, the public Angela Patent docket is 45814286. A useful first input is:

{"docket_id":45814286,"max_items":100}

Use document_number for an exact main filing number, including its attachments when enabled. This recorded example requests the filing and attachments numbered 1904 in Apple v. Samsung:

{"docket_id":4178089,"document_number":1904,"max_items":100}

You can also supply document_number_min and document_number_max for an inclusive entry range. These filters require a docket ID. Use either the exact number or a range. include_attachments defaults to true; disabling it returns main documents only.

filed_after and filed_before accept valid dates in YYYY-MM-DD form. Both boundaries are inclusive and always refer to the document filing date. sort accepts date_asc or date_desc and controls source document date ordering. Attachments stay grouped with their entry.

A query uses public RECAP search syntax. When combined with docket_id, it searches within that case. Without a docket ID, it searches across cases and accepts a court filter containing lowercase CourtListener court IDs. Date filters still apply to document dates in either search mode.

max_items limits the total delivered rows, including attachments, across continuation requests. It defaults to 100 and accepts values from 1 through 5000. maxItems is an alias. If you supply both names, their values must agree. include_text requests available extracted document text and the numeric source document ID.

Output

The default dataset contains court_document rows. Their document_id uses public coordinates: recap:<docket_id>:<document_number>. Attachments include the attachment suffix, such as recap:4178089:1904-1. These coordinates match the related CourtListener scraper. They are distinct from source_document_id, which is the numeric RECAP identifier obtained from a document page when enrichment is requested.

Core fields include source, fetched_at, document_id, case_id, case_name, docket_number, court_id, document_type, document_number, description, filing_date, page_count, pdf_url and url. Additional fields describe attachment numbers, public availability, Internet Archive links and PACER identifiers when displayed. pacer_price_usd is source metadata; the actor performs no purchase.

Missing values remain null and appear in unavailable_fields. Docket pages do not expose page counts or full document text. Search results can expose page counts while lacking a direct PDF link. Optional document enrichment supplies available text and source links. An image-only document can have a PDF but no extracted text. Upload timestamps have no timezone suffix because the docket source does not reliably supply a timezone.

A recorded example, requested with {"docket_id": 45814286, "document_number": 109, "max_items": 1} and trimmed to the fields most integrations read:

{
"source": "us-court-documents",
"_type": "court_document",
"record_type": "court_document",
"document_id": "recap:45814286:109",
"docket_id": 45814286,
"case_name": "Angela Patent",
"docket_number": "10-32921",
"court_id": "cob",
"court": "United States Bankruptcy Court, D. Colorado",
"entry_number": 109,
"document_number": "109",
"document_type": "PACER Document",
"description": "Chapter 13 Trustee Final Report and Account. (Kiel, Douglas) (Entered: 03/11/2016)",
"filing_date": "2016-03-11",
"url": "https://www.courtlistener.com/docket/45814286/109/angela-patent/",
"pdf_url": "https://storage.courtlistener.com/recap/gov.uscourts.cob.319795/gov.uscourts.cob.319795.109.0.pdf",
"is_available": true,
"pacer_price_usd": 0.3,
"unavailable_fields": ["attachment_number", "page_count", "source_document_id", "document_text", "snippet"]
}

The same row with its attachment suffix reads recap:4178089:1904-1, which is how a main filing and its exhibits arrive when include_attachments is left on.

The run output also includes warnings, partial status, source search counts and continuation information. Search counts describe source matches and do not promise that every matching document is accessible through the search interface.

Use cases

Litigation diligence teams use the docket mode to inventory one case end to end: every numbered filing, every attachment, the filing date of each and the link to the document itself, so a reviewer can read what was actually filed instead of guessing from the docket text. Litigation finance desks run the same inventory across many dockets at once, ordered by date, to see how a matter developed over time and which documents exist before committing capital. Law firms and corporate legal teams watch a case they already know by docket ID and keep the public coordinates of each filing in their own system. Researchers and journalists search across cases for a phrase such as a motion to compel and then follow the docket IDs they discover into a complete document set.

PACER is the official route to federal court documents and charges per document viewed, which needs an account and a per-case budget. This actor performs no purchase: it delivers what the public RECAP archive already holds, reports is_available: false for filings whose contents were never contributed, and shows pacer_price_usd only as source metadata.

Searching CourtListener yourself is free but returns a limited selection of documents per case, and the raw API needs your own key and paging code. This actor wraps that paging into continuation cursors, keeps the document identities stable across pages and returns one consistent row shape.

Case-oriented scrapers answer a different question: they return rows about a case, such as its caption, docket number, parties and filing date, without the list of documents filed in it. Where those rows tell you a case exists, these rows tell you what was filed, with attachments and PDF links. The related CourtListener Court Records Scraper supplies the cases, opinions and citations; this actor supplies the filings, and both sides share the same case identifiers so the two datasets join without mapping.

Completeness and continuation

Docket mode follows the public next-page links and retains document identities across pages. Public search shows a limited selection of documents per case: approximately one hundred within a single case and usually only a few per case across cases. Search responses carry a warning and partial status. Follow a discovered docket ID without a query to retrieve its complete publicly listed document set, subject to your requested row limit.

Large requests continue in pieces. The Apify integration follows continuation tokens and combines delivered records. REST clients repeat the original filters with cursor set to next_cursor until it is null. Keep the other inputs unchanged. A partial response can also report unavailable enrichment or source limitations; inspect its warnings even after pagination finishes.

Pricing

Billing follows delivered document rows. Each delivered main filing or attachment counts as one court_document event. When requested, a delivered non-empty extracted text counts as one document_text event. Failed enrichment and missing text do not count as text events. Empty results and validation failures produce no document rows. Check the actor's current Pricing tab for event rates before running a large collection.

The non-paying account limit is ten delivered rows per run, and text enrichment is disabled for that tier. This delivery limit includes attachments. It is a volume limit and does not change how delivered-row events are counted.

FAQ

Do I need a CourtListener API key or PACER account?

No. The actor uses public records available without supplying either account. Availability depends on what the public RECAP archive contains.

Why is a document listed without a PDF?

The public docket establishes that the filing exists, while its contents may not have been contributed to RECAP. Keep those rows for docket completeness or enable available_only to exclude them.

Public search limits how many documents it displays per case. Search is useful for discovery. For a complete case inventory, use docket mode without a query and follow continuation until completion.

Is extracted text the original PDF?

No. It is the text exposed by the public document page and may contain extraction errors or be unavailable. Use the source PDF link to inspect the original filing and verify quotations.