Skip to main content
DocketLayer is a pay-per-query API that gives AI agents programmatic access to federal court docket monitoring. 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 /v1/case with a case ID, court code, and a 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 — changed: true or false, and if true, the full details of 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 federal case number and court code to monitor

Endpoints

EndpointPriceDescription
GET /v1/case$0.99Full docket data with filing details
GET /v1/monitor$0.99Lightweight boolean change indicator
GET /v1/statusFreeCoverage and system health

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

Coverage

Which federal courts are currently covered