# Maxwell x402 – US Federal Regulations (eCFR)

> Maxwell x402 – US Federal Regulations (eCFR) is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Search or fetch US federal regulations from the Electronic Code of Federal Regulations (eCFR) by title or section ID, returning title, status, dates, and official link.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/gov/us/legislation?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-us-federal-regulations-ecfr-63f44810
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3d_wkoITcPbEnc9QtBk0G

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability maxwell-x402-us-federal-regulations-ecfr-63f44810
```

Example prompt: Can you fetch the full text of CFR Title 48, Section 24.301 from the eCFR — I need the official regulation on privacy training for federal contractors.

## When to prefer this

Choose this endpoint when you need to look up or search US federal regulations from the eCFR by CFR title or section ID. It is ideal for compliance, legal research, or policy work requiring official regulatory text with source attribution. Prefer it over general web search when you need structured, machine-readable regulation metadata with official eCFR links. Note: this covers regulations (CFR), not statutes (US Code), and is not an official legal edition.

## Known failure modes

- 404 Not Found – section ID does not exist in eCFR (not charged)
- Invalid title or section format causing no match
- Network timeout if eCFR API is slow (live fetch, ~1 min)
- Empty search results if query terms match no regulations
- Rate limiting or payment failure via x402 protocol

## How this service works

US federal regulations from the eCFR (Code of Federal Regulations, not statutes; not an official legal edition): search by title, or fetch one section by its id, with title, status, dates and the official link. Uncached: 404, not charged, fetched within about a minute.

## Output

Returns a JSON object with the country code, section ID, regulation title, type (e.g. Section), found/ok status, source name (eCFR), source class, license details with attribution and URL, and a link to the official eCFR page. Returns 404 (not charged) if the section is not found; data is fetched live (uncached) within approximately one minute.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cc": "us",
  "id": "title-48/section-24.301",
  "ok": true,
  "sku": "gov.us.legislation",
  "type": "Section",
  "found": true,
  "title": "Privacy training.",
  "family": "legislation",
  "source": "eCFR - Electronic Code of Federal Regulations (Office of the Federal Register...",
  "country": "United States",
  "sourceClass": "official-api",
  "sourceLicence": {
   "url": "https://www.ecfr.gov/reader-aids/using-ecfr/ecfr-legal-status",
   "name": "U.S. Government work (public domain). The eCFR is an editorial compilation, n...",
   "attribution": "Source: eCFR (ecfr.gov). Not an official legal edition of the CFR."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-us-federal-regulations-ecfr-63f44810/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
