Court Rules API
Filing rules for federal and state courts and their judges, each with the court's own wording and a link to its source, plus court holidays, official…
Government & public#government
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Filing rules for federal and state courts and their judges, each with the court's own wording and a link to its source, plus court holidays, official rulebooks, and compliance checks for filings in the Eastern District of New York
Endpoints 17
- GETGet holidays for a court
/api/v1/courts/:district_id/holidaysReturns court holidays and closure dates for a single court. Filter by calendar year or date range. - GETList all courts
/api/v1/courtsReturns every court we map, with its circuit, state, status, and roster size. Courts with status live have rules you can read with /rules and… - GETGet court details
/api/v1/courts/:district_idReturns details for one court: circuit, state, status, and roster size. - GETList court holidays
/api/v1/holidaysReturns court holidays and closure dates. Filter by court, calendar year, or date range. - GETSearch extracted filing rules
/api/v1/extracted-rulesReturns validated extracted filing rules from active source documents, newest first. Use this for e-filing, service, fee, timing, courtesy copy, and courtroom… - GETList judges
/api/v1/judges?district_id=ca-los-angeles-superiorReturns the current judges (and, in some state courts, departments or courtrooms) for a court. Use a judge's slug with /rules and /extracted-rules. - GETGet rules for a judge
/api/v1/rules?judge_slug=nicholas-g-garaufis&district_id=ednyReturns the rules that apply to a judge. For courts with compliance profiles (edny today), returns the hierarchical rule set (FRCP, Local Rules, Standing… - GETGet judge profile with citations
/api/v1/profile?judge_slug=carol-bagley-amon&district_id=ednyFor courts with compliance profiles (edny today), returns the judge's full compliance profile, including verbatim source citations from standing order PDFs.… - GETList source documents for a judge
/api/v1/documents?judge_slug=carol-bagley-amon&district_id=ednyReturns the current source documents (standing orders, individual practices, court rules pages) for a judge, with metadata and document version IDs. Use… - GETGet source PDF
/api/v1/documents/:id/pdfReturns the stored PDF for a document version. Documents stored in another format (HTML pages, Word files) return 415 with the source_url to read instead. - GETGet reference PDF (FRCP or local rules)
/api/v1/documents/reference/:key/pdfReturns a reference PDF (Federal Rules of Civil Procedure or district local rules). - POSTCheck document compliance
/api/v1/checkRuns the deterministic lint engine against the provided document metadata and filing context. Returns structured compliance results with per-rule pass/fail… - POSTClassify a PDF document for compliance checking
/api/v1/classifyUpload a PDF and receive document classification (scope, motion type) plus a partial request body for POST /check. The response includes a supported boolean:… - GETList rulebooks
/api/v1/rulebooksReturns the official rulebooks you can read, such as the California Rules of Court. A rulebook is an official set of numbered rules published as one book.… - GETGet a rulebook
/api/v1/rulebooks/:rulebook_idReturns one rulebook: its name, abbreviations, jurisdiction, issuer, official page, the number of rules in force, and when Court Rules last read the official… - GETList the rules of a rulebook
/api/v1/rulebooks/:rulebook_id/rulesReturns the rules of one rulebook in rulebook order, without their text. Search by number, heading or text, filter by status or by whether a rule has… - GETGet a rule of a rulebook
/api/v1/rulebooks/:rulebook_id/rules/:numberReturns one rule with its official text as structured blocks and as plain text. The number must match the rulebook's own number exactly, such as 3.1113 or…
API details
- Base URL
https://api.courtrules.apphttp://localhost:3001- Authentication
- A bearer token in the Authorization header
- Operations
- 17 operations on 17 pathsGET 15POST 2
- Response formats
application/jsonapplication/pdf- Description format
- OpenAPI 3.1.0, API version
0.1.0 - Links
- OpenAPI document
- Listed from
- Courtrules's published OpenAPI description
How to test the Court Rules API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Court Rules API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get holidays for a court” (GET /api/v1/courts/:district_id/holidays), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Court Rules API?
Filing rules for federal and state courts and their judges, each with the court's own wording and a link to its source, plus court holidays, official… It is listed under Government & public and has 17 endpoints.
Who publishes the Court Rules API?
It is listed from Court Rules's public API description (an OpenAPI document), not published by Court Rules on Swastik Codes. Anyone who controls courtrules.app can claim the profile by adding a DNS TXT record.
What is the base URL of the Court Rules API?
Its description lists 2 base URLs: https://api.courtrules.app, http://localhost:3001. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Court Rules API?
With A bearer token in the Authorization header.
How many endpoints does the Court Rules API have?
17 operations on 17 paths (15 GET, 2 POST).
Is forking the Court Rules API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.