Skip to main content
state accepts 56 US jurisdictions: all 50 states, plus the District of Columbia, Puerto Rico, Guam (gu), the Northern Mariana Islands (mp), the US Virgin Islands (vi) and American Samoa (as). Federal law lives under its own federal jurisdiction, separate from the states. A jurisdiction may not hold every corpus. Read GET /us/statutes/coverage before you scope a search.

How jurisdictions are keyed

  • Codes: 2-letter strings (ca, tx, ny), case-insensitive. An unrecognized value returns 422.
  • Lists: pass several at once, such as "state": ["ca", "ny", "tx"].
  • Federal: a federal search needs only a corpusType, no state.
  • Kind: each jurisdiction row from /us/statutes/coverage has a kind of federal, state or territory. DC and the five territories are territory.

The two discovery endpoints

GET /us/statutes/coverage

Which corpora exist in which jurisdiction. Free, no credits.

GET /us/statutes/divisions

Walk the hierarchy one level at a time: a state’s codes, then its chapters, then its sections. Refunded on an empty level.
Coverage grows over time, so read it at request time.

Reading a jurisdiction’s corpora

GET /us/statutes/coverage returns a { "data": ..., "meta": ... } response. Each jurisdiction in data.jurisdictions has a corpora object. Its keys are the corpusType tokens that have data, mapped to a document count. data.corpusTypes is a legend naming every token and whether it is federal or state-scoped. A jurisdiction that holds state session laws also has a sessionLaws block with its sessions, series, instrumentTypes and approval-date span. Session laws are not a corpusType.
JavaScript
For how recently a corpus was refreshed, read the free GET /boards (see Law change alerts). It carries lastRetrievedAt and cadence per (jurisdiction, corpusType) pair.

Listing a state’s codes

state=tx alone searches every Texas code. To scope below a jurisdiction, browse its codes with /us/statutes/divisions and pass one back as the code filter on search.
Each node’s identifier is what code on POST /us/statutes/search takes. To drill further, pass it back to /us/statutes/divisions (corpusType=STATE&state=tx&code=tx_pe returns that code’s chapters) until isLeaf is true, where each node carries an actId. Browse supports the tokens with browsable: true in the coverage legend (listed on Corpus types). Reach the rest with /us/statutes/search.
  • Corpus types: the corpusType tokens and how to pair them with a state.
  • API Coverage: the jurisdiction matrix with current counts.
Last modified on November 11, 2026