{"uid":"cap_kYIq2uSR28kkteZzHRdNO","slug":"zeroclick-x402-service-registry-search-hacker-news-a69cf22c","name":"Search Hacker News","description":"Search Hacker News stories and discussions via the Algolia API (free, no key needed). Input: search query with optional days/limit. Output: stories with engagement metrics and scores.","url":"https://hn.withzero.ai/run?utm_source=zero.xyz","method":"POST","headers":{"X-ZAM-Access-Key":"zeroclick"},"bodySchema":{"type":"object","required":["query"],"properties":{"days":{"type":"integer","default":30,"maximum":90,"minimum":1,"description":"How many days back to search (default: 30)"},"limit":{"type":"integer","default":20,"maximum":50,"minimum":1,"description":"Maximum results to return (default: 20)"},"query":{"type":"string","description":"Search topic or keywords"}},"additionalProperties":false},"responseSchema":{"type":"object","required":["query","source","resultCount","results"],"properties":{"query":{"type":"string","description":"The query that was searched"},"source":{"type":"string","description":"Platform name"},"results":{"type":"array","items":{"type":"object","required":["title","url","author","date","score","engagement","snippet"],"properties":{"url":{"type":"string","description":"Direct link to HN discussion"},"date":{"type":"string","description":"Publication date (ISO 8601)"},"score":{"type":"number","description":"Combined relevance + engagement score (0-100)"},"title":{"type":"string","description":"Story title"},"author":{"type":"string","description":"HN username"},"snippet":{"type":"string","description":"Original article URL or story type"},"engagement":{"type":"object","properties":{"likes":{"type":"number","description":"HN points"},"comments":{"type":"number","description":"Comment count"}},"description":"Engagement metrics","additionalProperties":false}},"additionalProperties":false}},"resultCount":{"type":"number","description":"Number of results returned"}},"additionalProperties":false},"example":{"request":{"days":30,"limit":20,"query":"artificial intelligence"},"response":{"query":"artificial intelligence","source":"Hacker News","results":[{"url":"https://news.ycombinator.com/item?id=48387270","date":"2026-06-03T17:51:37.000Z","score":96,"title":"Artificial intelligence is not conscious – Ted Chiang","author":"lordleft","snippet":"https://www.theatlantic.com/philosophy/2026/06/no-artificial-intelligence-is-not-conscious/687378/","engagement":{"likes":789,"comments":1376}},{"url":"https://news.ycombinator.com/item?id=48380670","date":"2026-06-03T06:33:27.000Z","score":85,"title":"Leiden Declaration on Artificial Intelligence and Mathematics","author":"zvr","snippet":"https://leidendeclaration.ai/","engagement":{"likes":142,"comments":80}},{"url":"https://news.ycombinator.com/item?id=48372578","date":"2026-06-02T16:36:50.000Z","score":77,"title":"Promoting Advanced Artificial Intelligence Innovation and Security","author":"artninja1988","snippet":"https://www.whitehouse.gov/presidential-actions/2026/06/promoting-advanced-artificial-intelligence-innovation-and-security/","engagement":{"likes":34,"comments":7}},{"url":"https://news.ycombinator.com/item?id=48407411","date":"2026-06-05T02:56:40.000Z","score":76,"title":"'World-first' vaccine designed by artificial intelligence","author":"sizzle","snippet":"https://www.bbc.com/news/articles/crrpggegwe0o","engagement":{"likes":14,"comments":3}},{"url":"https://news.ycombinator.com/item?id=48402586","date":"2026-06-04T18:23:38.000Z","score":73,"title":"PM Carney launches Canada's new national artificial intelligence strategy","author":"manesioz","snippet":"https://www.pm.gc.ca/en/news/news-releases/2026/06/04/prime-minister-carney-launches-ai-all-canadas-new-national-artificial","engagement":{"likes":7,"comments":1}},{"url":"https://news.ycombinator.com/item?id=48444520","date":"2026-06-08T12:32:51.000Z","score":73,"title":"The Artificial Intelligence Revolution (2015)","author":"chr15m","snippet":"https://waitbutwhy.com/2015/01/artificial-intelligence-revolution-1.html","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48439389","date":"2026-06-07T22:45:50.000Z","score":72,"title":"Will artificial intelligence soon escape human control?","author":"andsoitis","snippet":"https://www.economist.com/science-and-technology/2026/06/07/will-artificial-intelligence-soon-escape-human-control","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48371771","date":"2026-06-02T15:44:49.000Z","score":71,"title":"Leiden Declaration on Artificial Intelligence and Mathematics","author":"uamuamuam","snippet":"https://leidendeclaration.ai/","engagement":{"likes":11,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48410810","date":"2026-06-05T11:11:07.000Z","score":71,"title":"'World-first' vaccine designed by artificial intelligence","author":"voisin","snippet":"https://www.bbc.com/news/articles/crrpggegwe0o","engagement":{"likes":5,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48401218","date":"2026-06-04T16:45:38.000Z","score":71,"title":"Overview of Canada's National Artificial Intelligence Strategy: AI for All","author":"BiraIgnacio","snippet":"https://ised-isde.canada.ca/site/ised/en/artificial-intelligence-ecosystem/overview-canadas-national-artificial-intelligence-strategy","engagement":{"likes":3,"comments":1}},{"url":"https://news.ycombinator.com/item?id=48361026","date":"2026-06-01T18:51:34.000Z","score":70,"title":"Part 161. Use of Artificial Intelligence Technology","author":"dsubburam","snippet":"https://www.nycourts.gov/rules/part-161-use-artificial-intelligence-technology","engagement":{"likes":4,"comments":3}},{"url":"https://news.ycombinator.com/item?id=48403926","date":"2026-06-04T20:06:46.000Z","score":70,"title":"Canada's National Artificial Intelligence Strategy: AI for All","author":"Teever","snippet":"https://ised-isde.canada.ca/site/ised/en/canadas-national-artificial-intelligence-strategy-ai-all","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48369087","date":"2026-06-02T11:59:54.000Z","score":68,"title":"Artificial Intelligence for Software Engineering: From Probable to Provable","author":"gregnavis","snippet":"https://cacm.acm.org/opinion/artificial-intelligence-for-software-engineering-from-probable-to-provable/","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48325682","date":"2026-05-29T16:42:50.000Z","score":65,"title":"Artificial Intelligence for Software Engineering: From Probable to Provable","author":"yarapavan","snippet":"https://cacm.acm.org/opinion/artificial-intelligence-for-software-engineering-from-probable-to-provable/","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48274453","date":"2026-05-26T02:55:09.000Z","score":63,"title":"Artificial Intelligence Floods Court Dockets with Home-Brewed Lawsuits","author":"jrmg","snippet":"https://www.nytimes.com/2026/05/25/us/politics/artificial-intelliegence-courts.html","engagement":{"likes":3,"comments":1}},{"url":"https://news.ycombinator.com/item?id=48304882","date":"2026-05-28T05:19:47.000Z","score":63,"title":"UC Berkeley Law Artificial Intelligence Policy","author":"fbrusch","snippet":"https://www.law.berkeley.edu/academics/registrar/academic-rules/artificial-intelligence-policy/","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48269257","date":"2026-05-25T17:21:05.000Z","score":62,"title":"Artificial Intelligence Floods Court Dockets with Home-Brewed Lawsuits","author":"mikhael","snippet":"https://www.nytimes.com/2026/05/25/us/politics/artificial-intelliegence-courts.html","engagement":{"likes":4,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48173173","date":"2026-05-17T21:03:02.000Z","score":55,"title":"Artificial Intelligence and Grade Inflation","author":"ChrisArchitect","snippet":"https://cshe.berkeley.edu/publications/artificial-intelligence-and-grade-inflation-cshe-higher-education-working-paper-series","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48136526","date":"2026-05-14T15:07:37.000Z","score":52,"title":"S.4214 – Artificial Intelligence Data Center Moratorium Act","author":"ridiculous_leke","snippet":"https://www.congress.gov/bill/119th-congress/senate-bill/4214/text","engagement":{"likes":3,"comments":0}},{"url":"https://news.ycombinator.com/item?id=48403614","date":"2026-06-04T19:39:19.000Z","score":36,"title":"Ask HN: High school student – is learning programming still worthwhile?","author":"Lucaslii","snippet":"Ask HN / Show HN","engagement":{"likes":19,"comments":42}}],"resultCount":20}},"exampleRequest":{"days":30,"limit":20,"query":"artificial intelligence"},"tags":["search","hackernews","hn","tech","news","discussion"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H8rjWuwx70QGR8BO2EeQO","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"search-hackernews:1"}],"brandName":"ZeroClick x402 Service Registry","brandSlug":"zeroclick-x402-service-registry","brandBaseUrl":"https://withzero.ai","brandDocsUrl":null,"whatItDoes":"Search Hacker News stories and discussions via the Algolia API, returning titles, engagement metrics, and relevance scores.","exampleAgentPrompt":"Search Hacker News for discussions about Rust programming language from the last 14 days and show me the top 10 results with their scores and comment counts.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the original query, source platform name, total result count, and an array of up to 50 stories. Each story includes title, direct HN discussion URL, author username, ISO 8601 publication date, a combined relevance+engagement score (0-100), original article URL as snippet, and engagement metrics (HN points and comment count).","failureModes":["Empty results if query matches no recent stories within the specified time window","Algolia upstream outage returns an error or empty response","Invalid parameter types (e.g. non-integer limit) return a validation error","days value outside 1-90 range rejected with schema validation error","limit value outside 1-50 range rejected with schema validation error"],"whenToPreferThis":"Choose this endpoint when you need to surface what the Hacker News tech community is currently discussing about a topic — especially useful for gauging developer sentiment, finding high-signal tech news, or tracking startup/company mentions among technical audiences. Prefer over generic web search when you specifically want HN-curated content with community engagement signals (points and comments).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-05-06T18:51:11.764Z","lastSuccessfullyRanAt":"2026-05-06T18:51:11.764Z","lastHealthCheckAt":"2026-10-11T04:29:45.496Z","isFirstParty":true,"canonicalSlug":"zeroclick-x402-service-registry-search-hacker-news-a69cf22c"}