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.Documentation Index
Fetch the complete documentation index at: https://docs.docketlayer.ai/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Submit
Your agent makes a GET request to
/v2/case with a case ID, court code, and optional last_checked timestamp.Pay
DocketLayer responds with HTTP 402. Your x402 client pays $0.99 in USDC on Solana automatically and retries the request.
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
| Endpoint | Method | Price | Description |
|---|---|---|---|
GET /v2/case | GET | $0.99 | Full case context with optional delta since last_checked |
GET /v2/monitor | GET | $0.99 | Lightweight change indicator — count and timestamp only |
POST /v2/cases/batch | POST | $0.99 per case | Up to 50 cases in one call |
GET /v2/wallet/keys | GET | $0.99 | Current callback signing-key state |
POST /v2/wallet/keys | POST | $0.99 | Rotate callback signing key |
GET /v2/wallet/deliveries | GET | $0.99 | Callback delivery history |
GET /v2/status | GET | Free | Coverage and system health |
POST /v2/mcp | POST | Varies | MCP Streamable HTTP endpoint — 3 free tools, 4 paid tools |
Quick links
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