{"uid":"cap_RjTfInIjjFm1dr07_0IIH","slug":"aayat-ai-news-search-8271cb35","name":"Aayat AI News Search","description":"Research any topic across Hacker News, Reddit, worldwide news sites (GDELT) and major outlets' headlines in one call: recent stories merged, de-duplicated and sorted newest first, with links, discussion threads, points, comment counts and outlets. Pass ?q=topic&days=7. For an AI-written summary with citations use /news/brief. No API keys needed.","url":"https://aayatai.com/news?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":200,"minLength":2,"description":"Topic or search words, e.g. x402 payments."},"days":{"type":"integer","default":7,"maximum":30,"minimum":1,"description":"How many days back to search (1-30)."},"limit":{"type":"integer","default":30,"maximum":100,"minimum":1,"description":"Most items to return."},"detail":{"enum":["full","brief"],"type":"string","default":"full","description":"brief = key fields only (same price)"},"sources":{"type":"string","maxLength":30,"description":"Comma list of hn, rss (stored headlines from major outlets, Lobsters, Lemmy and DEV), and the slower live searches news (GDELT), lemmy and dev. Default: hn,rss."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["query","days","items","total","sources"],"properties":{"days":{"type":"integer"},"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"score":{"type":["integer","null"]},"title":{"type":"string"},"outlet":{"type":["string","null"]},"source":{"enum":["hackernews","lemmy","dev","news","rss"],"type":"string"},"snippet":{"type":["string","null"]},"comments":{"type":["integer","null"]},"publishedAt":{"type":["string","null"]},"discussionUrl":{"type":["string","null"]}}}},"query":{"type":"string"},"total":{"type":"integer"},"trust":{"type":"object","description":"Third-party text, cleaned: read trust.notice; removed = what we stripped."},"sources":{"type":"array","items":{"type":"object"},"description":"Which sources answered."}}}}}}},"responseSchema":{"type":"json","example":{"days":7,"items":[{"url":"https://x402.org","score":312,"title":"x402: an open payment protocol for the web","outlet":"x402.org","source":"hackernews","snippet":null,"comments":140,"publishedAt":"2026-09-27T10:15:00Z","discussionUrl":"https://news.ycombinator.com/item?id=1"}],"query":"x402 payments","total":1,"sources":[{"ok":true,"name":"hn","count":1},{"ok":true,"name":"reddit","count":0},{"ok":true,"name":"news","count":0}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HbPPdVUGO-IQ40RQATuYY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches and merges recent news stories from Hacker News, Reddit, GDELT, and major RSS outlets on any topic, returning de-duplicated results sorted newest-first with links, scores, and comment counts.","exampleAgentPrompt":"Search for news about 'open source LLMs' from the past 7 days across Hacker News and RSS feeds, and show me the top 20 results with links and comment counts.","exampleUseCases":[{"title":"Track developer buzz on new protocol","prompt":"Find me the latest Hacker News and Reddit discussions about the x402 payment protocol from the past 14 days — I want titles, links, scores, and how many comments each has."},{"title":"Monitor news coverage of a security incident","prompt":"Search for recent news about the CrowdStrike outage across all sources for the past 30 days — pull from GDELT and major outlets too, not just Hacker News."},{"title":"Research AI competitor announcements","prompt":"What have Hacker News and major tech news outlets been saying about Anthropic Claude in the last 3 days? Give me up to 50 results newest first."}],"resultDescription":"A JSON object containing the query string, the number of days searched, a total count of matched items, a sources array showing which sources responded and how many results each contributed, and an items array where each entry includes the article title, URL, source platform (hackernews/lemmy/dev/news/rss), outlet name, publication timestamp, HN or Reddit score, comment count, discussion thread URL, and an optional text snippet — all sorted newest first and de-duplicated.","failureModes":["Missing required 'q' parameter returns a 400 error","Query string under 2 or over 200 characters is rejected by schema validation","GDELT live search may time out or return fewer results when selected as a source","days value outside 1-30 range is rejected","Payment not sent or insufficient USDC triggers a 402 Payment Required response","Slow live sources (news, lemmy, dev) may increase latency significantly"],"whenToPreferThis":"Choose this endpoint when you need to aggregate developer and tech news across Hacker News, Reddit, GDELT, and major RSS outlets in a single call with deduplication and unified sorting — especially useful when you want community engagement signals (upvotes, comment counts, discussion links) alongside article metadata. Prefer it over single-source scrapers or generic search APIs when the query is tech/developer-oriented and freshness within the last 1-30 days matters. Use the companion /news/brief endpoint instead if you need an AI-written narrative summary with citations rather than a raw list.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:12:11.000Z","isFirstParty":false,"canonicalSlug":"aayat-ai-news-search-8271cb35"}