{"uid":"cap_wjW4qJ54c6etxCe9SZk5o","slug":"fittings-us-public-private-law-lookup-13834d45","name":"fittings US Public/Private Law Lookup","description":"An enacted US public or private law by Congress and law number: official title, short titles, date signed, the US Code sections and Statutes at Large pages it touched, and optionally the enacted text.","url":"https://fittings.sh/v1/govinfo/public-law","method":"GET","headers":{},"bodySchema":{"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":["congress","law"],"properties":{"law":{"type":"number","description":"Law number within that Congress, 1-2000"},"type":{"type":"string","description":"'public' (default) or 'private'"},"congress":{"type":"number","description":"Congress number, 1-130, e.g. 118"},"maxChars":{"type":"number","description":"Characters of text to return, 1-200000, default 20000"},"includeText":{"type":"boolean","description":"Include the enacted text, default false"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DyGfkkr2y0-3sKHgJ-yhn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves metadata and optionally the enacted text for a US public or private law, identified by Congress number and law number, from the GovInfo database.","exampleAgentPrompt":"Look up Public Law 117-58 from the 117th Congress — give me its official title, short titles, date it was signed, and which US Code sections it touched.","exampleUseCases":[{"title":"Identify landmark legislation by number","prompt":"What is the official title and signing date of Public Law 117-58 from the 117th Congress? Also tell me which US Code sections it amended."},{"title":"Retrieve full enacted text of a law","prompt":"Fetch the full enacted text of Public Law 118-2 from the 118th Congress — up to 50,000 characters — so I can read exactly what was passed."},{"title":"Research a private law passed by Congress","prompt":"Look up Private Law 116-1 from the 116th Congress and give me its official title, the Statutes at Large pages, and the date it was signed."}],"resultDescription":"Returns the official title, short titles, date signed, US Code sections affected, Statutes at Large page citations, and optionally up to 200,000 characters of the enacted legislative text for the specified law.","failureModes":["Invalid congress number (outside 1-130) returns an error","Law number not found for the given congress returns a not-found error","Private law requested but type defaulted to public causes mismatch","maxChars exceeding 200000 or below 1 rejected as invalid","Network or upstream GovInfo API unavailability causes a timeout or 5xx error"],"whenToPreferThis":"Use this endpoint when you need authoritative metadata or the full enacted text of a specific US federal law identified by its Congress number and law number. Prefer this over general web search when you need structured data fields like US Code citations, Statutes at Large pages, or official titles with certainty and machine-readable output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:02.157Z","isFirstParty":false}