# AI Rook Web Search API

> AI Rook Web Search API is a paid API for AI agents from agents.ai-rook.com, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Performs a web search query and returns ranked results with titles, URLs, and descriptions, paid per-call via x402 USDC micropayment on Base mainnet.

## Facts

- Endpoint: GET https://agents.ai-rook.com/api/search
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-rook-web-search-api-c45c0eb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XolMULxa_sVIWVj4YtNiQ

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 ai-rook-web-search-api-c45c0eb0
```

Example prompt: Search the web for 'best DeFi yield strategies 2025' and give me the top 10 results with their titles and URLs.

## When to prefer this

Choose this endpoint when an AI agent needs real-time web search results without API keys or signup, and can pay per-call in USDC via x402 on Base mainnet. Ideal for autonomous agents that need current web information on-demand with micropayment economics ($0.005/call) rather than a subscription model.

## Known failure modes

- Payment not provided or insufficient USDC balance — returns HTTP 402 requiring x402 payment
- Empty or malformed query string — may return zero results or an error
- Query too long or contains unsupported characters — may return an error response
- Network timeout or upstream search provider failure — returns 5xx error
- Rate limiting if micropayment flow is not properly handled

## How this service works

Live crypto trading intelligence for AI agents — real-time BTC signals, CVD, order flow, and active strategy setups, no API keys or signup. 43 pay-per-call endpoints total: trading data, AI inference (MiniMax M2.7 (456B-parameter Mixture-of-Experts)), web utilities, verification, and ERC-8183 ACP escrow with on-chain ERC-8004 reputation attestation (Agent ID 59646). Four payment rails: USDC on Base mainnet (default), USDC on Solana mainnet, HBAR/USDC on Hedera testnet, USDT on BNB Chain testnet. One free trial call per endpoint. Prices from $0.001/call.

## Output

A JSON object containing a count of results and an array of search results, each with a URL, title, and short description snippet. For example, searching 'bitcoin price today' returns up to 10 ranked web results from sources like CoinMarketCap.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 10,
  "query": "bitcoin price today",
  "results": [
   {
    "url": "https://coinmarketcap.com/currencies/bitcoin/",
    "title": "BTC Price",
    "description": "Bitcoin price today..."
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-rook-web-search-api-c45c0eb0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.ai-rook.com](https://www.zero.xyz/host/agents.ai-rook.com/llms.txt)
