{"uid":"cap_6WnGd-Znrm__nq5fI6cSR","slug":"2s-law-opinion-lookup-635b0245","name":"2s Law Opinion Lookup","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/law/opinion","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"citation":{"type":"string","maxLength":500,"minLength":2},"opinionId":{"type":"integer","minimum":0,"exclusiveMinimum":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0048","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.0048/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GPNNNuxN159s0I8QkOmV8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves court opinion records by citation string or numeric opinion ID from a legal database","exampleAgentPrompt":"Can you pull up the court opinion for citation '410 U.S. 113' — I need the full opinion record including the source and license info.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok:true, a meta block echoing the query parameters, an items array of matching opinion records (with arbitrary fields), a nullable total count of matching rows, and a source object identifying the upstream provider, URL, and license.","failureModes":["No matching opinion found returns empty items array with total null or 0","Invalid citation format or missing both citation and opinionId may result in error or empty result","opinionId of 0 is excluded (exclusiveMinimum:true), submitting 0 may cause validation error","Upstream legal data provider unavailable returns non-ok response","Payment failure via x402 blocks request before reaching the API"],"whenToPreferThis":"Use this endpoint when you need to retrieve a specific court opinion by its citation string (e.g. '410 U.S. 113') or a known numeric opinion ID, and want a pay-per-call approach with no API key or subscription. Prefer this over subscription legal databases when cost-per-call is preferable to monthly fees, or when integrating into an agent pipeline that needs on-demand legal lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:00:00.372Z","isFirstParty":false}