# 2s Law Case Verify

> 2s Law Case Verify is a paid API for AI agents from 2s.io, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Verifies legal case citations found in a block of text, returning structured metadata about each case and whether it is confirmed or unconfirmed

## Facts

- Endpoint: POST https://2s.io/api/law/case-verify
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-law-case-verify-72595b14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ywT2JIc8GmYLPYXxNTK0Z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-law-case-verify-72595b14 -d '<json body>'
```

Example prompt: Can you check this legal brief for me and verify which case citations are real? Here's the text: 'In Smith v. Jones, 123 U.S. 456 (1999), the court held... see also Doe v. Roe, 789 F.2d 101 (5th Cir. 2003)...'

## When to prefer this

Use this endpoint when you need to programmatically verify that legal case citations embedded in a block of text are real and confirmed in an authoritative database, especially in automated legal document review, contract auditing, or brief validation workflows. Prefer this over manual search when processing large documents with many citations at once.

## Known failure modes

- Text too short (minLength:1 not met) — validation error
- Text exceeds 30,000 character limit — request rejected
- No recognizable case citations found in text — empty items array returned
- Upstream case database unavailable — possible 5xx or degraded response
- Payment not included or insufficient — 402 Payment Required

## How this service works

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.

## Output

A JSON object with an array of case items (each with case metadata and verification status), a count of verified vs unverified citations, total matching rows upstream, and source provenance (provider name, URL, license).

## Example request

```json
{
 "text": "In Smith v. Jones, 123 U.S. 456 (1999), the court held that statutory interpretation requires careful analysis of legislative intent. See also Doe v. Roe, 789 F.2d 101 (5th Cir. 2003), which clarified the standard for summary judgment motions."
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 30000,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "ok",
   "items",
   "total",
   "source"
  ],
  "properties": {
   "ok": {
    "enum": [
     true
    ],
    "type": "boolean"
   },
   "meta": {
    "type": "object",
    "required": [
     "input",
     "verified",
     "unverified"
    ],
    "properties": {
     "input": {
      "type": "string",
      "description": "Echo of the checked text (truncated past 200 chars)."
     },
     "verified": {
      "type": "integer"
     },
     "unverified": {
      "type": "integer"
     }
    },
    "additionalProperties": false
   },
   "items": {
    "type": "array",
    "items": {
     "type": "object",
     "additionalProperties": {}
    }
   },
   "total": {
    "type": "integer",
    "nullable": true,
    "description": "Total matching rows upstream; null when unknown."
   },
   "source": {
    "type": "object",
    "required": [
     "provider",
     "url",
     "license"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "license": {
      "type": "string"
     },
     "provider": {
      "type": "string"
     }
    },
    "additionalProperties": false
   }
  },
  "additionalProperties": false
 },
 "example": {
  "ok": true,
  "meta": {
   "input": "example",
   "verified": 1,
   "unverified": 1
  },
  "items": [
   {}
  ],
  "total": 1,
  "source": {
   "url": "example",
   "license": "example",
   "provider": "example"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-law-case-verify-72595b14/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
