FETCH402
← Protocol index

Resource / 282

healthy

2s.

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.

Eligibility
probeable
Failures
0
Last quote
2026-08-12 22:00:02 UTC
Last probe
2026-08-12 22:00:02 UTC
Payment requirements / accepts[] 2 options
State Network Scheme Atomic amount Asset payTo / untrusted
active eip155:8453 exact 4500 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
active solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp exact 4500 EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn

All advertised payment options are stored. Base (`eip155:8453`) is the operational network for ranking and canaries; non-Base options remain visible for transparency.

Probe evidence 1 recent
healthy 2026-08-12 22:00:02 UTC GET · HTTP 402 · 55ms · accepts 2 · base 1 ok
Request
GET https://2s.io/api/law/usc-section
Robots
allow
Note
http_402;accepts=2;base=1
Accepts fingerprint
a404bf862d883b0d169334236266d922e63fec71c2b3cb6f8b167a96f227181c

Accepts snapshot

[
  {
    "amount": "4500",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "assetTransferMethod": null,
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "maxTimeoutSeconds": 60,
    "network": "eip155:8453",
    "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
    "paymentFlow": null,
    "raw": {
      "amount": "4500",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxTimeoutSeconds": 60,
      "max_timeout_seconds": 60,
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "pay_to": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "scheme": "exact"
    },
    "scheme": "exact"
  },
  {
    "amount": "4500",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "assetTransferMethod": null,
    "extra": {
      "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
      "name": "USDC",
      "version": "1"
    },
    "maxTimeoutSeconds": 60,
    "network": "solana:5eykt4usfv8p8njdtrepy1vzqkqzkvdp",
    "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
    "paymentFlow": null,
    "raw": {
      "amount": "4500",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
        "name": "USDC",
        "version": "1"
      },
      "maxTimeoutSeconds": 60,
      "max_timeout_seconds": 60,
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "pay_to": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "scheme": "exact"
    },
    "scheme": "exact"
  }
]

PaymentRequired raw

{
  "accepts": [
    {
      "amount": "4500",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxTimeoutSeconds": 60,
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "scheme": "exact"
    },
    {
      "amount": "4500",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
        "name": "USDC",
        "version": "1"
      },
      "maxTimeoutSeconds": 60,
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "scheme": "exact"
    }
  ],
  "error": "PAYMENT-SIGNATURE required",
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "includeNotes": false,
            "section": "12345678",
            "title": 1
          },
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "const": "GET"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "includeNotes": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "string"
                      }
                    ],
                    "description": "Include editorial notes (amendment history, effective dates, cross-references). Default false — notes can be long."
                  },
                  "section": {
                    "description": "Section number, e.g. \"107\", \"78j\", or \"1395w-4\".",
                    "type": "string"
                  },
                  "title": {
                    "description": "USC title number, 1-54 (e.g. 17 for Copyrights, 26 for Internal Revenue Code, 42 for Public Health and Welfare).",
                    "maximum": 54,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "title",
                  "section"
                ],
                "type": "object"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "resource": {
    "description": "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.",
    "iconUrl": "https://2s.io/icon-512.png",
    "mimeType": "application/json",
    "serviceName": "2s",
    "tags": [
      "public-records",
      "identifiers",
      "ai-agents",
      "us-gov-data",
      "x402",
      "upto-billing",
      "ai-gateway",
      "agent-infrastructure"
    ],
    "url": "https://2s.io/api/law/usc-section"
  },
  "x402Version": 2
}

Response headers

{
  "access-control-allow-headers": "Authorization, Content-Type",
  "access-control-allow-methods": "GET, POST, OPTIONS",
  "access-control-allow-origin": "*",
  "access-control-max-age": "86400",
  "age": "0",
  "cache-control": "public, max-age=0, must-revalidate",
  "content-security-policy": "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'none'",
  "content-type": "application/json",
  "date": "Wed, 12 Aug 2026 22:00:02 GMT",
  "payment-required": "eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiI0NTAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJwYXlUbyI6IjB4MmI2RDQ5ODhEYjQ3MjNFNjkwOERiODZBYjJiOGRGQmM1MUZDMzJDNSIsIm1heFRpbWVvdXRTZWNvbmRzIjo2MCwiZXh0cmEiOnsibmFtZSI6IlVTRCBDb2luIiwidmVyc2lvbiI6IjIifX0seyJzY2hlbWUiOiJleGFjdCIsIm5ldHdvcmsiOiJzb2xhbmE6NWV5a3Q0VXNGdjhQOE5KZFRSRXBZMXZ6cUtxWkt2ZHAiLCJhbW91bnQiOiI0NTAwIiwiYXNzZXQiOiJFUGpGV2RkNUF1ZnFTU3FlT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HRwIn0sIm1ldGhvZCI6eyJjb25zdCI6IkdFVCJ9LCJxdWVyeVBhcmFtcyI6eyJ0eXBlIjoib2JqZWN0IiwicHJvcGVydGllcyI6eyJ0aXRsZSI6eyJ0eXBlIjoiaW50ZWdlciIsIm1pbmltdW0iOjEsIm1heGltdW0iOjU0LCJkZXNjcmlwdGlvbiI6IlVTQyB0aXRsZSBudW1iZXIsIDEtNTQgKGUuZy4gMTcgZm9yIENvcHlyaWdodHMsIDI2IGZvciBJbnRlcm5hbCBSZXZlbnVlIENvZGUsIDQyIGZvciBQdWJsaWMgSGVhbHRoIGFuZCBXZWxmYXJlKS4ifSwic2VjdGlvbiI6eyJ0eXBlIjoic3RyaW5nIiwiZGVzY3JpcHRpb24iOiJTZWN0aW9uIG51bWJlciwgZS5nLiBcIjEwN1wiLCBcIjc4alwiLCBvciBcIjEzOTV3LTRcIi4ifSwiaW5jbHVkZU5vdGVzIjp7ImFueU9mIjpbeyJ0eXBlIjoiYm9vbGVhbiJ9LHsidHlwZSI6InN0cmluZyJ9XSwiZGVzY3JpcHRpb24iOiJJbmNsdWRlIGVkaXRvcmlhbCBub3RlcyAoYW1lbmRtZW50IGhpc3RvcnksIGVmZmVjdGl2ZSBkYXRlcywgY3Jvc3MtcmVmZXJlbmNlcykuIERlZmF1bHQgZmFsc2Ug4oCUIG5vdGVzIGNhbiBiZSBsb25nLiJ9fSwicmVxdWlyZWQiOlsidGl0bGUiLCJzZWN0aW9uIl0sImFkZGl0aW9uYWxQcm9wZXJ0aWVzIjpmYWxzZX19LCJyZXF1aXJlZCI6WyJ0eXBlIiwibWV0aG9kIiwicXVlcnlQYXJhbXMiXX19LCJyZXF1aXJlZCI6WyJpbnB1dCJdfX19fQ==",
  "permissions-policy": "geolocation=(), camera=(), microphone=()",
  "referrer-policy": "no-referrer",
  "server": "Vercel",
  "strict-transport-security": "max-age=63072000; includeSubDomains; preload",
  "transfer-encoding": "chunked",
  "x-content-type-options": "nosniff",
  "x-frame-options": "DENY",
  "x-matched-path": "/api/law/usc-section",
  "x-payment-requirements": "x402",
  "x-vercel-cache": "MISS",
  "x-vercel-id": "iad1::iad1::slrmc-1786572002535-fc6d2dcd92c8"
}

Response body

{
  "accepts": [
    {
      "amount": "4500",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxTimeoutSeconds": 60,
      "network": "eip155:8453",
      "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
      "scheme": "exact"
    },
    {
      "amount": "4500",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88",
        "name": "USDC",
        "version": "1"
      },
      "maxTimeoutSeconds": 60,
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "scheme": "exact"
    }
  ],
  "error": "PAYMENT-SIGNATURE required",
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "includeNotes": false,
            "section": "12345678",
            "title": 1
          },
          "type": "http"
        },
        "output": {
          "example": {
            "items": [
              {
                "citation": "example",
                "context": "example",
                "edition": "example",
                "heading": "example",
                "notes": "example",
                "section": "example",
                "sourceCredit": "example",
                "text": "example",
                "title": 1,
                "truncated": false,
                "url": "example"
              }
            ],
            "ok": true,
            "source": {
              "license": "example",
              "provider": "example",
              "url": "example"
            },
            "total": 1
          },
          "schema": {
            "additionalProperties": false,
            "properties": {
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "citation": {
                      "description": "Canonical citation, e.g. \"17 U.S.C. § 107\".",
                      "type": "string"
                    },
                    "context": {
                      "description": "Hierarchy breadcrumb (title › chapter › …).",
                      "nullable": true,
                      "type": "string"
                    },
                    "edition": {
                      "description": "USC edition served (\"prelim\" = current law).",
                      "type": "string"
                    },
                    "heading": {
                      "description": "Official section heading.",
                      "type": "string"
                    },
                    "notes": {
                      "description": "Editorial notes, only when includeNotes=true.",
                      "nullable": true,
                      "type": "string"
                    },
                    "section": {
                      "description": "Section number as requested.",
                      "type": "string"
                    },
                    "sourceCredit": {
                      "description": "Statutes-at-Large credit (enactment + amendment cites).",
                      "nullable": true,
                      "type": "string"
                    },
                    "text": {
                      "description": "Plain-text statutory body (no editorial notes).",
                      "type": "string"
                    },
                    "title": {
                      "description": "USC title number.",
                      "type": "integer"
                    },
                    "truncated": {
                      "description": "True if a block was cut at the response cap (rare).",
                      "type": "boolean"
                    },
                    "url": {
                      "description": "Official uscode.house.gov page for the section.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "citation",
                    "title",
                    "section",
                    "heading",
                    "context",
                    "text",
                    "sourceCredit",
                    "notes",
                    "truncated",
                    "edition",
                    "url"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "ok": {
                "enum": [
                  true
                ],
                "type": "boolean"
              },
              "source": {
                "additionalProperties": false,
                "properties": {
                  "license": {
                    "type": "string"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "provider",
                  "url",
                  "license"
                ],
                "type": "object"
              },
              "total": {
                "description": "Total matching rows upstream; null when unknown.",
                "nullable": true,
                "type": "integer"
              }
            },
            "required": [
              "ok",
              "items",
              "total",
              "source"
            ],
            "type": "object"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "const": "GET"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "includeNotes": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "string"
                      }
                    ],
                    "description": "Include editorial notes (amendment history, effective dates, cross-references). Default false — notes can be long."
                  },
                  "section": {
                    "description": "Section number, e.g. \"107\", \"78j\", or \"1395w-4\".",
                    "type": "string"
                  },
                  "title": {
                    "description": "USC title number, 1-54 (e.g. 17 for Copyrights, 26 for Internal Revenue Code, 42 for Public Health and Welfare).",
                    "maximum": 54,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "title",
                  "section"
                ],
                "type": "object"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "citation": {
                      "description": "Canonical citation, e.g. \"17 U.S.C. § 107\".",
                      "type": "string"
                    },
                    "context": {
                      "description": "Hierarchy breadcrumb (title › chapter › …).",
                      "nullable": true,
                      "type": "string"
                    },
                    "edition": {
                      "description": "USC edition served (\"prelim\" = current law).",
                      "type": "string"
                    },
                    "heading": {
                      "description": "Official section heading.",
                      "type": "string"
                    },
                    "notes": {
                      "description": "Editorial notes, only when includeNotes=true.",
                      "nullable": true,
                      "type": "string"
                    },
                    "section": {
                      "description": "Section number as requested.",
                      "type": "string"
                    },
                    "sourceCredit": {
                      "description": "Statutes-at-Large credit (enactment + amendment cites).",
                      "nullable": true,
                      "type": "string"
                    },
                    "text": {
                      "description": "Plain-text statutory body (no editorial notes).",
                      "type": "string"
                    },
                    "title": {
                      "description": "USC title number.",
                      "type": "integer"
                    },
                    "truncated": {
                      "description": "True if a block was cut at the response cap (rare).",
                      "type": "boolean"
                    },
                    "url": {
                      "description": "Official uscode.house.gov page for the section.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "citation",
                    "title",
                    "section",
                    "heading",
                    "context",
                    "text",
                    "sourceCredit",
                    "notes",
                    "truncated",
                    "edition",
                    "url"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "ok": {
                "enum": [
                  true
                ],
                "type": "boolean"
              },
              "source": {
                "additionalProperties": false,
                "properties": {
                  "license": {
                    "type": "string"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "provider",
                  "url",
                  "license"
                ],
                "type": "object"
              },
              "total": {
                "description": "Total matching rows upstream; null when unknown.",
                "nullable": true,
                "type": "integer"
              }
            },
            "required": [
              "ok",
              "items",
              "total",
              "source"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "resource": {
    "description": "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.",
    "iconUrl": "https://2s.io/icon-512.png",
    "mimeType": "application/json",
    "serviceName": "2s",
    "tags": [
      "public-records",
      "identifiers",
      "ai-agents",
      "us-gov-data",
      "x402",
      "upto-billing",
      "ai-gateway",
      "agent-infrastructure"
    ],
    "url": "https://2s.io/api/law/usc-section"
  },
  "x402Version": 2
}

Request headers

{
  "accept": "*/*",
  "user-agent": "Fetch402Bot/0.1 (+https://fetch402.com/crawler; contact: crawler@fetch402.com)"
}

Machine contract

Schemas.

InputJSON
{
  "method": "GET",
  "queryParams": {
    "includeNotes": false,
    "section": "12345678",
    "title": 1
  },
  "type": "http"
}
OutputJSON
{}