# Aayat AI Open Search

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

Searches Wikipedia, Hacker News, DuckDuckGo instant answers, and Stack Overflow in a single call, returning merged, de-duplicated, and ranked results with titles, links, snippets, and dates.

## Facts

- Endpoint: GET https://aayatai.com/search/open?utm_source=zero.xyz
- Price: $0.002/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-open-search-5a480fe0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vv3h3hVBfYbGUfdwkStEq

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-open-search-5a480fe0
```

Example prompt: Search across Wikipedia, Hacker News, Stack Overflow, and DuckDuckGo for 'Cloudflare Workers' and give me the top 10 results with titles, links, and snippets.

## When to prefer this

Choose this endpoint when you need a cheap, fast, multi-source search combining Wikipedia, Hacker News, DuckDuckGo, and Stack Overflow without paying for a premium index. Ideal for factual lookups, programming questions, and technology topics where slight staleness (up to 1 hour) is acceptable. Prefer it over premium search endpoints when cost is a priority at $0.002 per call. Avoid it when you need real-time news, non-English content, or deep web coverage beyond these four sources.

## Known failure modes

- Missing or too-short query parameter (q < 2 chars) returns a validation error
- No results found if all upstream sources return empty for the query
- Cached results may be stale by up to one hour for very recent events
- limit value out of range (outside 1–30) returns a validation error
- Upstream source timeouts may reduce the number of sources that respond

## How this service works

Web search API for AI agents, lowest-cost tier: Wikipedia articles, Hacker News stories, DuckDuckGo instant answers and Stack Overflow questions (quota permitting) in one call, merged, de-duplicated and ranked, with titles, links, snippets and dates. Good for facts and for tech news and discussion (Hacker News). q is the search words; limit caps results; detail=brief trims fields. ?q=cloudflare workers

## Output

A JSON object containing the original query string, provider identifier ('open'), a timestamp of when the search ran, the total count of results, a list of sources queried (with per-source counts), and an array of result objects each with a title, URL, source name, snippet text, and optional publishedAt date. Results may be up to one hour old due to caching.

## 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": 30,
       "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-open-search-5a480fe0/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)
