Skip to main content
GET
Compare this provision against other states

Authorizations

Authorization
string
header
required

API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_... (preferred).

Headers

Idempotency-Key
string | null

Optional. 16 to 255 visible ASCII characters (a UUIDv4 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's cacheQueryDerivedData retention setting off, no body is stored and a retry answers 409 idempotency_replay_unavailable, still without a second charge.

Required string length: 16 - 255
Pattern: ^[\x21-\x7e]+$
Example:

"3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f"

Path Parameters

act_id
string
required

Section identifier, e.g. USC_T42_C21_S1983 (42 U.S.C. § 1983). Take it from a /us/statutes/search, /resolve or /divisions result; do not assemble one. A citation such as 42 USC 1983 also works and adds the /resolve price (see GET /us/statutes/section/{actId}). State session laws (SSL_ ids) are read at /us/session-laws/{sessionLawId}.

Required string length: 3 - 200
Example:

"USC_T42_C21_S1983"

Query Parameters

limit
integer
default:5

Maximum states to return, one provision each.

Required range: 1 <= x <= 25
Example:

5

Response

The section plus comparable provisions in other states.

Response for GET /us/statutes/section/{act_id}/cross-state.

section
StatuteResult · object
required

The section you asked about.

neighbors
StatuteCrossStateNeighbor · object[]

Comparable provisions in other states, most similar first. At most one entry per state, so this reads as a jurisdiction comparison rather than a relevance list.

statesCovered
integer
default:0

How many other states were actually examined: every jurisdiction is searched, and one that held something to consider counts whether or not it appears in neighbors. neighbors is shorter than this when the remaining states had nothing on the same subject (matchQuality none is omitted) or you asked for fewer with limit.

Example:

5

note
string | null

Set only when the answer is not a real zero. Cross-state comparison is defined for state statute sections; for USC, CFR, state regulations, court rules, constitutions and every other corpus this explains that the section has no state analogues and the call is refunded. Also set when rankingDegraded is true.

rankingDegraded
boolean
default:false

True when the relevance model was unavailable, so the neighbors are in retrieval order and similarity is a retrieval score on a much smaller scale rather than the usual 0-1, and matchQuality is null. The provisions are still the retrieved analogues. The call is not charged (creditsConsumed 0); retry shortly for the fully ranked answer.

Example:

false

resolvedFrom
SectionIdentifierResolution · object | null

Null when the section is exactly the act_id you sent. Otherwise how your input was matched: a citation, or an act_id with transport damage (whitespace, quotes, a trailing period) removed. When your citation named a supported container (a regulation series, constitution article, Indiana chapter or Illinois article) or several sections, the section served is the FIRST of them and matchLevel says so, as on GET /us/statutes/resolve.

processingTimeMs
number
default:0

Server-side time for this request in milliseconds, excluding network transit. Useful for spotting a slow query; not billed on.

Example:

420.1

creditsConsumed
number
default:0

Credits actually charged for this call. Read it rather than assuming the list price: failed and refunded work bills 0.

Example:

6