How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

2s Law API

The law API from 2s — 12 operation(s) for law.

2s Law API is one of 114 APIs that 2s publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Law. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 12 operations across 12 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version 1.

Requests are made against a single base URL, https://2s.io.

12 operations 12 paths 3 schemas 8 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1
Base URL
https://2s.io/mcp
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

2s Law API declares 1 security scheme for authenticating requests. An API key is passed in the header as PAYMENT-SIGNATURE (x402Payment).

  • x402Payment — x402 protocol v2: base64-encoded PaymentPayload. Call any paid endpoint without auth to receive a 402 with a multi-network PaymentRequirements envelope. Sign f…

Paths & Operations 12

Across 12 paths, the API surfaces 12 operations — 8 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

law 12
GET
/api/law/attorney-lookup
Find US attorneys by name in CourtListener's RECAP corpus
law_attorney-lookup 4 params → 200400402405500502
GET
/api/law/case-search
Search US court opinions (SCOTUS, federal circuits, state
law_case-search 7 params → 200400402405500502
POST
/api/law/case-verify
Verify US legal case citations in a passage of text
law_case-verify 1 param body → 200400402405500502
GET
/api/law/cfr-section
Fetch the authoritative text of any section of the US Code
law_cfr-section 4 params → 200400402405500502
POST
/api/law/citation-check
Anti-hallucination checker for legal references - verify
law_citation-check 1 param body → 200400402405500502
GET
/api/law/docket-search
Search US federal court dockets - civil and criminal - from
law_docket-search 7 params → 200400402405500502
GET
/api/law/federal-register
Search the US Federal Register - proposed rules, final
law_federal-register 7 params → 200400402405500502
GET
/api/law/judge-lookup
Find US federal + state appellate judges by name in
law_judge-lookup 4 params → 200400402405500502
POST
/api/law/opinion
Fetch the full text of a US court opinion by CourtListener
law_opinion 1 param body → 200400402405500502
POST
/api/law/sanctions-check
Fuzzy-match a name (person, company, vessel, aircraft)
law_sanctions-check 1 param body → 200400402405500502
GET
/api/law/trademark-status
Verify a US trademark by USPTO serial number (8 digits) or
law_trademark-status 3 params → 200400402405500502
GET
/api/law/usc-section
Fetch the authoritative current text of any United States
law_usc-section 4 params → 200400402405500502

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are X402PaymentRequiredV2 (5 properties), Source (3 properties). Each schema is shown below with its type and property counts.

X402PaymentRequiredV2
object
x402 v2 PaymentRequired envelope. Pick any entry from accepts[], sign for that rail, retry with the PAYMENT-SIGNATURE header.
5 properties 2 required
Source
object
Provenance of the data: upstream provider, source URL, and license.
3 properties
CallMeta
object
Per-call meta envelope — endpoint id, cost, caller kind, settlement details.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

2s-io-law-api-openapi.yml Raw ↑

Other APIs 2s publishes across the network.

2s MCP Server
2s A2A Agent
2s Agent API
2s Agriculture API
2s AI API
2s Airport API
2s Aviation API
2s Bank API
2s Barcode API
2s Batch API
2s Bio API
2s Bls API
Where this information came from

This is an independent, third-party profile of 2s Law API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.