# revert.wtf Error Catalog Search

> revert.wtf Error Catalog Search is a paid API for AI agents from revert.wtf, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Search the revert.wtf catalog of EVM/RPC/wallet/UserOperation/x402 error explanations and protocol-specific failure entries by keyword or query.

## Facts

- Endpoint: POST https://revert.wtf/api/x402/search
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/revert-wtf-error-catalog-search-79ac8f26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CG0aRpJYgyO6RRNCn3Cr9

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 revert-wtf-error-catalog-search-79ac8f26 -d '<json body>'
```

Example prompt: Search the revert.wtf error catalog for entries related to 'insufficient funds' and return the top 5 results.

## When to prefer this

Use this endpoint when you need to browse or discover multiple related error entries from the revert.wtf catalog by keyword or concept, rather than decoding a specific raw revert payload. It is best for exploratory searches across error types, building error reference tools, or finding all known entries for a protocol or error category.

## Known failure modes

- No matching entries found for the query — returns empty results list
- Query string missing — returns validation error
- Payment not provided or insufficient — returns 402 Payment Required
- Offset exceeds catalog size — returns empty results
- Rate limit exceeded — returns 429 Too Many Requests

## How this service works

Paid hosted bounded catalog search over revert.wtf error explanations and protocol-specific failure entries.

## Output

A paginated list of matching catalog entries from the revert.wtf error explanation database, each describing a specific EVM, RPC, wallet, UserOperation, or x402 failure scenario with explanations and protocol-specific context.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  },
  "query": {
   "type": "string"
  },
  "offset": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/revert-wtf-error-catalog-search-79ac8f26/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from revert.wtf](https://www.zero.xyz/host/revert.wtf/llms.txt)
