Endpoints
Get rulebook
Returns one official rulebook with its rule count and when it was last checked
GET
Returns one rulebook: its name and abbreviations, where it applies, who issues it, its official page, how many rules are in force, and when we last read the official source. The fields are the same as one item of
One rulebook counts as one row against your daily row limit.
/rulebooks.
Call this when you already know the rulebook’s id and want its current rule_count or last_checked_at. To read its rules, use /rulebooks/{rulebook_id}/rules.
string
required
Rulebook identifier from
/rulebooks, such as
california-rules-of-court. Lowercase words joined by hyphens.Response fields
string
Rulebook identifier. It does not change: if the official name changes, the name changes and the id
stays.
string
Official name
string[]
Other names and abbreviations readers use, such as
CRCstring
Where the rulebook applies: a two-letter state code,
DC, or US for national federal rulesstring
national, statewide or court. A statewide rulebook applies across its state.string
court_rules, statute or administrative_codestring[]
Courts a court rulebook names. Empty for statewide and national rulebooks, which apply across
their jurisdiction without naming courts; each rule says which courts it covers.
string
The body that adopts and publishes the rules
string
The issuer’s official page for the rulebook
integer
Rules in force that the official source still lists. Repealed, reserved and removed rules are not
counted.
string | null
When we last read the official source.
null before the first read.string
The rulebook’s page on courtrules.app
Errors
400: Invalid rulebook identifier
Returned whenrulebook_id cannot be an identifier: capital letters, underscores, or more than 80 characters.
400
404: Rulebook not found
Returned when no rulebook has this identifier. Rulebooks that are not in/rulebooks read as not found.
404