{"uid":"cap_Vv3h3hVBfYbGUfdwkStEq","slug":"aayat-ai-open-search-5a480fe0","name":"Aayat AI Open Search","description":"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","url":"https://aayatai.com/search/open?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5QRb9vUfdc2o13pgPw-2-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"Search across Wikipedia, Hacker News, Stack Overflow, and DuckDuckGo for 'Cloudflare Workers' and give me the top 10 results with titles, links, and snippets.","exampleUseCases":[{"title":"Programming question quick lookup","prompt":"Search for 'how to handle CORS in Express.js' and pull back up to 15 results from Stack Overflow, Wikipedia, and Hacker News so I can see what the community recommends."},{"title":"Tech topic background research","prompt":"Can you search for 'WebAssembly' across free sources like Wikipedia and Hacker News and return up to 20 results? I want titles, links, and a brief snippet for each."},{"title":"Factual question answering","prompt":"Look up 'HTTP 402 Payment Required' using the open search — Wikipedia and DuckDuckGo instant answers should cover it — and give me the top 5 results."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:45:54.347Z","isFirstParty":false,"canonicalSlug":"aayat-ai-open-search-5a480fe0"}