https://api.courtrules.app
The REST API covers court rules (compliance checks, judge rules, document classification). Enforcement data is available through the MCP server at mcp.courtrules.app, which also exposes court rules tools.
Endpoints
Authentication
All endpoints require a Bearer token in theAuthorization header:
Interactive playground
Each endpoint page in this section includes a live request builder. Select an endpoint from the sidebar, fill in parameters, and send real requests againsthttps://api.courtrules.app. You’ll need your API key from console.courtrules.app.
OpenAPI specification
The complete OpenAPI 3.1 spec is available as a public endpoint (no authentication required):Content type
AllPOST requests must use Content-Type: application/json.
Most responses are application/json. Document PDF endpoints (/documents/{id}/pdf) return application/pdf.
Error responses
Error responses follow a consistent format with actionable guidance:Rate limits
All endpoints are rate-limited per API key using a sliding window:
Every response includes
X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. When exceeded, the API returns 429 with a Retry-After header.
See Rate Limits for retry guidance and common mistakes.