Skip to main content
Find out when the law you depend on changes, and when a state or agency gains coverage.

The sync filter: changedSince

changedSince takes a YYYY-MM-DD date and limits a search to sections that changed since then.
Read a hit’s history with GET /us/statutes/section/{actId}/changes to see what moved. A 422 means the window is too broad. Use a later date, corpusType or state (see Errors).
  • Dates are when we saw the change. They are an upper bound on when it took effect, not an effective date.
  • An empty result means no captured change in the window. It does not prove nothing was amended.
  • A window that is too broad returns 422 instead of partial results. Narrow it with corpusType and state.
  • A search still needs a query. Run one search per topic you track.
In ranked modes limit caps at 50 and offset at 70, so the deepest result is 120. Boolean mode (matchType: "boolean") pages to the end of the matches, with offset up to 10,000. See Search.An empty window is charged the ordinary 4-credit search price. Read creditsConsumed.

A nightly job

Python

The other question: a jurisdiction gaining a new corpus

changedSince cannot show that a state you do not yet query has gained regulations. To catch that, snapshot GET /us/statutes/coverage on a schedule and diff the snapshots. Daily or weekly is enough.
The response is { "data": {...}, "meta": {...} }. Inside data are a corpusTypes legend and a jurisdictions array. Each jurisdiction has a corpora object that maps a corpusType token to its section count (the same count Coverage shows).1. Fetch and flatten the coverage matrix
Python
2. Save and diffSave each snapshot as JSON. Compare two snapshots for a new jurisdiction, a new corpus, or a corpus whose count grew.
Python
Example output when a state gained regulations (counts are placeholders):
A growing count shows the corpus got bigger, not which sections moved. Use changedSince to find what changed.
Last modified on November 11, 2026