# DocketLayer ## Docs - [POST /v2/cases/batch](https://docs.docketlayer.ai/api-reference/batch.md): Query up to 50 cases in a single call. Costs $0.99 \u00d7 N cases, paid upfront in a single transaction. - [GET /v2/case](https://docs.docketlayer.ai/api-reference/case.md): The primary query endpoint. Returns current case context and all new filings since your last check. - [Field Reference](https://docs.docketlayer.ai/api-reference/fields.md): Complete data dictionary for every field in the DocketLayer v2.0.0 response shape. - [POST /v2/mcp](https://docs.docketlayer.ai/api-reference/mcp.md): DocketLayer's built-in MCP remote server. Connect any MCP-compatible agent directly — no package installation required. - [GET /v2/monitor](https://docs.docketlayer.ai/api-reference/monitor.md): Lightweight change detection. Returns a boolean, count, and latest activity timestamp. - [GET /v2/status](https://docs.docketlayer.ai/api-reference/status.md): Free endpoint. Returns current court coverage and API health. No payment required. - [GET /v2/wallet/deliveries](https://docs.docketlayer.ai/api-reference/wallet-deliveries.md): Retrieve callback delivery history for your wallet — status, attempt count, and response codes. - [Wallet keys](https://docs.docketlayer.ai/api-reference/wallet-keys.md): Retrieve and rotate the signing key used to authenticate DocketLayer callback deliveries. - [Authentication](https://docs.docketlayer.ai/authentication.md): DocketLayer uses the x402 payment protocol. Payment is authentication. - [Changelog](https://docs.docketlayer.ai/changelog.md): All notable changes to DocketLayer, documented by version. - [Coverage](https://docs.docketlayer.ai/coverage-roadmap.md): DocketLayer covers all US federal courts, all 50 US states, and Canadian federal and provincial courts at launch. - [Errors](https://docs.docketlayer.ai/errors.md): DocketLayer error codes and how to handle them. You are never charged for a failed query. - [FAQ](https://docs.docketlayer.ai/faq.md): Frequently asked questions about DocketLayer. - [Glossary](https://docs.docketlayer.ai/glossary.md): Key terms used throughout the DocketLayer documentation. - [Using DocketLayer with AI agents](https://docs.docketlayer.ai/guides/ai-agents.md): How DocketLayer's design fits AI agent workflows — payment as authentication, structured JSON, and MCP native support. - [Caching behaviour](https://docs.docketlayer.ai/guides/caching.md): How DocketLayer serves data from its normalized cache and what it means for your queries. - [Asynchronous callbacks](https://docs.docketlayer.ai/guides/callbacks.md): Supply a callback_url to receive docket query results pushed to your server, in addition to the synchronous response. - [Case ID format](https://docs.docketlayer.ai/guides/case-id-format.md): US federal case number format reference. State and Canadian case ID formats vary by court — see /v2/status for each court's pattern and example. - [Basic vs. full context](https://docs.docketlayer.ai/guides/context.md): The context parameter controls how much case data DocketLayer returns. Both levels cost the same. - [Court codes](https://docs.docketlayer.ai/guides/court-codes.md): How DocketLayer identifies courts, and how to find the court code you need. - [The delta block and last_checked](https://docs.docketlayer.ai/guides/delta.md): How to use last_checked to get only new filings since your last query, and how to manage the timestamp correctly. - [Document identifiers](https://docs.docketlayer.ai/guides/document-identifiers.md): How DocketLayer identifies court documents across different court systems, and what the document_identifier fields mean. - [HMAC signature verification](https://docs.docketlayer.ai/guides/hmac-verification.md): Verify that callback deliveries originate from DocketLayer using HMAC-SHA256 signatures. - [Idempotency and retry handling](https://docs.docketlayer.ai/guides/idempotency.md): How to safely retry failed requests and handle duplicate callback deliveries. - [MCP server](https://docs.docketlayer.ai/guides/mcp-server.md): Use DocketLayer directly from Claude and other AI agents via the Model Context Protocol. - [Migration guide — v1 to v2](https://docs.docketlayer.ai/guides/migration-v1-to-v2.md): What changed between DocketLayer v1 and v2, and how to update your integration. - [Monitoring loop](https://docs.docketlayer.ai/guides/monitoring-loop.md): Build an agent that monitors court dockets continuously and alerts on new filings. - [curl quickstart](https://docs.docketlayer.ai/guides/quickstart-curl.md): Query DocketLayer from the command line using curl and sandbox mode. - [TypeScript / JavaScript quickstart](https://docs.docketlayer.ai/guides/quickstart-js.md): Query DocketLayer from TypeScript or JavaScript using the x402 client library. - [Python quickstart](https://docs.docketlayer.ai/guides/quickstart-python.md): Query DocketLayer from Python using the x402 client library. - [Sandbox mode](https://docs.docketlayer.ai/guides/sandbox.md): Test DocketLayer integration without spending USDC. Returns fixture data on every endpoint. - [Wallet setup](https://docs.docketlayer.ai/guides/wallet-setup.md): Create a Solana wallet, fund it with USDC, and configure x402 for your agent. - [Introduction](https://docs.docketlayer.ai/introduction.md): Court docket monitoring for AI agents across 2,150 US and Canadian courts. Pay per query. $0.99 USDC via x402. No accounts. - [Pricing](https://docs.docketlayer.ai/pricing.md): DocketLayer is $0.99 per successful query. No subscriptions, no tiers, no API keys. - [Quickstart](https://docs.docketlayer.ai/quickstart.md): Get your first DocketLayer query running in under 5 minutes. - [Rate limits](https://docs.docketlayer.ai/rate-limits.md): DocketLayer rate limits are applied per wallet address. You are never charged for a rate-limited request. - [Versioning](https://docs.docketlayer.ai/versioning.md): DocketLayer uses path-based versioning. Breaking changes bump the major version and change the URL path. - [x402 payment protocol](https://docs.docketlayer.ai/x402.md): How DocketLayer uses x402 — the HTTP payment protocol — to make payment and authentication the same thing. ## OpenAPI Specs - [openapi](https://docs.docketlayer.ai/api-reference/openapi.json) ## Optional - [Coverage](https://docketlayer.ai/coverage) - [GitHub](https://github.com/DocketLayer)