Government Index Endpoints
Search the Government Index
GET
Search the Government Index
Search primary law and regulatory material from US federal, state, and local government sources: statutes, regulations, codes, court opinions, and other government publications. Results come back in the standard
For a workflow overview, see the Government Index guide.
web group, the same shape as a web result from /search. Send sources: ["gov"] to get the same results in a gov group with the index’s labels: jurisdiction, court, courtType, cites, citedAs, lang, and updatedAt. See Index labels.
POST is available on the same path with the same fields as a JSON body. Unknown fields and invalid filter values are rejected with 400, and the error says which value to fix.
query is required. Include the jurisdiction, agency or citation, and relevant date when known. k is the result count, from 1 to 100, defaulting to 10; general /search uses limit instead.
Calls count toward the Government Index limit of 300 a minute and your plan’s daily Government Index limit. This endpoint shares both with the gov category on /search and the Government Index tool in Alexandria. Over either limit, this endpoint returns 429 with a Retry-After header. See rate limits.
Results are matched excerpts and may include historical versions, bill text, guidance, or third-party reproductions. Verify the issuer, jurisdiction, enacted/effective status, and version before citing current governing law. Read the source behind a match when the snippet is insufficient. The index focuses on US material; no hits does not establish that no applicable law exists.
Filters
All filters are optional and combine with AND semantics.
Filters keep only pages the index has labeled, so a filtered search can leave out relevant pages, and no results does not mean none exist. Court labels are most complete for federal courts and case-law collections.
Authorizations
Query Parameters
Keep only pages from one type of court: federal-supreme, federal-appellate, federal-district, federal-bankruptcy, federal-special, military, state-supreme, state-appellate, state-trial, state-special, state-attorney-general.
Available options:
federal-supreme, federal-appellate, federal-district, federal-bankruptcy, federal-special, military, state-supreme, state-appellate, state-trial, state-special, state-attorney-general Keep only pages that cite a law or case, as a printed citation such as 42 U.S.C. § 1983 or 5 U.S. 137, or a citation id such as us:usc:42:1983. Pass up to 32 to keep pages citing any of them. Repeat the parameter to pass more than one.
Required array length:
1 - 32 elementsMinimum string length:
1
