Skip to main content
POST
Resolve many citations at once

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"

Body

application/json

Batch citation resolution. See POST /us/statutes/resolve.

/resolve took 1,159 calls in the 16 days to 2026-08-31, second only to search, and every one of them carried a single citation. The caller shape it is actually serving is an agent handed a brief, a memo or a model's output with thirty citations in it, doing thirty round trips to check them.

citations
string[]
required

A JSON ARRAY of Bluebook citation strings (not one string, not objects), each at most 200 characters. Blank entries are dropped and counted in the response's ignoredBlankCount (a list of only blanks is a 422), and duplicates are collapsed FIRST and order is preserved, so the response's results array lines up with the de-duplicated input.

The cap is 50 UNIQUE citations, applied after that collapse, so a brief quoting one section sixty times is one citation and is accepted.

Priced PER CITATION at the single-resolve rate, exactly like POST /us/statutes/sections: batching is a round-trip and latency win, not a discount. Thirty citations cost the same 60 credits either way and take one request instead of thirty.

Required array length: 1 - 50 elements
Maximum string length: 200
Example:
state
enum<string> | null

Optional jurisdiction to resolve every citation WITHIN: a two-letter state code, or federal for the U.S. Code, the C.F.R., federal rules and the U.S. Constitution. Applies to the whole batch: a batch spanning jurisdictions should omit it and let each citation name its own. Same semantics as the single-citation route -- a constraint, not a hint.

Available options:
federal,
al,
ak,
as,
az,
ar,
ca,
co,
ct,
de,
dc,
fl,
ga,
gu,
hi,
id,
il,
in,
ia,
ks,
ky,
la,
me,
md,
ma,
mi,
mn,
ms,
mo,
mt,
ne,
nv,
nh,
nj,
nm,
ny,
nc,
nd,
mp,
oh,
ok,
or,
pa,
pr,
ri,
sc,
sd,
tn,
tx,
ut,
vt,
vi,
va,
wa,
wv,
wi,
wy
Maximum string length: 64
Example:

"ca"

corpusType
enum<string> | null

Optional corpus to resolve every citation WITHIN: STATE (statutory text, federal or state), REGULATION (administrative codes), STATE_RULES (court rules), CONSTITUTION (constitutional text), STATE_CONSTITUTION (constitutional text; a synonym of CONSTITUTION here, since state is what separates the two). Same semantics as the single-citation route.

Available options:
CONSTITUTION,
FEDERAL_BILL,
REGULATION,
STATE,
STATE_CONSTITUTION,
STATE_RULES,
US_TREATY
Example:

"REGULATION"

Response

One verdict per submitted citation, in order.

Response for POST /us/statutes/resolve.

results
StatuteResolveBatchItem · object[]

One entry per de-duplicated input citation, in the order supplied. An unresolved citation is an entry with resolved: false, never an omission: a caller checking thirty citations needs to know which of them failed, and a shorter array cannot say.

resolvedCount
integer
default:0

How many of the submitted citations resolved to a code section. A citation answered only by a sessionLaw block is not counted.

Example:

2

failedCount
integer | null

Present only when some entries failed on OUR side (missReason: lookup_failed): how many. Those entries are not a verdict on the citation, are refunded, and are answered by sending them again. Absent when every entry was answered.

Example:

1

ignoredBlankCount
integer | null

Present only when the request carried blank entries (an empty string or only whitespace). They are dropped, never resolved and never billed, and have no entry in results; this is how many there were. Absent when none were sent.

Example:

1

count
integer
default:0

Total entries in results, after de-duplication.

Example:

3

processingTimeMs
number
default:0

Server-side time for this request in milliseconds.

Example:

610.2

creditsConsumed
number
default:0

Credits actually charged. Read it rather than multiplying the list price by your input length: a backend failure on some citations refunds those, so this can be lower than 2 x count.

Example:

6