{"uid":"cap_BhP_N1nuCiByOmn0rw6L_","slug":"agentdiet-hackernews-top-stories-distiller-c1aa1669","name":"AgentDiet HackerNews Top Stories Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.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_b0TMU3t9C09ZQzUBDEr61","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 compresses the top HackerNews stories into a token-efficient summary, reducing context window usage by ~91%","exampleAgentPrompt":"Pull the current top stories from HackerNews and give me a distilled, token-efficient summary — I want to see what's trending without burning through my context window.","exampleUseCases":[{"title":"Daily tech news briefing for agent","prompt":"Grab the top HackerNews stories right now and distill them down so I get the key headlines and links without wasting tokens — I want a quick briefing on what the tech community is talking about today."},{"title":"Filtered HackerNews trending search","prompt":"Fetch the top HackerNews posts and filter for anything related to AI — give me the compressed results so my context stays lean."},{"title":"Automated morning digest pipeline","prompt":"Every morning, pull the top HackerNews stories in a compressed format so my agent can include a tech digest in my daily summary without using up half my context window."}],"resultDescription":"Returns a JSON object with a 'data' field containing compressed top HackerNews stories, a 'status' field ('ok'), and a 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), confirming how much token reduction was achieved.","failureModes":["Payment not settled in USDC on Base — returns 402 Payment Required","HackerNews API upstream unavailable — may return error status","Malformed query parameter — ignored or returns unfiltered results","Network timeout fetching from HackerNews source"],"whenToPreferThis":"Use this endpoint when an AI agent needs to consume HackerNews top stories but must minimize context window token usage. It is especially valuable in long-running agent pipelines where token efficiency matters — the ~91% compression ratio makes it far superior to fetching raw HackerNews feeds directly. Prefer this over scraping HackerNews yourself when you need a clean, structured, pay-per-call result settled in USDC on Base via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:11.594Z","isFirstParty":false,"canonicalSlug":"agentdiet-hackernews-top-stories-distiller-c1aa1669"}