Search US statutes, constitutions, court rules, and executive actions
Search across federal and state law and get back the most relevant sections with citations and links to official source documents.
Corpora (corpusType):
USC: United States Code (54,855 sections)CFR: Code of Federal Regulations (219,403 sections)STATE: State statutory codes, 49 states plus DC and Puerto Rico. Call/statutes/statesfor live coverage and/statutes/codesfor a state’s codes; see the Coverage page for the full breakdown.CONSTITUTION: U.S. Constitution (Articles I-VII + 27 Amendments)FEDERAL_RULES: FRCP, FRCrP, FRE, FRAP, FRBP (297 sections)STATE_CONSTITUTION: state constitutions (41 jurisdictions)STATE_RULES: state court rules (AZ, CA, IL, MD, MN, NV, PA)EXECUTIVE_ACTION: Federal Register Presidential Documents (Executive Orders, Proclamations, Memos; 2015 to today, refreshed daily)REGULATION: state administrative regulations (pair withstate; call/statutes/statesfor coverage)FEDERAL_REGISTER: Federal Register agency rules, final and proposedAGENCY_GUIDANCE: agency guidance (SSA rulings, IRS notices, revenue rulings and procedures)
Authentication: API key via Authorization: Bearer vq_key_...
Cost: 4 credits per call (see /api-credits/pricing). Failed calls are not charged.
Pagination: use limit (page size, max 50) with offset (max 40); check hasMore in the response to page forward.
Returns relevant sections with full metadata: citation, title hierarchy, and direct links to official source documents where available.
Examples
# Search SEC regulations
requests.post(url, headers=h, json={
"query": "insider trading material nonpublic information",
"corpusType": "CFR",
"titleNumber": 17,
"limit": 5,
})
# Search California state statutes
requests.post(url, headers=h, json={
"query": "shareholder derivative action standing",
"corpusType": "STATE",
"state": "ca",
})
# Search Executive Orders on a topic
requests.post(url, headers=h, json={
"query": "AI safety federal agency adoption",
"corpusType": "EXECUTIVE_ACTION",
})
# Search Federal Rules of Civil Procedure
requests.post(url, headers=h, json={
"query": "personal jurisdiction long-arm statute",
"corpusType": "FEDERAL_RULES",
})
# Cross-corpus search (no corpusType filter)
requests.post(url, headers=h, json={
"query": "due process equal protection fourteenth amendment",
})
Parameters
query(required): natural-language or keyword query, 2 to 500 characters.corpusType(optional): one of the 8 corpus tokens above. Omit to search every corpus at once.state(optional, 2-letter lowercase, e.g.ca): restrict to one state. Applies only toSTATE,STATE_CONSTITUTION, andSTATE_RULES; ignored for federal corpora.titleNumber(optional, integer): restrict to a USC/CFR title (e.g. 17 for SEC, 42 for civil rights). Applies only toUSC/CFR. State titles are alphabetic codes (use/statutes/codesto find them), so this is ignored for state corpora.limit(optional, default 10, max 50): number of results to return.
Tips
- Provide
corpusTypewhenever you know it. Unscoped queries can surface keyword matches from unrelated corpora; a corpus filter sharply improves precision. - Take a returned
actIdand call/statutes/section/{actId}for metadata or/statutes/section/{actId}/bodyfor the full text. relevanceScoreranks results within one response; do not compare it across different queries.
Authorizations
API key issued from the Vaquill developer dashboard. Pass as Authorization: Bearer vq_key_...
Body
Search query in natural language.
2 - 500"insider trading penalties"
Restrict to one corpus. One of: USC (United States Code), CFR (Code of Federal Regulations), STATE (state statutory codes; call /statutes/states for the list of ingested jurisdictions), CONSTITUTION (U.S. Constitution), FEDERAL_RULES (FRCP / FRCrP / FRE / FRAP / FRBP), STATE_CONSTITUTION (state constitutions, currently CA/VA/NC/WI), STATE_RULES (state court rules, currently CA), EXECUTIVE_ACTION (Federal Register Presidential Documents), REGULATION (state administrative regulations; pair with state), FEDERAL_REGISTER (Federal Register agency rules, final and proposed), AGENCY_GUIDANCE (agency guidance: SSA rulings, IRS notices, revenue rulings and procedures). Omit to search across all corpora.
USC, CFR, STATE, CONSTITUTION, FEDERAL_RULES, STATE_CONSTITUTION, STATE_RULES, EXECUTIVE_ACTION, REGULATION, FEDERAL_REGISTER, AGENCY_GUIDANCE "CFR"
2-letter state code (lowercase, e.g. ca, tx, ny) used to filter state corpora. Ignored when corpusType is USC, CFR, CONSTITUTION, FEDERAL_RULES, or EXECUTIVE_ACTION.
2"ca"
Filter by USC/CFR title number (e.g., 17 for SEC, 42 for civil rights). Only meaningful for USC/CFR; ignored for state corpora whose titles are alphabetic (e.g. Texas pe = Penal Code).
17
Number of results to return per page.
1 <= x <= 50Number of results to skip for pagination. Combined with limit, the deepest reachable result is offset + limit. Deep paging is bounded by the reranking window, so offset is capped at 40. Use hasMore in the response to decide whether to request the next page.
0 <= x <= 40Response
Ranked sections for the query.
Number of results returned in this response (the size of results). This is the current page count, not the corpus-wide match total. Use hasMore to detect further pages.
The offset applied to this page.
Whether more results exist beyond this page.
The search query used.

