Query the Harvard Caselaw Access Project (CAP) API to retrieve historical state court opinions for a specific jurisdiction and date range

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

Steps

  1. Register at case.law for a free API key to access full opinion text; without a key, full text is rate-limited to a small number of cases per day
  2. Query GET https://api.case.law/v1/cases/?jurisdiction=JURISDICTION_SLUG&decision_date_min=YYYY-MM-DD&decision_date_max=YYYY-MM-DD&full_case=true with the Authorization header 'Token YOUR_KEY'
  3. Use the jurisdiction slug values listed at https://api.case.law/v1/jurisdictions/ (e.g., 'tex' for Texas, 'ny' for New York) to filter by state
  4. Paginate through results using the next URL returned in each response until next is null
  5. For bulk access to large jurisdiction corpora, request access to the bulk download files at case.law rather than paginating through the API

Known gotchas

Related routes

Retrieve case law and legal citations via the CourtListener and Caselaw Access Project APIs
courtlistener.com · 6 steps · unrated
Query vLex global legal research API to perform full-text case law search with jurisdiction filtering and retrieve document content
vlex.com · 5 steps · unrated
Fetch a batch of recently published federal court opinion packages from the govinfo.gov USCOURTS collection API using an API key
api.govinfo.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