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