81trust / 100

Courts Search

by Maxwell x402 in Search & web

x402 APIPassing, checked 4 h ago

US court opinion search on CourtListener (Free Law Project): case name, court, date filed, docket number and the opinion link. Short queries match as a phrase (?q=fair use), longer ones need every word. Cached; a query not yet cached is fetched live.

GET https://api.maxwellinternational.ai/v1/courts/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
73 ms typical, 220 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/courts/search?q=copyright"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fcourts%2Fsearch
const res = await pay("https://api.maxwellinternational.ai/v1/courts/search?q=copyright");
console.log(await res.json());

Example input

{
  "q": "copyright"
}

Example output

{
  "auth": "anonymous",
  "count": 5,
  "fetchedAt": "2026-10-04T14:05:27.049Z",
  "hits": [
    {
      "absoluteUrl": "https://www.courtlistener.com/opinion/9484999/munro-v-united-states-copyright...",
      "caseName": "Munro v. United States Copyright Office",
      "clusterId": 9484999,
      "court": "District Court, District of Columbia",
      "courtId": "dcd",
      "dateFiled": "2024-03-18",
      "docketNumber": "Civil Action No. 2022-2909"
    }
  ],
  "match": true,
  "query": "copyright",
  "source": "https://www.courtlistener.com/api/rest/v4/search/",
  "totalCount": 36669
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402229 ms$0.005
7 h agoPassed40270 ms$0.005
10 h agoPassed40273 ms$0.005
15 h agoPassed402220 ms$0.005