corpusType chooses which body of law a search runs against.
It is the most important filter in the API.
Pass one token or a list.
For how much data sits behind each token, see API Coverage.
Scoping rules
- Federal token: send only
corpusType, such as{"query": "civil rights under color of law", "corpusType": "USC"}. - State token: send
corpusTypeandstate. Withoutstate, the search spans every jurisdiction that has that corpus.statealso accepts a list. - Source: where a token folds in several bodies, narrow with
source, such as{"query": "tip credit", "corpusType": "AGENCY_GUIDANCE", "source": "whd_foh"}.
titleNumber is only valid with corpusType USC or CFR. Any other token returns a 422.Tokens
CallGET /us/statutes/coverage for live counts and for which tokens have data in which jurisdiction.
The Source codes column lists the values each token accepts in the source filter (see Filtering to one named source).
JURY_INSTRUCTION, ETHICS_OPINION, STATE_EXECUTIVE_ORDER and MUNICIPAL_CODE are new tokens.
Like the other state tokens, each takes corpusType plus state.
Their data is being added, so check GET /us/statutes/coverage to see which jurisdictions hold rows under a token before you depend on it.
More court rules, session laws and register notices are also being added under tokens that already exist.
See the roadmap for what is being added.
You can walk the tokens with browsable: true in the coverage legend using /us/statutes/divisions: USC, CFR, STATE, REGULATION, STATE_RULES, CONSTITUTION, STATE_CONSTITUTION and FEDERAL_RULES.
State session laws have no corpusType.
They are served by /us/session-laws.
SESSION_LAW is the federal Statutes at Large only.
The OpenAPI enum also accepts two values that are not searchable tokens today:
USC_ANNUALis GPO’s retired annual edition of the US Code.FEDERAL_BILLholds text of Congressional bills, which is proposed text and never law. It is opt in only and never part of an unscoped search.
STATE_AGENCY_GUIDANCE holds state Department of Insurance bulletins and circular letters.
A bulletin interprets the law and is not itself the law, so it has its own token rather than sharing REGULATION.
Use it for insurance compliance and 50-state survey questions.
Tokens that are not current law
goodLawStatus: "unknown" means Vaquill makes no claim about whether this text is still good law.
The publisher gives no machine-readable signal. Do not read it as a yes.
If you need the current text, check it against the source.
FEDERAL_RULES_ANNUAL and FEDERAL_RULES_PROPOSED
FEDERAL_RULES_ANNUAL and FEDERAL_RULES_PROPOSED
Both sit beside
FEDERAL_RULES and share its citations, so neither is part of an unscoped search.
Name the token to read them.
A stage change in a pending amendment is announced on the rule’s own watch (see alerts).FEDERAL_RULES_ANNUALholds superseded texts. TheactIdis the current rule’sactIdplus_Eand the year, such as{actId}_E2015. UseFEDERAL_RULESfor the rule in force. To ask what a rule said on a date, passasOfwith the currentactId(see Point-in-time law).FEDERAL_RULES_PROPOSEDholds amendment documents. TheactIdis the current rule’sactIdplus_Pand the cycle year, or_PNOCYCLEwhen no cycle year is set (FRULES_FRE_R707_PNOCYCLE). A proposal for a new rule (Evidence Rule 707, Bankruptcy Rule 7043) has no current rule to point at.actStatusisproposed,superseded(the amendment took effect) orwithdrawn. A proposed amendment asked withasOfis refused as not law on any date. The rule in force lists its pending amendments inpendingAmendments(see Federal coverage).
STATE_REGISTER
STATE_REGISTER
A state’s official register prints each proposed, adopted or emergency rule as a notice on a date.
STATE_REGISTER holds one document per printed item, cited by register volume and page (36 Pa. Bull. 510).
See Register citations.The codified rule under REGULATION is the operative text.
Every item is served with goodLawStatus: "unknown", and year is the year of the issue it was printed in.
Register notices rank below binding law in search.
The states loaded are listed on State and territory coverage.STATE_AG_OPINION
STATE_AG_OPINION
A formal written opinion in which a state’s chief legal officer construes that state’s laws for a state officer, legislator or local government.
It is persuasive authority and does not bind a court.
goodLawStatus is always unknown. See Status and currency.Where a jurisdiction runs more than one series, the series field carries the publisher’s label.
You can filter Washington’s AGO from its AGLO letter opinions, or Georgia’s Official from its Unofficial opinions.
The series is also part of the actId.SESSION_LAW and STATUTE_COMPILATION
SESSION_LAW and STATUTE_COMPILATION
Both carry
goodLawStatus: "unknown". They are historical records, not statements of current law.Choosing between tokens that look alike
For asking any corpus what it said on a past date, see Point-in-time law.
Filtering to one named source
AGENCY_GUIDANCE, AGENCY_ADJUDICATION, FEDERAL_RULES, CFR, US_TAX_TREATY, US_TREATY and STATE_AGENCY_GUIDANCE each fold several independently filterable bodies into one token.
Every result carries a source field. Pass that value back as the source filter to scope to it.
source accepts a single value or a list, such as source: ["frcp", "sct"].
An unrecognized value returns 422, and the error names every valid code.
The codes for each token are in the token table.
Related
- API Coverage: how much sits behind each token.
- Jurisdictions and state codes: the 56 jurisdictions and how to find live coverage.
- Status and currency: what
goodLawStatusmeans per corpus.

