# red-web-utils Caselaw Search

> red-web-utils 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 returns relevant legal case results

## Facts

- Endpoint: POST https://red-web-utils.agent-tools-x402.workers.dev/api/caselaw/search?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-caselaw-search-2a9acdd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I7pFDmJYyzNi43b5R4ipq

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-caselaw-search-2a9acdd4 -d '<json body>'
```

Example prompt: Can you search caselaw for cases related to 'negligent misrepresentation in real estate transactions' so I can see what precedents exist?

## When to prefer this

Use this endpoint when an AI agent needs to quickly retrieve US caselaw references for a given legal topic without requiring a full legal research subscription. It is well-suited for lightweight, pay-per-call legal lookups in autonomous agent workflows where cost-per-query matters and integration with x402/USDC payment infrastructure is already in place.

## Known failure modes

- Missing required 'q' parameter returns a 400 or validation error
- Query returns empty results if no matching cases found
- Payment failure (402) if USDC on Base is not properly configured
- Overly broad queries may return low-relevance results
- Rate limiting or service unavailability on the upstream legal data provider

## How this service works

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

## Output

Returns a list of caselaw results matching the search query, likely including case names, citations, court levels, dates, and relevant excerpts or summaries from US court opinions.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/red-web-utils-caselaw-search-2a9acdd4/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)
