Skip to main content

Overview

GET /v2/case is the primary DocketLayer endpoint. Submit a case ID and court code, pay $0.99 in USDC via x402, and receive structured case data. Supply last_checked to get a delta block containing every new filing since your last query. Base URL: https://api.docketlayer.ai Price: $0.99 USDC per successful query Sandbox: Add ?test=1 or X-DocketLayer-Test: 1 — returns fixture data, no charge

Request

Parameters

Example request

Python

Response

Meta block

All responses include a meta block:

Context: basic (default)

The delta block is only present when last_checked is supplied.

Context: full

When context=full, the case object expands to include full parties with attorneys, cross-references to related cases, and the complete docket history.

Case fields

Delta fields

Docket entry fields

Notes

last_checked management — Store meta.queried_at from each response and use it as last_checked in your next call. This ensures you never miss a filing between queries. Document access — Document URLs link to the source court portal. For PACER federal courts, retrieving the document requires valid PACER credentials. For state and Canadian courts, access requirements vary by portal. DocketLayer provides the link — document access is the caller’s responsibility. Appellate context — For appellate cases, the appellate field contains panel composition, appeal type, originating court, and oral argument date where available.