# AgentToll Court Opinions Search

> AgentToll Court Opinions Search is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Search and retrieve recent court opinions from federal and state courts by keyword query and court name

## Facts

- Endpoint: POST https://agenttoll.dev/paid/legal/court-opinions
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-court-opinions-search-e7093201
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-VybiLs4amPc0OnLDMRHx

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 agenttoll-court-opinions-search-e7093201 -d '<json body>'
```

Example prompt: Search for recent court opinions from the 9th Circuit mentioning 'cryptocurrency securities fraud' over the last 30 days and give me a summary of what's come up.

## When to prefer this

Use this endpoint when you need to search recent court opinions by keyword across specific courts without maintaining your own legal database subscription. Ideal for agents doing legal research, monitoring regulatory developments, or tracking case law trends on a pay-per-call basis without a recurring plan. Prefer over full legal research platforms (Westlaw, LexisNexis) when cost-per-query matters and you only need keyword-matched recent opinions.

## Known failure modes

- Invalid or unrecognized court name returns empty results or error
- Query too broad may return large unmanageable result sets
- days_back value too large may exceed data availability
- Payment failure via x402 prevents access
- Cached results may not reflect opinions issued in the last few hours
- Source data unavailable or rate-limited returns partial or empty data

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns an array or object of court opinions matching the query, including metadata such as total result count, data source attribution, and generation timestamp. The `success` boolean indicates whether the query completed, and `cached` indicates if results are from a cache layer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "court": {
   "type": "string"
  },
  "query": {
   "type": "string"
  },
  "days_back": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "oneOf": [
    {
     "type": "array"
    },
    {
     "type": "object"
    }
   ]
  },
  "meta": {
   "type": "object",
   "properties": {
    "count": {
     "type": "integer"
    },
    "source": {
     "type": "string"
    },
    "generated_at": {
     "type": "string",
     "format": "date-time"
    }
   }
  },
  "cached": {
   "type": "boolean"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-court-opinions-search-e7093201/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
