{"uid":"cap_lvdn0yWkqOyUo2XAxl0zn","slug":"2s-usc-section-lookup-103927cd","name":"2s USC Section Lookup","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.","url":"https://2s.io/api/law/usc-section","method":"GET","headers":{},"bodySchema":{"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}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"title":17,"section":"107","includeNotes":false}}},"response":{"data":{"ok":true,"items":[{"url":"https://uscode.house.gov/view.xhtml?req=granuleid:USC-prelim-title17-section107&num=0&edition=prelim","text":"Notwithstanding the provisions of sections 106 and 106A, the fair use of a copyrighted work, including such use by reproduction in copies or phonorecords or by any other means specified by that section, for purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright. In determining whether the use made of a work in any particular case is a fair use the factors to be considered shall include-\n(1) the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes;\n(2) the nature of the copyrighted work;\n(3) the amount and substantiality of the portion used in relation to the copyrighted work as a whole; and\n(4) the effect of the use upon the potential market for or value of the copyrighted work.\nThe fact that a work is unpublished shall not itself bar a finding of fair use if such finding is made upon consideration of all the above factors.","notes":null,"title":17,"context":"Title 17-COPYRIGHTSCHAPTER 1-SUBJECT MATTER AND SCOPE OF COPYRIGHT","edition":"prelim","heading":"Limitations on exclusive rights: Fair use","section":"107","citation":"17 U.S.C. § 107","truncated":false,"sourceCredit":"Pub. L. 94–553, title I, §101, Oct. 19, 1976, 90 Stat. 2546 ; Pub. L. 101–650, title VI, §607, Dec. 1, 1990, 104 Stat. 5132 ; Pub. L. 102–492, Oct. 24, 1992, 106 Stat. 3145 ."}],"total":1,"source":{"url":"https://uscode.house.gov/","license":"Public domain (US government work)","provider":"Office of the Law Revision Counsel, US House of Representatives (uscode.house.gov)"}},"meta":{"cost":{"usd":0.0018,"tier":0},"caller":"x402","version":null,"endpoint":"law.usc-section","settlement":{"txHash":"0x89b7f112bfafa06847acc708010d3529d47437d876ced7fe96dc1405c9a65ed1","network":"eip155:8453","success":true}}}},"exampleRequest":{"title":17,"section":"107","includeNotes":false},"tags":["x402"],"displayCostAmount":"0.0018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CtBMJnUmyLJ-n6be4SnrL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the full statutory text and metadata for a specific section of the United States Code by title and section number","exampleAgentPrompt":"Can you pull up the full text of 17 U.S.C. § 107 — the fair use provision — including any editorial notes?","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:37.902Z","isFirstParty":false}