Fetch a batch of recently published federal court opinion packages from the govinfo.gov USCOURTS collection API using an API key

domain: api.govinfo.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for a free API key at api.govinfo.gov and include it as the api_key query parameter on all requests
  2. Query the collections endpoint to list recently published USCOURTS packages: GET https://api.govinfo.gov/collections/USCOURTS/START_DATE_ISO8601?pageSize=25&offsetMark=*&api_key=YOUR_KEY where START_DATE_ISO8601 is formatted as YYYY-MM-DDTHH:MM:SSZ
  3. Each item in the packages array contains a packageId; use it to fetch package-level metadata: GET https://api.govinfo.gov/packages/PACKAGE_ID/summary?api_key=YOUR_KEY
  4. To download the full opinion ZIP, construct: GET https://api.govinfo.gov/packages/PACKAGE_ID/zip?api_key=YOUR_KEY
  5. For bulk incremental harvesting, advance the START_DATE on each run to the lastModified value of the previous batch's most recent item

Known gotchas

Related routes

Search federal court cases by party name and retrieve docket metadata via the PACER Case Locator (PCL) API
pacer.uscourts.gov · 6 steps · unrated
Retrieve federal circuit court opinions by citation string using the CourtListener Case Law API and extract the full opinion text
www.courtlistener.com · 5 steps · unrated
Search federal court cases by party name using the PACER Case Locator API
pacer.uscourts.gov · 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