Catalog/gov-ecfr-section

Government

Fetch the full text of a CFR section (eCFR) API

Fetch a specific Code of Federal Regulations section from the eCFR versioner and return cleaned plain text: the official citation, section heading, paragraph and word counts, and the body text (XML stripped). Answers 'What does 3 CFR 100.1 actually say?', 'Give me the current text of this regulation'.

Price$0.01per request
MethodPOST
Route/v1/gov/ecfr-section
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
govlegalregulationscfrecfrsectioncomplianceus
API URLhttps://x402.hexl.dev/v1/gov/ecfr-section
Integration docs
Example request
{
  "title": 3,
  "section": "100.1"
}
Example response
{
  "citation": "3 CFR 100.1",
  "title": 3,
  "part": "100",
  "section": "100.1",
  "asOfDate": "2026-06-01",
  "heading": "§ 100.1 Ethical conduct standards and financial disclosure regulations.",
  "paragraphCount": 1,
  "wordCount": 35,
  "text": "Employees of the Executive Office of the President are subject to the executive branch-wide standards of ethical conduct at 5 CFR part 2635, and the executive branch-wide financial disclosure regulations at 5 CFR part 2634.",
  "url": "https://www.ecfr.gov/current/title-3/section-100.1",
  "disclaimer": "Informational data product aggregated from public government / open-legal APIs. NOT legal advice. Verify against the official primary source before relying on it."
}
Input schema
{
  "type": "object",
  "required": [
    "title",
    "section"
  ],
  "properties": {
    "title": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "section": {
      "type": "string",
      "description": "CFR section, e.g. '100.1' or '98.3'"
    },
    "part": {
      "type": "string",
      "description": "Optional part (defaults to section prefix)"
    },
    "date": {
      "type": "string",
      "description": "Optional as-of date YYYY-MM-DD"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}