Skip to main content
GET
Get statute full text

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"

Path Parameters

act_id
string
required

Section identifier, e.g. USC_T42_C21_S1983 (42 U.S.C. ยง 1983). Take it from a /us/statutes/search, /resolve or /divisions result; do not assemble one. A citation such as 42 USC 1983 also works and adds the /resolve price (see GET /us/statutes/section/{actId}). State session laws (SSL_ ids) are read at /us/session-laws/{sessionLawId}.

Required string length: 3 - 200
Example:

"CFR_T17_P240_S240_10b5_1"

Query Parameters

format
enum<string>
default:both

Which representations to return. both (the default) returns html and plain. A long section carries the same text twice that way, so plain or html alone drops one copy of the text. The split fields (content, sourceCredit, notes) ride along on every format except operative, so for the smallest payload use operative. Cost is unchanged: the fetch is the same either way.

all adds markdown where the section has a structured rendering. It is opt-in because it is a third full copy of the text (about 600,000 extra characters on 49 CFR 172.101), which a model-facing client would pay for in tokens without asking.

markdown returns only markdown. On a section with no structured rendering it falls back to plain with a note saying so, never to an empty body. tables and figures are returned on every format, because they are small and describe the text you received.

content omits html and plain and returns the split fields (content, sourceCredit, notes).

operative omits notes as well, leaving content + sourceCredit: the law and what enacted it, and nothing else. This is the smallest representation of a section, and on a note-heavy section it is the difference between a payload that fits in a prompt and one that does not. Measured on 17 U.S.C. ยง 107: 95,217 bytes at both, 30,545 at content, 1,564 at operative, all for the same 6 credits.

Only United States Code sections can be split, so on any other corpus both values fall back to returning plain with a note saying why -- content will be null there, so read note rather than assuming the section was empty.

Available options:
all,
both,
html,
markdown,
plain,
content,
operative
Example:

"operative"

layout
enum<string>
default:reflowed

Line-break layout of the returned text. reflowed (the default) joins hard-wrapped lines into paragraphs, keeping a break before headings, (a) / 1. labels, table rows and signature blocks. source returns the line breaks exactly as extracted from the publisher's document. Same cost. The response's layout says which one was served. Reflow never changes the words, and a structured r2_render body (tables and figures) is returned as rendered under either value. pinpoint offsets index into the text of the layout you asked for.

Available options:
reflowed,
source
Example:

"source"

structured
boolean
default:false

When true, also return a subsections tree parsed from the text for pincite addressing, and markdown as that tree rendered as nested Markdown lists. Same cost.

structured=true OWNS markdown: on every format, and on every source, markdown is the nested-list rendering, never the table-preserving rendering a r2_render section otherwise returns for format=all/markdown (a note says so when that happens). Ask without structured for the tables. With format=markdown the nested lists are returned alone, without html or plain.

The response's structure block says whether the tree came from a stored outline (checked against this exact text) or was parsed on this request. To fetch a single unit instead of the whole tree, use pinpoint.

Example:

true

pinpoint
string | null

Return one subsection in pinpoint, alongside the whole body. Parenthesised labels, outermost first, without the section number: (c), (c)(1), (d-1), (f)(1.5). A label containing a hyphen or a dot is a single label. Same cost. A malformed pinpoint, or one sent with asOf, is a 422 and is not charged.

Read pinpoint.matched before using the text: a subsection the section does not have is reported as matched: false, not answered with the whole section.

Maximum string length: 80
Example:

"(c)(1)"

asOf
string<date>

Return the section's text as it stood on this date (YYYY-MM-DD, for example 2026-01-15) instead of today's. Same cost. Cannot be combined with pinpoint or structured (a 422, not charged): a historical text carries no subsection outline. A date later than today (UTC) is a 422 too, not charged.

This is a reconstruction, not an archive. The corpus holds one current text per citation; an earlier one is rebuilt from the before-side of the first change we OBSERVED after your date. The asOf block on the response says which version you got (source), what it rests on (basisChangeId), how far back the evidence reaches (observedFrom), and whether the answer is bounded by when capture began rather than by the law (isBounded). Read isBounded before citing the text.

A section that did not exist yet returns available: false with asOf.existed: false, which is a real answer and is charged. A section we cannot return a text for (it changed and we cannot rebuild it, or no edition we hold governs the date) returns source: "unavailable" and IS refunded, because you asked for a historical text and did not get one.

A date that does not exist on a calendar (2026-02-30) is a 422 and is not charged.

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Successful Response

Full text of a statute section in HTML and/or plain text.

actId
string
required

The act_id of the section served. Equal to your request unless resolvedFrom is set, in which case it is the id your citation or cleaned-up input resolved to.

Example:

"USC_T42_C21_S1983"

html
string | null

The section text as HTML. When source is r2_render this is our structured rendering of the publisher's source: real <table> elements (with <caption>, colspan and rowspan) and <figure> / <img> elements at the position the publisher prints them, with images hosted on statutes-us.vaquill.ai. When source is r2_s3 this is the publisher's own markup (tables, paragraph structure, history lines), cut to the section's own content where we recognise the publisher's page layout. For any other source the text was not held as per-section HTML, and html carries the same text as plain with no markup.

plain
string | null

Plain text version.

source
string | null

Which copy the text came from: r2_render (our structured rendering, carrying markdown, tables and figures), r2_s3 (the publisher's page for this section), r2_text (our per-section text extraction), qdrant_reconstructed (reassembled from indexed passages), and on asOf requests stored_edition or corpus_change_history. A storage identifier, not a citation: cite sourceUrl.

authority
enum<string> | null

The legal authority of this record, from its source: constitution, statute, regulation, court_rule, executive_order, treaty, session_law, adjudication, guidance, manual, analysis, standard, other. Filter on it with the authority search parameter. authority says what KIND of text this is; binding says whether that text is itself law. GET /us/statutes/sources lists both for every source we hold.

Available options:
constitution,
statute,
regulation,
court_rule,
executive_order,
treaty,
session_law,
adjudication,
guidance,
manual,
analysis,
standard,
other
Example:

"statute"

binding
boolean | null

Whether this text is itself binding law. true for constitutions, statutes, enacted regulations, court rules, executive orders, treaties and session laws; false for guidance, manuals, analysis and proposed text; null when it depends. null covers adjudications (precedential status varies by body), historical editions (the law as it stood then), and NIST standards (FIPS are mandatory for federal agencies by statute but not for anyone else, SP 800 are guidance).

Example:

true

sourceUrl
string | null

Where this text was published by the government, so the bytes you were served can be cited and verified against the official record. Null when we hold no publishable link for the section: only official government links are served here, and an absent link is the correct answer in that case. source is a storage identifier and is not a citation.

Example:

"https://www.govinfo.gov/content/pkg/USCODE-2024-title17/html/USCODE-2024-title17-chap1-sec107.htm"

sourceUrlNote
string | null

Says why sourceUrl is null. Either we serve no link for this section on purpose and it is cited by citation alone, or the publisher issues it only inside a larger file (an archive, spreadsheet or whole volume) that is not a page of the section, or no source link is recorded for it at all. When sourceUrl is set on a historical edition (HIST_ act id) and points to an archived copy held by the Internet Archive or HathiTrust, this says so and gives the capture date when known. On a state constitution section whose sourceUrl opens the state's whole constitution, or the article that holds the section, rather than the section's own page, this says so. Otherwise null when sourceUrl is set.

content
string | null

The OPERATIVE TEXT of the section, with the source credit and the notes apparatus removed. This is the law; plain is the law plus everything the publisher prints around it.

Populated for United States Code sections, where GPO delimits the fields in the granule it publishes. Null for CFR and for state corpora, whose sources carry no equivalent structure -- null means "we cannot split this reliably", never "this section is empty", and plain is still the whole body.

Worth using if you feed sections to a model: the operative text is a median 46% of plain across USC and as little as 3.4% (17 U.S.C. ยง 107, where nearly all of the body is committee reports and amendment notes). A model handed the full body can quote a 1992 amendment note as the law in force.

Example:

"Notwithstanding the provisions of sections 106 and 106A, the fair use..."

sourceCredit
string | null

The publisher's credit line for the section, e.g. (Pub. L. 94-553, title I, ยง101, Oct. 19, 1976, 90 Stat. 2546; ...). Split out of the body rather than left inside it.

The same value is also on GET /us/statutes/section/{actId} as sourceCredit; it is repeated here so a caller fetching the text does not need a second call to know what enacted it.

Example:

"(Pub. L. 94-553, title I, ยง101, Oct. 19, 1976, 90 Stat. 2546)"

notes
string | null

The notes apparatus the publisher prints after the section: Historical and Revision Notes, committee reports, Editorial Notes (codification and amendments), Statutory Notes and Related Subsidiaries (effective dates), and any guidelines reprinted by the editors.

Kept, not discarded: it is the legislative history, and it is the reason a section's body can be twenty times the length of the law. It is simply not the operative text, so it is served as its own field. Null where we cannot split the body.

Also null, deliberately, when you pass format=operative: that is the one format that asks us to leave the apparatus off the wire. Null there means "not sent", not "none exists" -- the same request at format=content returns it.

Example:

"Historical and Revision Notes\n\nhouse report no. 94-1476..."

committeeNotes
CommitteeNoteEntry ยท object[] | null

On a federal rule (Civil, Criminal, Appellate, Bankruptcy, Evidence), its compiled Committee Note split into one entry per amendment, in print order, each with year, kind, heading, text, effectiveDate and subdivisionsDiscussed. The publisher's own notes (References in Text, Amendment by Public Law, Effective Date) come as editorial entries, apart from the committee's. The entries rebuild notes exactly: they are the same text cut at the headings.

notes is unchanged and still carries the whole string. Null when the rule has no committee note, when the split could not be made to reproduce the note exactly (then notes alone carries it), and, deliberately, when you pass format=operative: null there means not sent.

committeeNote1937Print
CommitteeNote1937Print ยท object | null

On a Federal Rule of Civil Procedure that existed in 1938, its original Advisory Committee note as printed in H.R. Doc. No. 588 (1938), with a verdict on whether it agrees with the 1937 note in notes. Null for every other rule, for a rule whose 1937 number now names a different rule (Rules 72 to 76), and with format=operative.

available
boolean
default:true

Whether full text is available.

note
string | null

Note if text is unavailable.

bodyUnavailable
boolean | null

Present, and true, only on a section that has no text to return: the publisher prints it as images (an appendix, a form, a map), or the text we hold is not fit to serve as this section (see bodyUnavailableReason). Omitted on every other section. The section is real and its metadata is complete; there is simply no body, so body / plain / html are null, available is false on /body, and nothing is charged for a body. Read it instead of treating a null body as a fetch failure that is worth retrying.

Example:

true

bodyUnavailableReason
enum<string> | null

Why there is no body, present with bodyUnavailable. image_only_source: the publisher prints this section as images, so there is no text to extract. Where we hold an official link for the section it is in sourceUrl; it is null where we may not republish the publisher's link. misfiled_source_text: the text stored under this regulation opens with another rule's number (a prior version filed under a renumbered rule), so it is withheld rather than served as this rule. partial_snapshot_text: the text we hold for this section is only a partial copy of the official text, so it is withheld rather than served as if it were complete. document_not_published: the publisher lists this document but publishes no file or text for it, so we hold its catalogue record (title, number, dates, abstract) and no body. unofficial_source_text: the text we hold was read from a document that is not the adopted rule (a marked-up amendment), so it is withheld. Omitted from the response when it has no value.

Available options:
image_only_source,
misfiled_source_text,
partial_snapshot_text,
document_not_published,
unofficial_source_text
Example:

"image_only_source"

markdown
string | null

The body as GitHub-flavoured Markdown. When source is r2_render this is the structured rendering: tables as GFM pipe tables (a caption line above, footnotes below, multi-level headers joined as Parent / Child) and figures as ![alt](url) at their position in the text. Returned only when format is all or markdown, not on the default both, where it would be a third full copy.

structured=true makes markdown the body as nested Markdown lists, on every section. On a section that also has a structured rendering the nested lists replace it, and note says so: leave out structured to get the Markdown with tables and figures. Without structured, a section with no structured rendering returns markdown null.

tables
BodyTable ยท object[] | null

The tables in the body, in document order, with their size. An empty list means the section has none. Null means not known: the section's corpus has no structured rendering yet, so a table may still be present in html.

figures
BodyFigure ยท object[] | null

The figures, equations and form images in the body, in document order, with hosted image urls and each one's offset into markdown and plain. An empty list means the section has none. Null means not known: the section's corpus has no structured rendering yet.

hasTables
boolean | null

True when the body contains at least one table, false when it contains none. Null when not known, because the section's corpus has no structured rendering yet.

hasFigures
boolean | null

True when the body contains at least one figure, equation or form image, false when it contains none. Null when not known, because the section's corpus has no structured rendering yet.

layout
enum<string> | null

Which line-break layout the returned text has. reflowed: this response's text was re-joined into paragraphs (the default layout=reflowed changed it). source: the line breaks are exactly as extracted from the publisher's document, because you asked for layout=source or because the section's text needed no reflow (a section can also be returned as stored when it is not hard-wrapped, and a structured r2_render body is always returned as rendered). Present whenever text is returned; absent on an available: false answer and on an asOf answer.

Available options:
reflowed,
source
Example:

"reflowed"

subsections
SubsectionNode ยท object[] | null

The section broken into its lettered and numbered subsections, nested as they appear in the text. Use it to quote or link a single clause rather than the whole section. Present only when structured=true.

pinpoint
PinpointResult ยท object | null

Present only when the request passed pinpoint. The unit it names, located in this section's text. Read matched before using text. The rest of the body is returned as usual and the price is the same. See the pinpoint parameter.

structure
PinpointStructure ยท object | null

Present only when the request passed structured=true or pinpoint. Says where the outline behind subsections (or, without structured, behind pinpoint) came from: a stored artifact checked against this exact text, or request_time parsing, and how far to trust it (quality).

asOf
AsOfProvenance ยท object | null

Present only when the request passed asOf. Says WHICH version of the section you are holding and how far the evidence for it goes. Read isBounded before treating the text as the law on that date.

resolvedFrom
SectionIdentifierResolution ยท object | null

Null when the section is exactly the act_id you sent. Otherwise how your input was matched: a citation, or an act_id with transport damage (whitespace, quotes, a trailing period) removed. When your citation named a supported container (a regulation series, constitution article, Indiana chapter or Illinois article) or several sections, the section served is the FIRST of them and matchLevel says so, as on GET /us/statutes/resolve.

processingTimeMs
number
default:0

Server-side time for this request in milliseconds, excluding network transit. Useful for spotting a slow query; not billed on.

Example:

240.5

creditsConsumed
number
default:0

Credits actually charged for this call, after any refund. Failed work bills 0 and batch endpoints charge per item returned.

Example:

4