Skip to main content
GET
List US local-law places, codes and outlines

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

state
string | null

md, MD or Maryland.

Example:

"md"

q
string | null

Place name prefix.

Required string length: 1 - 100
Example:

"balt"

place
string | null

A place id or exact name: lists its codes.

Example:

"md/baltimore"

code
string | null

A code id: returns one outline level (1 credit).

Example:

"MUNI_MD_BALTIMORE_CODE"

path
string[] | null

With code: the outline entries already walked, in order (repeat the parameter).

limit
integer
default:50
Required range: 1 <= x <= 200
offset
integer
default:0
Required range: 0 <= x <= 10000

Response

Places, codes or one outline level, by depth.

depth
enum<string>
required
Available options:
places,
codes,
outline
creditsConsumed
integer
required
places
PlaceSummary · object[] | null
codes
CodeSummary · object[] | null
code
CodeSummary · object | null
path
string[] | null
levels
OutlineLevel · object[] | null
sections
OutlineSection · object[] | null
total
integer | null
limit
integer | null
offset
integer | null
notes
string[]
processingTimeMs
number | null