# Coockies.ai Web Search

> Coockies.ai Web Search is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-15).

Performs a web search query and returns relevant results via a pay-per-call API on Base chain

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/web-search
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-web-search-c0f1f016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bz1_mHg1to1BcHEu3vtr3

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 coockies-ai-web-search-c0f1f016 -d '<json body>'
```

Example prompt: Search the web for the latest news about OpenAI's newest model releases and give me the top results.

## When to prefer this

Use this endpoint when you need live, current web search results and want to pay per call via crypto (USDC on Base) rather than subscribing to a traditional search API. Particularly useful for AI agents that need real-time web data without long-term API key commitments.

## Known failure modes

- Payment not received — 402 response requiring x402 payment on Base chain
- Invalid or missing query parameter — returns error
- Rate limiting or quota exceeded — returns 429 or error
- No results found for obscure queries — empty result set
- Service unavailability on Vercel infrastructure — 500 error

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a result object containing web search data including relevant pages, URLs, titles, and snippets matching the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coockies-ai-web-search-c0f1f016/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coockies-ai.vercel.app](https://www.zero.xyz/host/coockies-ai.vercel.app/llms.txt)
