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

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