Prerequisites
- A Solana wallet funded with USDC — see the wallet setup guide
- The x402 client library installed for your language
- A federal case number and court code to monitor
Step 1 — Check coverage
Before querying, confirm the court you need is covered. This endpoint is free and requires no payment.court_code in the response. If your court shows "status": "full" you are ready. If your court is not listed, check the coverage roadmap.
Step 2 — Make your first query
Step 3 — Handle the response
A successful response looks like this:changed is false, new_filings is an empty array. Your agent pays $0.99 either way — only for successful responses.
Step 4 — Handle errors
DocketLayer never charges for failed queries.Next steps
Build a monitoring loop
Run your agent on a schedule
Wallet setup
Solana wallet and x402 configuration in detail
API reference
Full endpoint documentation
Court codes
All covered courts and their identifiers