Skip to main content
GET
Get US local-law sections by id

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"

Query Parameters

ids
string[]
required

Section ids (MUNI_MD_BALTIMORE_CODE_1-101): repeated, or comma separated. 1 to 20.

Example:

"MUNI_MD_BALTIMORE_CODE_1-101,MUNI_MA_ABINGTONTOWN_CODE_C1-1"

fields
enum<string>
default:full

metadata drops the text, at a lower price.

Available options:
full,
metadata

Response

The sections found, and the ids that were not (notFound).

results
SectionRow · object[]
required
count
integer
required
creditsConsumed
integer
required
notFound
string[]
notes
string[]
processingTimeMs
number | null