Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Default throttle for authenticated users: 5 requests per minute, 50 per hour, 125 per day, rolling windows, all applied at once. Use fields/omit to keep payloads small.
  • Filters are Django-style: field=value, field__gte / __lte / __gt / __lt / __range, related fields joined with __ (cluster__docket__court=scotus), and ! to negate (court__jurisdiction!=F). An OPTIONS request on an endpoint lists its filters and ordering fields.
  • A case’s web URL carries the cluster id, not the opinion id; look a case up on clusters. Use cluster case names, not docket names.
  • Docket numbers are not unique; always add a court filter.

Endpoints

  • Pages with the cursor in the next URL. Counts for types d and r are approximate above 2,000.
  • Results are cached for ten minutes; for monitoring, the Alert API is preferred over polling.

List opinion clusters

Get an opinion cluster

List opinions

Get an opinion

List dockets

  • Docket entries, parties and attorneys are not in docket responses.

Get a docket

List courts

  • Changes rarely; cache it.

Look up citations in text

  • A read over POST, form-encoded. Up to 250 citations per request; 60 valid citations per minute, then 429 with a wait_util timestamp (field name as the docs spell it).
  • Statutes, law journals, id. and supra citations are not looked up.