US federal court records API (CourtListener)

Search US court dockets (RECAP) or opinions on CourtListener by party or case name, to check the litigation history of a company or person.

$0.02GET /v1/us/courtMCP us_courtFree tier

What you get

  • Federal dockets (RECAP) or court opinions matching a party or case name
  • Case name, docket number, court id and filing date
  • A cleaned search snippet (null when too short to be useful) and a link to the CourtListener docket or opinion page (null if none can be built)

Parameters

  • qstringrequiredquery

    Party or case name

    2–200 characters

  • typedockets | opinionsoptionalquery

    RECAP dockets or court opinions

    default dockets

  • courtstringoptionalquery

    CourtListener court id, e.g. nysd

    up to 20 characters

  • limitintegeroptionalquery

    Maximum number of results

    1 to 20 · default 10

Try it

With a key, every Run is paid from your credits and the balance updates after each call. Kept only in this browser tab; sent only to this site.

Party or case name. 2–200 characters.

RECAP dockets or court opinions. Default dockets.

CourtListener court id, e.g. nysd. Up to 20 characters.

Maximum number of results. 1 to 20, default 10.

Without a key it runs on your free tier (10 calls a day per IP). An agent pays $0.02 per successful call.

Equivalent curl
curl "https://402check.com/v1/us/court?q=patent+infringement"

Example response

Example response
[
  {
    "id": "4214664",
    "caseName": "Doe v. Acme Corp.",
    "docketNumber": "1:16-cv-01234",
    "court": "nysd",
    "dateFiled": "2016-03-01",
    "url": "https://www.courtlistener.com/docket/4214664/doe-v-acme-corp/",
    "snippet": "Motion to dismiss the complaint"
  }
]

First of 4 results our test fixture returns.

HTTP

Request (free tier, no key)
curl "https://402check.com/v1/us/court?q=patent+infringement"
Request with a credits key
curl -H "Authorization: Bearer rk_YOUR_KEY" "https://402check.com/v1/us/court?q=patent+infringement"

MCP

tools/call request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "us_court",
    "arguments": {
      "q": "patent infringement"
    }
  }
}

Endpoint https://402check.com/mcp. Setup for Cursor, Claude and other clients is in the docs.

Source and limits

Data from CourtListener (Free Law Project).

  • Federal courts only; no state courts
  • At most 20 results per call; filter by court id (e.g. nysd) to narrow
  • Coverage of RECAP dockets depends on what has been uploaded to the RECAP archive

Questions

How much does a search cost?

$0.02 per successful call. The first 10 calls a day per IP address are free.

Do I need an account?

No. Call it without credentials on the free tier, pay per call with x402 over HTTP, or send a prepaid rk_ key bought by card.

Dockets or opinions?

type=dockets (default) searches RECAP dockets; type=opinions searches published court opinions.

Am I charged for a failed call?

No. Credits are deducted and x402 payments settled only on a 2xx response; errors such as invalid_query or upstream_error cost nothing.