# x402 tools – Statute Lookup

> x402 tools – Statute Lookup is a paid API for AI agents from x402-tools-production-2755.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Validates a single US statute citation, returning whether the section exists, is in force or repealed, its heading, full text, and official source link

## Facts

- Endpoint: GET https://x402-tools-production-2755.up.railway.app/tools/statute-lookup?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-statute-lookup-1549130b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5_JgHq6wmbHb3QhmynwC6

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 x402-tools-statute-lookup-1549130b
```

Example prompt: Can you check whether 42 U.S.C. § 1983 actually exists and is still in force, and give me its full text and official source link?

## When to prefer this

Use this endpoint when an agent needs to verify a single US statute citation before relying on it in legal reasoning, briefing, or document generation. Prefer this over general web search when you need structured confirmation (exists/repealed, heading, full text, official URL) rather than a narrative answer. Best for catching hallucinated, outdated, or misquoted statutory references in AI-generated legal content.

## Known failure modes

- Citation not found in the 48-state/DC/US Code dataset (section may not exist or citation format may be unrecognized)
- Ambiguous citation without a named state requires the 'state' parameter to disambiguate
- Live-check unavailable if the official state site is unreachable (no charge in that case)
- Malformed citation string causes parsing failure
- State not yet covered by the dataset returns a coverage error

## How this service works

Use to check one US statute citation before relying on it. Returns whether the section exists, is in force or repealed, its heading, full text and official source link. 48 states, DC and the US Code. Data: Open US Law v2026.08 (CC BY 4.0). Not legal advice.

## Output

Returns a structured response indicating whether the cited section exists in the dataset, whether it is currently in force or has been repealed, the section heading, full statutory text, and a link to the official source. For live-check enabled calls on supported states, also confirms against the official state site.

## Request schema (JSON Schema)

```json
{
 "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": [
      "cite"
     ],
     "properties": {
      "cite": {
       "type": "string",
       "description": "One citation, e.g. 'Tex. Fam. Code § 6.001', '42 U.S.C. § 1983', 'RCW 9A.32.030', 'Mass. Gen. Laws ch. 93A, § 9'"
      },
      "live": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "If the section isn't in the snapshot, confirm against the official state site (Minnesota so far; see /tools/statute-coverage). $0.006 only when a live check runs, else $0.003; not charged if the site can't answer"
      },
      "state": {
       "type": "string",
       "description": "Two-letter state (or 'us') for citations that don't name one, e.g. 'Penal Code § 187'"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-statute-lookup-1549130b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-tools-production-2755.up.railway.app](https://www.zero.xyz/host/x402-tools-production-2755.up.railway.app/llms.txt)
