# Aayat AI Web Search

> Aayat AI Web Search is a paid API for AI agents from aayatai.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Performs a pay-per-call web search returning ranked results with URL, title, snippet, and publication date from multiple indices including Brave, Serper, Exa, and open sources.

## Facts

- Endpoint: GET https://aayatai.com/search?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-web-search-65d01116
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_25xsD9FaS2cJX2Ehb-HK9

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 aayat-ai-web-search-65d01116
```

Example prompt: Search the web for 'open banking regulations EU 2024' and give me the top 5 results with full detail.

## When to prefer this

Choose this endpoint when you need keywordless, no-account web search with pay-per-call micropayment billing in USDC, especially inside an autonomous agent that cannot manage API keys. Prefer it over dedicated news APIs when you need general web results from multiple indices simultaneously, and over free-tier search APIs when you need reliable access without rate-limit headaches at $0.003 per call.

## Known failure modes

- Missing required query parameter 'q' returns a validation error
- Query shorter than 2 characters or longer than 300 characters is rejected
- Payment not received or insufficient USDC causes 402 Payment Required response
- All upstream search providers unavailable returns an empty results array
- Rate limiting or provider quota exhaustion may reduce result quality or count

## How this service works

Live web search API for AI agents, open-sources tier: fresh results from Wikipedia, Hacker News, DuckDuckGo instant answers and Stack Overflow, merged, de-duplicated and ranked (title, URL, snippet, date). q is the search words; limit caps the results (default 10). Not a full-web index yet: it moves to full-web results (and price) when a premium index is connected; the provider field says which. ?q=...&limit=10

## Output

A JSON object containing the search query string, the provider that answered (brave, serper, exa, or open), an array of result objects (each with URL, title, source index name, snippet, and publishedAt timestamp), the count of results returned, the sources that were queried, and a searchedAt timestamp. A trust notice may also be included describing any third-party content that was cleaned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 300,
       "minLength": 2,
       "description": "What to search for."
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 20,
       "minimum": 1,
       "description": "Most results to return."
      },
      "detail": {
       "enum": [
        "full",
        "brief"
       ],
       "type": "string",
       "default": "full",
       "description": "brief = key fields only (same price)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "provider",
      "results",
      "count",
      "sources"
     ],
     "properties": {
      "count": {
       "type": "integer"
      },
      "query": {
       "type": "string"
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "source": {
          "type": "string",
          "description": "Which index found it."
         },
         "snippet": {
          "type": "string"
         },
         "publishedAt": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Which sources answered."
      },
      "provider": {
       "type": "string",
       "description": "brave, serper or exa (premium index) or open (free sources)."
      },
      "searchedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "query": "HTTP 402 payment required",
  "results": [
   {
    "url": "https://en.wikipedia.org/wiki/HTTP_402",
    "title": "HTTP 402",
    "source": "wikipedia",
    "snippet": "HTTP 402 Payment Required is a status code reserved for digital payment systems.",
    "publishedAt": "2026-09-01T10:00:00Z"
   }
  ],
  "sources": [
   {
    "ok": true,
    "name": "wikipedia",
    "count": 1
   }
  ],
  "provider": "open",
  "searchedAt": "2026-09-28T12:00:00.000Z"
 }
}
```

## More

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