US Statutes API: USC, CFR & State Codes
The US Code, the CFR, and every state and territory code (6M+ sections) in one self-serve API: REST, MCP or SQL. Every section links to its official source.

The hard way
Build the pipeline yourself
- Government sites for all 56 jurisdictions, each in its own format
- A search index you keep in sync
- Re-scrape it all, forever
The API
Or make one call
POST /api/v1/us/statutes/search
- One schema, relevance-ranked
- Cited, linked to the official source
- Refreshed per source
We open-sourced the scrapers
Open US Law is every state code, the US Code, the CFR, regulations, constitutions and court rules as JSONL, with the scrapers. Scripts are Apache-2.0; data is CC BY-NC 4.0, non-commercial use.
- Sections of US law
- 6M+Sections of US law
- US jurisdictions: 50 states, DC, Puerto Rico, Guam, the Northern Mariana Islands, the US Virgin Islands and American Samoa, plus federal
- 56US jurisdictions: 50 states, DC, Puerto Rico, Guam, the Northern Mariana Islands, the US Virgin Islands and American Samoa, plus federal
- Indexed retrieval passages
- 22M+Indexed retrieval passages
The 11 endpoints you will use most, of 30.
Section lookup
/api/v1/us/statutes/resolveResolve a Bluebook citation straight to its section
/api/v1/us/statutes/section/{act_id}Get a section, citation, title, and hierarchy metadata
/api/v1/us/statutes/section/{act_id}/bodyGet the full text of a section, HTML and plain text
/api/v1/us/statutes/section/{act_id}/relatedGet the sections immediately before and after this one
/api/v1/us/statutes/sectionsBatch metadata for up to 50 sections in one call
Discover the corpus
Go deeper on a section
/api/v1/us/statutes/section/{act_id}/changesGet this section's change history
/api/v1/us/statutes/section/{act_id}/cited-byFind the sections that cite this one
/api/v1/us/statutes/section/{act_id}/definitionsGet the defined terms that govern this section
/api/v1/us/statutes/section/{act_id}/cross-stateCompare this provision against other states
One request, cited results.
curl -X POST https://api.vaquill.ai/api/v1/us/statutes/search \
-H "Authorization: Bearer $VAQUILL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "qualified immunity", "corpusType": "USC", "limit": 5}'{
"results": [
{
"actId": "USC_T6_C4_S1104",
"citation": "6 U.S.C. § 1104 (2026)",
"title": "Immunity for reports of suspected terrorist activity",
"corpusType": "USC",
"state": "federal",
"year": 2026,
"relevanceScore": 0.73,
"excerpt": "Any person who, in good faith...",
"displayPath": "Title 6 > Chapter 4 > § 1104",
"htmlUrl": "https://statutes-us.vaquill.ai/...htm",
"externalUrl": "https://www.govinfo.gov/app/details/..."
}
],
"count": 1,
"offset": 0,
"hasMore": false,
"creditsConsumed": 4
}Everything the API covers
One schema over every layer of US law, each section cited and linked to its official source.
US Code sections
53 titles, weekly
CFR sections
49 active titles, daily
Federal Register rules
final + proposed, 1994 to present
Statutes at Large sections
federal law as enacted, 1789 to date
Statute compilation sections
2,556 acts, currency stated per document
Agency adjudication decisions
7 federal bodies, no good-law verdict
CFR annual edition sections
31 published editions of the same regulations, not extra breadth
Federal Register notices
curated 2.7% slice: notices acting on a rulemaking
State statute sections
all 56 jurisdictions
All 21 corpora
State regulation rules
all 56 jurisdictions
Jurisdictions with state session laws
From 1975, as passed
Executive orders
+ proclamations & memos
Agency guidance documents
130+ named sources across federal agencies
State constitution sections
53 jurisdictions
State court rules
56 jurisdictions
Federal Rules of Procedure
FRCP, FRCrP, FRE, FRAP, FRBP + SCOTUS Rules
Federal local court rules
52 rule sets: appeals, national and district courts
State agency guidance (bulletins)
49 jurisdictions
US Constitution sections
articles + amendments
State Attorney General opinions
45 jurisdictions, persuasive not binding
US Sentencing Guidelines sections
including former versions
Federal: the US Code and CFR
| Corpus | Sections | In force | Titles |
|---|---|---|---|
| US Code | 60,506 | 51,009 | 53 |
| CFR | 222,445 | 222,256 | 49 |
| USC + CFR | 282,951 | 273,265 | 102 |
Repealed, omitted and transferred sections are kept for reproducible research.
State: all 56 statute codes
Same schema as federal. Scope a query with state: "tx" or resolve Tex. Penal Code § 19.02 straight to its section.
Code name for each jurisdiction
Bracketed entries are citation patterns, not placeholders: California, New York and Texas use subject-matter codes (Cal. Penal Code, N.Y. Penal Law, Tex. Penal Code).
- ALAlabamaAla. Code
- AKAlaskaAlaska Stat.
- ASAmerican SamoaAm. Samoa Code Ann.
- AZArizonaAriz. Rev. Stat.
- ARArkansasArk. Code
- CACaliforniaCal. [Code]
- COColoradoColo. Rev. Stat.
- CTConnecticutConn. Gen. Stat.
- DEDelawareDel. Code
- DCDistrict of ColumbiaD.C. Code
- FLFloridaFla. Stat.
- GAGeorgiaGa. Code
- GUGuamGuam Code Ann.
- HIHawaiiHaw. Rev. Stat.
- IDIdahoIdaho Code
- ILIllinoisIll. Comp. Stat.
- INIndianaInd. Code
- IAIowaIowa Code
- KSKansasKan. Stat.
- KYKentuckyKy. Rev. Stat.
- LALouisianaLa. Rev. Stat.
- MEMaineMe. Rev. Stat.
- MDMarylandMd. Code
- MAMassachusettsMass. Gen. Laws
- MIMichiganMich. Comp. Laws
- MNMinnesotaMinn. Stat.
- MSMississippiMiss. Code
- MOMissouriMo. Rev. Stat.
- MTMontanaMont. Code
- NENebraskaNeb. Rev. Stat.
- NVNevadaNev. Rev. Stat.
- NHNew HampshireN.H. Rev. Stat.
- NJNew JerseyN.J. Stat.
- NMNew MexicoN.M. Stat.
- NYNew YorkN.Y. [Cons. Laws]
- NCNorth CarolinaN.C. Gen. Stat.
- NDNorth DakotaN.D. Cent. Code
- MPNorthern Mariana IslandsN. Mar. I. Code
- OHOhioOhio Rev. Code
- OKOklahomaOkla. Stat.
- OROregonOr. Rev. Stat.
- PAPennsylvaniaPa. Cons. Stat.
- PRPuerto RicoP.R. Laws Ann.
- RIRhode IslandR.I. Gen. Laws
- SCSouth CarolinaS.C. Code
- SDSouth DakotaS.D. Codified Laws
- TNTennesseeTenn. Code
- TXTexasTex. [Code]
- UTUtahUtah Code
- VTVermontVt. Stat.
- VIUS Virgin IslandsV.I. Code Ann.
- VAVirginiaVa. Code
- WAWashingtonWash. Rev. Code
- WVWest VirginiaW. Va. Code
- WIWisconsinWis. Stat.
- WYWyomingWyo. Stat.
And the decisions that apply it
The case law API shares your key and credits.
- Search opinions by words, court, state, date or judge
- Resolve reporter citations, up to 100 per call
- The cases a decision cites and the cases that cite it
POST /api/v1/us/cases/search
See the case law APISecurity
- Bearer token auth
- Keys prefixed vq_key_, rotate any time from the dashboard.
- HTTPS only
- Encrypted in transit; plain HTTP is rejected.
- No query logging
- We never store your searches, only usage for billing.
- Documented data locations
- Every processing region is recorded in our sub-processor register.
- IP whitelisting
- IP-based access restrictions on enterprise plans.
Working in legal aid or civil justice?
Frequently asked questions
US case law, statutes and regulations, plus constitutions, court rules, executive orders, agency guidance and agency adjudications, for federal law, all 50 states, DC, Puerto Rico, Guam, the Northern Mariana Islands, the US Virgin Islands and American Samoa. The coverage section above has the figures; GET /api/v1/us/statutes/coverage and GET /api/v1/us/courts?include=coverage return them live.
Stop building legal data pipelines.
The rest of the API surface
- API PlaygroundRun live requests, see the real response.
- Case Law APIOpinions, dockets, courts and judges.
- Law Change AlertsWebhook or email when a watched section changes.
- SDKsPython and TypeScript clients.
- MCP ServerSearch and lookup as native tools in Claude, Cursor and VS Code.
- Open DatasetThe corpus as Parquet on Hugging Face.
- API DocsEndpoints, schemas, code samples.
- Postman CollectionFork it, add your key.