# red-web-utils US Caselaw Search

> red-web-utils US Caselaw Search is a paid API for AI agents from red-web-utils.agent-tools-x402.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-04).

Searches US caselaw by keyword query and optional court filter, returning relevant legal case results.

## Facts

- Endpoint: POST https://red-web-utils.agent-tools-x402.workers.dev/api/caselaw/us?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/red-web-utils-us-caselaw-search-d964e0ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A1fGZSnweLYe_d4l6lRh9

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 red-web-utils-us-caselaw-search-d964e0ec -d '<json body>'
```

Example prompt: Search US caselaw for cases about 'qualified immunity' — filter to the Ninth Circuit if you can.

## When to prefer this

Use this endpoint when an AI agent needs to search US caselaw programmatically in a pay-per-call model, especially in agentic workflows where USDC micropayments via x402 are already integrated. Prefer this over manual legal research tools when the agent needs structured results without a subscription.

## Known failure modes

- Missing required 'q' parameter returns a validation error
- No matching cases found returns empty results
- Invalid court identifier may return an error or empty set
- Network or worker timeout for broad queries
- Payment failure via x402 prevents access to results

## How this service works

Pay-per-call web and onchain utilities for AI agents (MPP + x402, USDC on Base).

## Output

Returns a list of relevant US court cases matching the query, likely including case names, citations, court identifiers, and excerpts or summaries of legal opinions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "q"
 ],
 "properties": {
  "q": {
   "type": "string"
  },
  "court": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/red-web-utils-us-caselaw-search-d964e0ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from red-web-utils.agent-tools-x402.workers.dev](https://www.zero.xyz/host/red-web-utils.agent-tools-x402.workers.dev/llms.txt)
