# 2s USC Section Lookup

> 2s USC Section Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0018/call, status unknown (last checked 2026-09-14).

Retrieves the full statutory text and metadata for a specific section of the United States Code by title and section number

## Facts

- Endpoint: GET https://2s.io/api/law/usc-section
- Price: $0.0018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-usc-section-lookup-103927cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lvdn0yWkqOyUo2XAxl0zn

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 2s-usc-section-lookup-103927cd
```

Example prompt: Can you pull up the full text of 17 U.S.C. § 107 — the fair use provision — including any editorial notes?

## When to prefer this

Use this endpoint when you need the precise, authoritative statutory text of a specific United States Code section by its known title and section number. Prefer this over general legal search APIs when you already know the citation and need the exact statutory language, source credit, or editorial notes from the official House of Representatives USC database.

## Known failure modes

- Invalid title number (outside 1–54) returns a validation error
- Section number not matching the required pattern returns a validation error
- Section does not exist in the current USC edition returns empty items array
- Network or upstream uscode.house.gov unavailability causes a service error
- Payment failure via x402 prevents the call from being made

## How this service works

Fetch the authoritative current text of any United States Code section by title and section number — for example title 17, section 107 returns the fair-use statute. Returns the canonical citation, heading, hierarchy context (title/chapter), full statutory plain text, the Statutes-at-Large source credit, and a link to the official OLRC page; set includeNotes=true to also get editorial notes (amendment history, effective dates). Hyphenated and lettered sections like 1395w-4 or 78j work. Data from the Office of the Law Revision Counsel current ("prelim") edition, public domain — verify statutory citations against the authoritative source instead of relying on model memory. For federal regulations see /api/law/cfr-section; for case law see /api/law/case-verify.

## Output

Returns an array of matching section objects, each containing the canonical citation (e.g. '17 U.S.C. § 107'), official section heading, plain-text statutory body, optional editorial notes (amendment history, cross-references), context breadcrumb showing the hierarchy, the USC edition served, source credit (Statutes-at-Large enactment and amendment citations), a link to the official uscode.house.gov page, and a flag indicating if the text was truncated. Also includes source provenance metadata.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "title": 17,
   "section": "107",
   "includeNotes": false
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "title",
      "section"
     ],
     "properties": {
      "title": {
       "type": "integer",
       "maximum": 54,
       "minimum": 1,
       "description": "USC title number, 1-54 (e.g. 17 for Copyrights, 26 for Internal Revenue Code, 42 for Public Health and Welfare)."
      },
      "section": {
       "type": "string",
       "description": "Section number, e.g. \"107\", \"78j\", or \"1395w-4\"."
      },
      "includeNotes": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "type": "string"
        }
       ],
       "description": "Include editorial notes (amendment history, effective dates, cross-references). Default false — notes can be long."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-usc-section-lookup-103927cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
