# fittings US Code Section Lookup

> fittings US Code Section Lookup is a paid API for AI agents from fittings.sh, paid per call via x402, $0.009/call, status unknown (last checked 2026-09-15).

Retrieves the current statutory text of a specific US Code section by title and section number, including source credit, chapter, edition, and currency date.

## Facts

- Endpoint: GET https://fittings.sh/v1/govinfo/us-code-section
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-us-code-section-lookup-d0f0544c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BGmfW58m8sAXvtyCCWQYe

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 fittings-us-code-section-lookup-d0f0544c
```

Example prompt: Can you pull up the current text of Title 18, Section 1030 of the US Code — that's the Computer Fraud and Abuse Act — and include the source credit?

## When to prefer this

Use this endpoint when you need the authoritative, current statutory text of a specific US Code section by its precise title and section number. Prefer this over general web search when you need reliable, machine-readable statute text with source credit and currency information — ideal for legal research agents, compliance workflows, or any application that must cite or verify federal law accurately.

## Known failure modes

- Invalid title number (must be 1-54) returns an error
- Section number not found in the specified title returns a not-found error
- Malformed section number format causes a validation error
- Network or upstream GovInfo service unavailability causes a timeout or 5xx error
- maxChars set too low may truncate the response mid-statute

## How this service works

The current text of a US Code section by title and section number: the statutory text, its source credit, the chapter it sits in, the edition it comes from and the date it is current through.

## Output

Returns the current statutory text of the specified US Code section, along with the source credit (legislative history citation), the chapter it belongs to, the edition of the US Code, and the date through which the text is current. Optionally includes editorial and statutory notes, which can be substantially longer than the section text itself.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "title",
      "section"
     ],
     "properties": {
      "title": {
       "type": "number",
       "description": "US Code title number, 1-54"
      },
      "section": {
       "type": "string",
       "description": "Section number, e.g. 105, 1030 or 2000e-2"
      },
      "maxChars": {
       "type": "number",
       "description": "Characters of text to return, 1-200000, default 20000"
      },
      "includeNotes": {
       "type": "boolean",
       "description": "Include the editorial and statutory notes, which are usually longer than the section. Default false"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-us-code-section-lookup-d0f0544c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
