{"uid":"cap_VvkzQbbecSt97yjQssxPw","slug":"hacker-news-feed-search-0d5bd769","name":"Hacker News Feed & Search","description":"Hacker News feed. Top, new, and best front-page stories plus full-text story search — titles, scores, comment counts, and author for tech and startup news.","url":"https://api.kadec0.xyz/v1/hackernews","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","anyOf":[{"required":["q"]},{"required":["mode"],"properties":{"mode":{"enum":["top","new","best"]}}}],"required":[],"properties":{"q":{"type":"string","description":"query (mode=search)"},"mode":{"enum":["search","top","new","best"],"type":"string"},"maxItems":{"type":"string","default":"20"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_lrb_FD0JJZfaEVLQ59W9f","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":"Fetches top, new, or best front-page Hacker News stories, or searches full-text HN stories by keyword, returning titles, scores, comment counts, and authors.","exampleAgentPrompt":"Pull the top 15 Hacker News stories right now and show me their titles, scores, and comment counts.","exampleUseCases":[{"title":"Monitor trending tech discussions","prompt":"Check Hacker News for the newest posts about machine learning and tell me which ones are getting the most discussion."},{"title":"Find startup insights and debates","prompt":"Search Hacker News for articles about venture capital and show me the top-rated ones so I can see what the tech community thinks."},{"title":"Track emerging programming trends","prompt":"Get me the best Hacker News stories from today about Rust or Go programming languages, and show me how many people are commenting on each."}],"resultDescription":"A list of Hacker News stories (up to maxItems, default 20) with each story's title, score, comment count, author handle, and story URL, filtered by the requested mode (top/new/best) or matched by search query.","failureModes":["Invalid mode value returns an error — must be one of: top, new, best, search","Missing query parameter when mode=search results in an error or empty results","maxItems exceeds service limits and returns a capped result set","Upstream Hacker News API outage causes empty or error response","Payment failure (x402) returns 402 status with no data"],"whenToPreferThis":"Use this endpoint when you need Hacker News-specific content — curated front-page rankings (top/best/new) or keyword search across HN stories. Prefer over generic news APIs when the user specifically wants tech/startup community opinions, HN story metadata (score, comments), or content filtered by the HN community's curation signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:22.804Z","isFirstParty":false}