Price table
Billing principle
You are never charged for a failed single query. Payment is captured only on 200 responses. For batch requests, the payment transaction is sized for the full batch upfront ($0.99 × N queries). If all cases in a batch fail, no payment is settled; if some fail, the full batch amount is still charged — x402 payments are atomic and cannot be partially refunded.
What the price does not vary by
- Context level —
context=basicandcontext=fullcost the same - Jurisdiction — US federal, US state, and Canadian courts all cost $0.99
- Response size — A truncated response (see below) costs the same as a full one
- Query complexity — Simple and delta queries cost the same
Truncated responses
Whencontext=full returns a response that would exceed 2MB, DocketLayer trims docket_history to fit. The response includes a meta.truncated: true flag and a truncation_details object. Truncated responses are billable — the query succeeded, data was delivered.
Payment mechanics
Payment flows through the x402 protocol. On your first request to a paid endpoint:- DocketLayer returns HTTP 402 with machine-readable payment details — recipient address, amount, currency
- Your x402 client constructs a $0.99 USDC transaction on Solana, signs it, and retries with proof attached
- DocketLayer verifies on-chain and returns the data
Estimating costs
Fund your wallet with enough USDC to cover expected volume. A depleted wallet causes all paid queries to fail with 402. See the wallet setup guide for funding instructions.