Skip to main content
A session law is an act as the legislature enacted it, before it is folded into a code. It has the act’s approval date, effective dates, the code sections it changed, and the text as passed. Eight endpoints serve them. The federal Statutes at Large are served by /us/statutes under corpusType=SESSION_LAW. See Corpus Types.

What is held

State session laws cover the 50 states, the District of Columbia and Puerto Rico. Many states have sessions from before 1975, and how far back they go varies by state. Older sessions are often incomplete, so check the text against an official copy before you quote it. Coverage by state and session is on GET /us/statutes/coverage, which is free. Each jurisdiction’s sessionLaws block lists its sessions with the session year, counts and a status. A session with status: "partial" is incomplete, so an empty result there does not prove a law does not exist.

Identifiers

Every law has a sessionLawId, built from its jurisdiction, session, series and chapter (or bill, where the state numbers no chapters): The session code is the year plus a letter: R (regular), S (special), X (extraordinary) or U (not stated). A session number follows where there is one, as in 2025S1, 2025X2 or Florida’s 2025SC. An id never changes.

Finding a law

By id. GET /us/session-laws/SSL_MN_2025R_G_Y2025_C1. By citation. Put the citation in place of the id, URL-encoded. It is matched against the citation the publisher prints and the law’s bill number:
A citation lookup is charged whether or not it resolves. The response says what matched in resolvedFrom. Pass jurisdiction (a two-letter state code) when the citation does not name its state, as Act 2025-127 does not. A bare bill number such as S.F.No. 1552 is reused across sessions, so use the law’s id or a citation with its year. A citation that names more than one law is a 404 with reason: ambiguous_citation, every candidate in didYouMean and the usual reading in defaultSessionLawId. By state and date. GET /us/session-laws/list takes a required jurisdiction and these filters: A malformed value or a missing jurisdiction is a 422 and is not charged. A well formed value that matches nothing returns an empty page, which is charged. GET /us/statutes/coverage lists the series and instrumentType values each state holds. Everything taking effect in California on 1 January 2026:
By citation, inside a document. POST /us/statutes/resolve (and GET /us/statutes/resolve) recognizes a state session law citation when it names no code section. The response carries matchedCorpus: "session_law" and a sessionLaw block. resolved stays false and section stays null. sessionLaw.status is matched (one law, with its title, bill number, dates, outcome, source URL and href) or ambiguous (every candidate listed). There is no extra charge beyond the resolve price. A state scope applies. A corpusType scope skips the lookup.

Searching the text

POST /us/session-laws/search finds laws by what they say. Send a question in plain words, words from a title, a quoted phrase, a citation, a code section or a bill number. You get the laws, best first, each with the passage of its text that matched and a snippet around your words.
The example is abridged. count is 5, but only the first of five results is shown. It costs 4 credits per page, and each page is a new search. An empty result with no filter is charged. An empty first page under a filter is refunded. A request that fails validation is a 422 and is not charged.

What is searched

The enacted text, as it reads once the act takes effect. Struck-out language is not searched and never appears in a snippet. Only laws served with text are searched. Withheld laws are not returned.

What you can ask

Parts combine: hemp "licensed retailer" 63-3004 reads as the words, a phrase and a citation, and parsed in the response shows how the query was read.

How it ranks

Ranking is keyword relevance, not meaning.
  • A question must share words with the act. teeth cleaning professional will not find an act that says dental hygienist. If nothing matches, try the legislature’s words or quote a phrase.
  • A law matched by title and text, or by an exact part of your query, ranks higher. matchType is exact for a quoted phrase, citation, code section or bill number, otherwise text. matchedBy lists every way (title, text, phrase, citation, codeSection, billNumber).
  • There is no “no good match” flag. Read the snippet to judge the result.

The snippet

passage.snippet is about 280 characters of plain enacted text around your words, with … where it was cut. passage.highlights lists [start, end] character offsets in the snippet (end exclusive) for each matched word. passage.bodyHref reads the text from that passage: it is the law’s /body with startChar set to passage.ownStart.

Filters and paging

A page past the 60 best matches is a 422. Narrow the search with a filter instead. A filtered search that finds nothing on its first page is refunded, and its note names the filters. Unknown fields in the body are a 422.

What a law carries

GET /us/session-laws/SSL_MN_2025R_G_Y2025_C1
  • effectiveDates is always a list. One act can take effect on several dates.
  • codeSectionsAffected lists the code sections the act changed. Eleven jurisdictions publish this: California, Maryland, Utah, the District of Columbia, Washington, Iowa, Kentucky, Nebraska, Missouri, Mississippi and Hawaii.
  • enactmentOutcome is signed, became_law_without_signature, veto_overridden, line_item_veto, vetoed, pocket_veto, not_presented or unknown. vetoStatusAsPrinted is the publisher’s own words.
  • sources names the documents the record came from.

textStatus

Reading the text

/body returns the text as printed, in pages of about 30,000 characters. Pass nextCursor back as cursor for the next page. If the text changes, the old cursor is a 409. Session laws amend existing law, so their text carries amendment markup. markupConvention says how it is written: amendatoryMarkup: "lost" means deleted language could not be recovered from the source and may read as law.

Text reliability and older versions

Each served text carries a textReliability label. An unverified or known_issue text also carries reasonCode and notice. Pass includeUnverified=true to read the text of a withheld law, labeled the same way.
Codes on a text that is served with a label:Codes on a text that is not served, even with includeUnverified=true: validation_failed, session_unresolved, collector_unaudited, licence_barred, unclassified. Branch on reasonCode, not on notice, which is for people.
Check the printed act before relying on amended language in an unverified or known_issue text. A law’s text can be corrected after it is first served. GET /us/session-laws/{sessionLawId}/versions lists every version, newest first, at one credit. Each entry has a textAccess: served (a plain /body call reads it), includeUnverified (the law is withheld and the text needs that flag) or none. Read one with GET /us/session-laws/{sessionLawId}/body?version=N, at the body price. A version number that does not exist answers 404 and is not charged.

Many laws at once

POST /us/session-laws/batch takes up to 50 ids or citations in ids and returns each law’s record, the same one GET /us/session-laws/{sessionLawId} returns, in the order sent.
  • 2 credits per law served. A miss is not charged.
  • A citation in ids also pays 2 credits to resolve it, as on the single route.
  • includeBody: true adds each law’s first page of text as body, at 6 credits per page served. 50 laws with text is 400 credits.
  • jurisdiction scopes how every citation in the batch is read.

Keeping a copy current

GET /us/session-laws/changes is a feed of every law that began to be served, had its text added, was corrected, unserved, withdrawn or merged, oldest first.
  1. Call it with sinceId=0.
  2. While hasMore is true, call again with sinceId set to the cursor you were given.
  3. When hasMore is false, keep the cursor and call again later.
Each entry has kind, sessionLawId, jurisdiction and detectedAt, which is when we recorded the change, not an approval or effective date. A withdrawn or merged entry means the law no longer answers at its id. 1 credit per page of up to 200 entries. An empty page is charged.

From a code section to the acts that changed it

GET /us/statutes/section/{actId}/enactments lists the session laws a state publisher’s “sections affected” tables show for one code section. It says which act added, amended or repealed the section, and when the act took effect.
It reads the tables of California, the District of Columbia, Hawaii, Kentucky, Missouri, Mississippi, Nebraska, Utah and Washington. A few other states are read from the section’s credit line (basis: credit_line). Any other section answers supported: false and is refunded. coverage.note on each response says what applies. It is not a complete amendment history. An empty list with supported: true means no table we hold lists the section. 1 credit. A section that does not exist is not charged.

See also

Last modified on November 28, 2026