Skip to main content
DocketLayer is a pay-per-query API that gives AI agents programmatic access to court docket monitoring across 2,150 courts — all 50 US state court systems, all US federal courts, and Canadian federal and provincial courts. Your agent submits a case ID and court code, pays $0.99 in USDC via the x402 protocol, and receives structured JSON with change detection built in. No accounts. No subscriptions. No API keys. The payment is the authentication.

How it works

1

Submit

Your agent makes a GET request to /v2/case with a case ID, court code, and optional last_checked timestamp.
2

Pay

DocketLayer responds with HTTP 402. Your x402 client pays $0.99 in USDC on Solana automatically and retries the request.
3

Receive

DocketLayer returns structured JSON — full case context and, if last_checked was supplied, a delta block showing every new filing since your last check.

What you need

  • A Solana wallet funded with USDC
  • The x402 client library configured for your agent
  • A case identifier and court code for a covered court (US state, federal, or Canadian)

Endpoints

EndpointMethodPriceDescription
GET /v2/caseGET$0.99Full case context with optional delta since last_checked
GET /v2/monitorGET$0.99Lightweight change indicator — count and timestamp only
POST /v2/cases/batchPOST$0.99 per caseUp to 50 cases in one call
GET /v2/wallet/keysGET$0.99Current callback signing-key state
POST /v2/wallet/keysPOST$0.99Rotate callback signing key
GET /v2/wallet/deliveriesGET$0.99Callback delivery history
GET /v2/statusGETFreeCoverage and system health
POST /v2/mcpPOSTVariesMCP Streamable HTTP endpoint — 3 free tools, 4 paid tools

Quickstart

Get your first query running in under 5 minutes

Authentication

How x402 payment works as authentication

Wallet setup

Create a Solana wallet and fund it with USDC

MCP server

Use DocketLayer directly from Claude and other AI agents