{"uid":"cap_b9EeiqGOSinkSIAQHGNbN","slug":"agent-data-tools-revmesh2074-workers-dev-hacker-news-top-stories-66f93133","name":"Hacker News Top Stories","description":"Current top stories on Hacker News: title, link, points, comment count, author, age and discussion URL (official HN API). Use to follow what developers are discussing right now.","url":"https://agent-data-tools.revmesh2074.workers.dev/hackernews/top?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"count":{"type":"integer","description":"How many (1-20, default 10)"}}},"responseSchema":{"type":"object","properties":{"count":{"type":"number"},"stories":{"type":"array","items":{"type":"object","properties":{"by":{"type":"string"},"id":{"type":"number"},"url":{"type":"string"},"time":{"type":"string"},"title":{"type":"string"},"points":{"type":"number"},"comments":{"type":"number"},"discussion":{"type":"string"}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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_ZdUsVz_KpNhwV4YlXajSq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Fetches the current top stories from Hacker News, returning title, link, points, comment count, author, age, and discussion URL for up to 20 stories.","exampleAgentPrompt":"What are the top 15 stories on Hacker News right now? Give me the titles, links, points, and comment counts.","exampleUseCases":[{"title":"Daily developer news briefing","prompt":"Pull the top 10 Hacker News stories for me this morning — I want the titles, links, and how many points and comments each has."},{"title":"Monitor trending tech discussions","prompt":"Check what's trending on Hacker News right now and flag any stories with over 300 points so I can read them first."},{"title":"Curate newsletter content","prompt":"Grab the top 20 stories from Hacker News today — I need the titles, URLs, authors, and point counts to pick the best ones for my weekly tech newsletter."}],"resultDescription":"Returns a JSON object with a count field and a stories array. Each story object includes: title, url (link to the article), by (author username), time (ISO timestamp), points (upvote count), comments (number of comments), id (HN story ID), and discussion (link to the HN comments thread).","failureModes":["HN API unavailability causing upstream errors","count parameter outside 1-20 range may be clamped or return an error","Network timeout if HN API is slow","Empty stories array if HN API returns no data","Invalid count type (non-integer) may cause a 400 error"],"whenToPreferThis":"Use this endpoint when you need real-time Hacker News front-page data with structured fields (points, comments, author, discussion URL) in a single low-cost call. Prefer this over scraping HN directly or calling the raw Firebase HN API, which requires multiple sequential requests per story. Choose this over a general web search when the user specifically wants HN community sentiment or developer-focused trending content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T18:33:57.608Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-hacker-news-top-stories-66f93133"}