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.
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.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.
limit (up to 50) and group by each result’s state. A missing state means “not in the top N”, not “no such law”.
Fallback: one search per state
Fallback: one search per state
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.
2. Search each state and build the table.
Record states with no match so the gaps show.Example output:
GET /us/statutes/coverage is free. Read it once and cache it.Python
Python
Related
- Pick the best source URL: the shared preference order for the
best_source_url()helper. - Coverage: which states carry which corpora.
- Monitor corpus coverage: poll for what changed since your last sync.

