{"uid":"cap_JDnYjFO-PepJd8DaHAQPT","slug":"lexrails-u-s-code-citation-validator-99b57d7a","name":"LexRails U.S. Code Citation Validator","description":"Validate a U.S. Code citation structurally (title exists, not reserved, section well-formed).","url":"https://lex.chainverdict.xyz/v1/uscode/validate","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":["title"],"properties":{"title":{"type":"string","description":"U.S. Code title number (1-54)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","additionalProperties":true}}}}},"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_TcQO8K91paITO8e2pvaJz","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":"Validates whether a given U.S. Code citation (title and optional section) is real and properly formed, returning a boolean result with an attestation object.","exampleAgentPrompt":"Can you check whether U.S. Code Title 42, Section 1983 is a real, valid citation — I need to make sure it actually exists before I include it in this legal brief.","exampleUseCases":[{"title":"AI legal brief citation audit","prompt":"I used an AI to draft a legal memo and it cited 18 U.S.C. § 1030 — can you verify that citation is real and not hallucinated before I file this?"},{"title":"LegalTech chatbot guardrail","prompt":"Before my legal chatbot sends this answer to the user, check whether the statute it cited — Title 15, Section 78j — actually exists in the U.S. Code."},{"title":"Compliance tool reference check","prompt":"My compliance report references U.S. Code Title 26, Section 501 — please confirm that's a valid statutory citation so we can be confident it won't embarrass us."}],"resultDescription":"Returns a JSON object with a 'valid' boolean indicating whether the cited U.S. Code title/section exists and is properly formed, plus an '_attestation' object providing a cryptographic or structured proof of the check result for auditability.","failureModes":["Missing required 'title' parameter returns validation error","Malformed title or section strings may return valid:false without further detail","Payment failure via x402 (insufficient USDC balance) blocks the call entirely","Network or upstream lookup failure may return a 5xx error","Ambiguous or partial section strings may yield inconclusive results"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, per-call check on whether a specific U.S. Code citation actually exists — especially in agentic legal workflows where LLM hallucination of statutory references is a risk. It is particularly valuable when you need an attestation object for audit trails. Prefer it over general-purpose LLM self-checks, which are probabilistic, or full legal database subscriptions when you only need existence validation rather than full text retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:32:09.077Z","isFirstParty":false}