DocketLayer

Agent-Native Docket Intel

No Accounts · No API Keys · No Subscriptions · Instant Settlement in USDC on Solana

DocketLayer is a pay-per-query API covering 2,148 courts — every US federal court, general jurisdiction courts across all 50 states, and 25 Canadian federal, provincial, and territorial superior courts. Query any case by court code and case number: full docket entries, parties, filing dates, and case status. $0.99 per successful query, nothing more.

Payment is authentication. There are no accounts, no API keys, and no subscriptions. Each request settles in USDC on Solana via the x402 protocol — probe the endpoint, receive payment terms in the response headers, sign with your wallet, and retry. The sandbox flag (?test=1) returns fixture data at no charge while you build.

Built for agents. DocketLayer implements x402 natively and exposes an MCP endpoint, so AI agents can discover pricing, verify coverage, and pay for queries autonomously. Direct REST calls work identically.

# Probe — no account, no API key required
curl "https://api.docketlayer.ai/v2/case?court_code=nysd&case_id=1:23-cv-04567"
# → 402 Payment Required

# Build USDC payment and retry
curl "https://api.docketlayer.ai/v2/case?court_code=nysd&case_id=1:23-cv-04567" \
  -H "x402-payment: $(build_payment $WALLET_KEY)"
# → 200 OK
import httpx

# Probe — any wallet, no account needed
r = httpx.get("https://api.docketlayer.ai/v2/case",
              params={"court_code": "nysd", "case_id": "1:23-cv-04567"})
# → 402, payment terms in response headers

# Sign USDC transaction and retry
payment = build_payment_tx(wallet_keypair, r.headers)
r = httpx.get("https://api.docketlayer.ai/v2/case",
              params={"court_code": "nysd", "case_id": "1:23-cv-04567"},
              headers={"x402-payment": payment})

data = r.json()  # same schema — every court
// Probe — no account, no API key required
const probe = await fetch(
  "https://api.docketlayer.ai/v2/case?court_code=nysd&case_id=1:23-cv-04567"
);
// → 402, payment terms in response headers

// Sign USDC transaction and retry
const payment = await buildPaymentTx(walletKeypair, probe.headers);

const r = await fetch(
  "https://api.docketlayer.ai/v2/case?court_code=nysd&case_id=1:23-cv-04567",
  { headers: { "x402-payment": payment } }
);
const data = await r.json(); // same schema — every court

Built for Your Work

Court docket monitoring fits into workflows you already run with AI. Find where DocketLayer applies to yours.

$0.99 per query Instant Settlement in USDC on Solana

One price. Every court in the Court Directory. No accounts, no subscriptions, no tiers. Unsuccessful queries are never charged.

The protocol handles payment — once your agent is configured, no manual approval per query.

How Pricing Works →