{"uid":"cap_vrjOHDv96veBdnPzpcFgo","slug":"agentdiet-hacker-news-top-stories-feed-3a258c11","name":"AgentDiet Hacker News Top Stories Feed","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/hackernews-top?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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"query":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"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_oUKo61S20AWg8X2JYSXsH","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 and returns a compressed, token-efficient summary of the current top stories from Hacker News via a paid micro-API.","exampleAgentPrompt":"Can you grab the current top stories from Hacker News and give me a compact summary — I need it to fit in my context window without wasting tokens?","exampleUseCases":[{"title":"Morning tech news briefing","prompt":"Pull today's top Hacker News stories and give me a quick digest of what's trending in the tech world this morning."},{"title":"AI agent context enrichment","prompt":"Before answering my question about the AI industry, grab the current Hacker News top posts so you have the latest context — keep it compressed so it fits your context window."},{"title":"Tech news monitoring for newsletter","prompt":"Fetch the current Hacker News front page stories so I can pick the most interesting ones to include in my weekly developer newsletter."}],"resultDescription":"Returns a JSON object with a 'data' field containing the top Hacker News stories in compressed form, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression ratio percentage (e.g. 91.4% compression), demonstrating token savings achieved by the distillation.","failureModes":["Payment not received or invalid USDC transaction — 402 Payment Required response","Upstream Hacker News API unavailable — may return empty data or error status","Rate limiting if too many requests in a short window","Malformed query parameter causes input validation failure","Network timeout to upstream HN source returns partial or null data"],"whenToPreferThis":"Choose this endpoint when your AI agent needs current Hacker News top stories but must conserve context window tokens — the built-in compression (claimed ~91% reduction) makes it far more efficient than scraping or calling the HN API directly and parsing raw output. Ideal for agents with tight context budgets or cost-sensitive pipelines. Prefer over raw HN API when token efficiency matters; skip if you need full uncompressed story metadata or comment data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:14.413Z","isFirstParty":false,"canonicalSlug":"agentdiet-hacker-news-top-stories-feed-3a258c11"}