POST /us/statutes/search, GET /us/statutes/section/{actId}/body, and GET /us/statutes/coverage (free, lists the corpora a jurisdiction has).
Run POST /us/statutes/search once per corpus with the same plain-language query:
CFRfor federal regulations.FEDERAL_REGISTERfor agency rules.AGENCY_GUIDANCEfor rulings and notices.REGULATIONfor state administrative rules, paired with astate.STATE_AGENCY_GUIDANCEfor state insurance bulletins and circular letters, paired with astate.
"excludeRepealed": true to drop repealed rules.
Then fetch each section’s text with GET /us/statutes/section/{actId}/body. Group by corpusType and jurisdiction. Show each section’s citation and official URL.
Step 1: search across the regulatory corpora
cURL
corpusType and add the parameters for each corpus.
To see which corpora a state has, call
GET /us/statutes/coverage and read the jurisdiction’s corpora keys.
State regulations (REGULATION) cover only some states.
Narrowing the Federal Register sweep
Without filters,FEDERAL_REGISTER ranks your query against every rule and proposal from every agency. Use these filters.
Other corpora have no agency or publication date, so these filters return nothing there.
documentType: "final" for obligations. Run a separate proposed pass for upcoming rules.
Narrowing to one named source
AGENCY_GUIDANCE holds many named sources. If you know the source, such as CFTC staff letters, add source to skip the broad sweep:
source. Use it to scope a follow-up query. An unknown value returns 422.
See Filtering to one named source for the list of source values.
Sources under AGENCY_GUIDANCE, FEDERAL_RULES and CFR
Sources under AGENCY_GUIDANCE, FEDERAL_RULES and CFR
AGENCY_GUIDANCE includes:- SSA rulings, IRS notices, procedures and rulings
- DOJ and FTC Merger Guidelines, the DOJ Antitrust Leniency Policy, the DOJ Justice Manual
- Copyright Office Circulars, USCIS Policy Manual, USPTO MPEP and TMEP
- CFTC Staff Letters, FinCEN rulings and guidance, Federal Reserve, OCC and FDIC banking guidance
- DFARS PGI and NLRB memoranda
FEDERAL_RULES includes the Federal Rules of Procedure and Supreme Court Rules. CFR Title 48 includes FAR and DFARS.Step 2 and 3: collect, fetch text, and group
Python
best_source_url() uses the order in Text formats and source URLs.
Notes for a production compliance map
Feed the grouped sections into an LLM for a summary
Feed the grouped sections into an LLM for a summary
Pass the grouped, cited text to an LLM and ask for a short description of each obligation, with citations.
Use the pattern in Ground an LLM answer in statutes so the summary quotes only retrieved text.
Related
- Ground an LLM answer (RAG): summarize the mapped obligations with strict, cited grounding.
- Resolve a citation: verify a specific regulation citation and pull its text.
- API coverage: which corpora and jurisdictions are ingested.

