Skip to main content
A session law is an act as the legislature enacted it, before it is folded into a code. It carries what a code section does not: the act’s own date of approval, its effective dates, the code sections it changed, and the text as passed, including what it struck out. Eight endpoints serve them. The federal Statutes at Large are not here. They 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, 52 jurisdictions in all, from 1975 at the earliest. How far back a state goes, and how many of its sessions we hold, differs by state. The figures change as collection continues, so this page does not quote them: GET /us/statutes/coverage is free and is the live source, and each jurisdiction’s sessionLaws block lists its sessions, oldest first, with the session year, the counts we hold and a status.
Coverage is partial for many sessions. A session with status: "partial" is not complete: some laws the publisher lists for it are not yet collected, or the session cannot be checked against a listing. Do not read an empty result for a law in a partial session as proof that no such law exists. Where the publisher gives a total, the session’s denominator says what that total is and where it comes from.A small share of laws have no text. The registry holds the record (citation, dates, outcome, sources) but the publisher printed no text we can read, for example a scan with no text layer. Those laws have textStatus: "not_held".Every law is built from the source document named in its sources. We do not check a law against a second publisher.

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 R (regular), S (special), X (extraordinary) or U (not stated), and the session’s number where it has one: 2025S1, 2025X2, Florida’s 2025SC. An id never changes once issued.

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 it usually names more than one law and is not a good lookup key; use the law’s id, or a citation that names its year and number. A citation naming more than one law is a 404 with reason: ambiguous_citation, every candidate in didYouMean and the conventional reading in defaultSessionLawId.
By state and date. GET /us/session-laws/list takes a required jurisdiction and these filters: A malformed value is a 422 and is never charged. A value that is well formed but matches nothing returns an empty page, which is charged. GET /us/statutes/coverage lists, for each state, the series and instrumentType values it actually holds and the span of approval dates, so you can offer a real list before you filter. Everything taking effect in California on 1 January 2026:
A request without jurisdiction is a 422 and is not charged. By citation, inside a document. POST /us/statutes/resolve (and GET /us/statutes/resolve) recognises a state session law citation when it names no code section. The response then carries matchedCorpus: "session_law" and a sessionLaw block, and resolved stays false and section stays null, because both describe a code section. sessionLaw.status is matched (one law, with its title, bill number, approval and effective dates, outcome, official source URL and href) or ambiguous (every candidate listed, none chosen for you). 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.
This example is abridged and illustrative: count is 5 and hasMore is true, so results holds five laws and only the first is shown, with its snippet and highlights shortened. The laws, their order and the counts change as new laws are added. It costs 4 credits per page, and each page is a new search. An empty result with no filter is an answer (“nothing matches”) and is charged. An empty first page under a filter is refunded. A request that fails validation is a 422 and is not charged; a failure on our side is refunded.

What is searched

The enacted text: the law as it reads once the act takes effect. Language an act strikes out is not searched and never appears in a snippet, so a repealed word cannot match as if it were law. Only laws we serve with text are searched; laws whose text we withhold are not returned. GET /us/statutes/coverage shows what each state holds.

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, and what that does not mean

Ranking is keyword relevance, not meaning.
  • A question has to share vocabulary with the act: teeth cleaning professional will not find an act that says dental hygienist, and how often are property values reassessed will not find one that says reappraisal. When a question finds nothing, try the words the legislature would use, or quote a phrase.
  • A law matched by its title and its text, or by an exact part of your query, ranks above one matched a single way. matchType is exact when a quoted phrase, citation, code section or bill number matched, otherwise text, and matchedBy lists every way (title, text, phrase, citation, codeSection, billNumber).
  • Neither says the law is the right one. A question with no true answer still returns its closest words, and there is no “no good match” flag, because keyword scores do not separate the two cases. Read the snippet.

The snippet

passage.snippet is about 280 characters of the enacted text around your words, plain text, with … where it was cut. passage.highlights lists [start, end] character offsets inside the snippet (end exclusive) for each word that matched, so you draw the highlight yourself. The snippet carries no markup. 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 of paging deeper. A search with any of jurisdiction, session, series, instrumentType or the approval dates that finds nothing on its first page is refunded, and its note names the filters. A search with no filter that finds nothing is an answer: it is charged, and its note says so. Unknown fields in the body are a 422, so a typo is never silently dropped.

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, each with its scope as printed.
  • codeSectionsAffected lists the code sections the act changed, as the publisher’s own table prints them, in the 11 jurisdictions that publish one (California, Maryland, Utah, the District of Columbia, Washington, Iowa, Kentucky, Nebraska, Missouri, Mississippi, Hawaii). The enactments route reads a narrower set.
  • 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 every document the record was built from, with its fetch time and sha256.

textStatus

Text we serve is not always text we can vouch for: a served law carries a textReliability label, explained in Text reliability.

Reading the text

/body returns the text as printed, in pages of about 30,000 characters, cut at a paragraph break where possible. Pass nextCursor back as cursor for the next page. A cursor is tied to the text it was issued for; 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

A served text is not necessarily a checked text. Each text carries a textReliability label, derived from the result of the check recorded against the current version of that text. A verified text carries no extra fields. An unverified or known_issue text carries textReliability, reasonCode and notice on an ordinary read, not only when you pass includeUnverified=true. Pass includeUnverified=true to read the text of a withheld law, labelled the same way. Most of a withheld law’s text can be read this 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 whose source terms bar publication is never returned, whatever you pass. Text that failed our own validation, or that cannot yet be placed in its session, is not offered either. A law’s text can be corrected after it is first served. GET /us/session-laws/{sessionLawId}/versions lists every version we served or adopted, 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 own “sections affected” tables print against one code section: which act added, amended or repealed it, and when the act took effect.
It reads the code-section tables of California, the District of Columbia, Hawaii, Kentucky, Missouri, Mississippi, Nebraska, Utah and Washington. That is fewer than the jurisdictions that fill codeSectionsAffected (Maryland and Iowa are not among them), and a few other states are read from the section’s own credit line (basis: credit_line). Any other section answers supported: false and is refunded; supported and coverage.note on each response are the live answer. It is not a complete amendment history. It lists only acts we hold, in sessions we hold, whose table prints the section in a form we match; coverage.note says what is not matched in each jurisdiction. An empty list with supported: true means no held table lists the section. 1 credit; a section that does not exist is not charged.

See also

  • Law change alerts to be told when a source changes, and GET /us/session-laws/changes for the session-law registry feed.
  • Coverage for what each jurisdiction holds.
Last modified on November 7, 2026