# The Stall — Legal Search (x402)

> The Stall — Legal Search (x402) is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Search US court opinions and legal documents by query, court level, and date range, paying per-call in USDC with no account required.

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/legal-search
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/the-stall-legal-search-x402-5a83fe03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8gVjAjvHeinclQiG3kNsZ

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 the-stall-legal-search-x402-5a83fe03
```

Example prompt: Search for up to 10 US court opinions about 'Fourth Amendment unreasonable search' — filter to appeals courts only and limit results to cases filed after 2015-01-01.

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call access to US court opinions without managing API keys or subscriptions. Ideal for agents that need to look up case law, verify legal citations, or research judicial opinions across federal courts including SCOTUS, circuit courts of appeal, and district courts. Prefer this over general web search when structured, filterable legal document results are required.

## Known failure modes

- Missing required 'query' parameter returns a validation error
- Invalid court ID (e.g. unrecognized string) may return empty results or an error
- Date format not in YYYY-MM-DD triggers a schema validation failure
- Limit exceeding 20 is clamped or rejected
- Payment failure in USDC/Base mainnet blocks the request with a 402 response
- Query returns 0 results if the topic is too niche or citation format is unrecognized

## How this service works

Searches 5M+ US court opinions (SCOTUS, federal circuits, district courts, state courts) via CourtListener. Returns case name, court, date, citation, docket number, and a text snippet. Filter by court level, date range, or judge name. Useful for legal research agents, contract risk analysis, precedent lookup, and regulatory compliance workflows.

## Output

A list of up to 20 court opinions matching the query, including case names, citations, court identifiers, filing dates, and relevant excerpts or metadata from the opinion text.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 5,
   "query": "contract formation"
  }
 }
}
```

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/the-stall-legal-search-x402-5a83fe03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
