{"uid":"cap_y1SXGXG5T2SDRo5u_iVMi","slug":"hacker-news-search-via-algolia-f17be237","name":"Hacker News Search via Algolia","description":"Search Hacker News stories and comments by query, sorted by relevance or date (Algolia HN).","url":"https://api.24klabs.ai/api/v1/hn-search","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tags":{"type":"string"},"query":{"type":"string"}}},"responseSchema":{"type":"json","example":{"hits":[]}},"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_mgfTawzX_4pA9eAA50Rnf","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":"Search Hacker News stories and comments by query, sorted by relevance or date using the Algolia HN search index.","exampleAgentPrompt":"Search Hacker News for the most relevant stories and comments about 'large language models' and sort the results by relevance.","exampleUseCases":[{"title":"Tech sentiment research on a startup","prompt":"Search Hacker News for any stories or comments mentioning 'Notion AI' sorted by relevance so I can see what the dev community thinks of it."},{"title":"Latest HN discussion on a framework","prompt":"Find the most recent Hacker News posts about 'htmx' sorted by date — I want to see what people have been saying about it lately."},{"title":"Competitor mention monitoring","prompt":"Search Hacker News for stories and comments about 'Linear' sorted by relevance so I can understand how developers talk about this project management tool."}],"resultDescription":"Returns a list of matching Hacker News items (stories and/or comments) including titles, text snippets, author usernames, submission timestamps, upvote scores, and direct HN URLs, ordered by the specified sort criterion (relevance or date).","failureModes":["Empty results if query is too specific or niche with no HN coverage","Rate limiting or upstream Algolia API unavailability returning an error","Malformed or missing query parameter causing a validation error","Sort parameter with unsupported value returning an error","Stale results if Algolia index hasn't indexed very recent posts yet"],"whenToPreferThis":"Choose this endpoint when you need to search the Hacker News corpus specifically — covering tech-focused community discussions, stories, and comments — rather than general web search. It's ideal for gauging developer sentiment, finding technical debates, or discovering HN threads on a topic. Prefer it over generic search APIs when the Hacker News community perspective is specifically needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:15.956Z","isFirstParty":false}