Skip to main content
Build a multi-state comparison table for a rule, such as security deposits, non-competes or breach notice. There are three ways to do it. Cost differs a lot, so start at the top. Current prices are at GET /api-credits/pricing. creditsConsumed on each response shows what the call billed. Endpoints: GET /us/statutes/section/{actId}/cross-state, POST /us/statutes/search, and GET /us/statutes/coverage (free) to see which jurisdictions have the corpus.

Best: start from one section you already have

If you can name the provision in one state, cross-state finds its analogue in other states. It returns at most one provision per state, most similar first.
Take the actId from a /us/statutes/search result. If you have none, run one search first.
similarity (0 to 1) means two provisions cover the same ground. It does not mean they impose the same obligation. Treat the response as a shortlist. relevanceScore on a search is a rank within one response. Do not compare it across responses.
A trimmed response (neighbors is cut to one entry and can hold up to limit, at most 25):
statesCovered is how many other states were examined. neighbors can be shorter, because states with no same-subject provision are left out and limit caps the list. Repealed and superseded text is not matched. If rankingDegraded is true, the neighbors are in retrieval order, matchQuality is null, note explains, and the call is refunded (creditsConsumed 0).
cross-state works on state statute sections only. USC, CFR, regulations and court rules return an empty list with a note, and the call is refunded.

Next best: one search across several states

state accepts a list, so one call covers every state you name. Use this when you have no starting section.
The merged ranking has no slot reserved per state. Raise limit (up to 50) and group by each result’s state. A missing state means “not in the top N”, not “no such law”.
Loop only when you need a result slot for every named state, including weak matches. This takes one call per state (50 for the 50 states).1. Drop the states that do not have the corpus. GET /us/statutes/coverage is free. Read it once and cache it.
Python
2. Search each state and build the table. Record states with no match so the gaps show.
Python
Example output:
Last modified on November 11, 2026