{"uid":"cap_rS8vGVjCHzqIC43YGo6Tf","slug":"agentdiet-mcp-gateway-hacker-news-top-stories-58248237","name":"AgentDiet MCP Gateway – Hacker News Top Stories","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.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_lQZoseyyf0Hu8ctCRYda8","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 the current top stories from Hacker News, returning a compressed summary of trending tech news via a pay-per-call x402 API.","exampleAgentPrompt":"What are the top stories on Hacker News right now? Pull the current front page and show me what's trending in tech today.","exampleUseCases":[{"title":"Daily tech news briefing for developers","prompt":"Pull the current top Hacker News stories and give me a quick rundown of what's trending in tech this morning."},{"title":"Startup and VC trend monitoring","prompt":"What are people talking about on Hacker News today? I want to see the top posts so I can spot any big startup or funding news."},{"title":"Research and content inspiration","prompt":"Fetch the top Hacker News stories right now — I'm looking for interesting tech topics to write about this week."}],"resultDescription":"Returns a JSON object with a 'data' field containing the top Hacker News stories and a 'status' field indicating success. Also includes an 'roi_proof' object with a compression_ratio_pct field (e.g. 91.4%), indicating how efficiently the data was compressed relative to the raw source.","failureModes":["Payment not settled in USDC on Base — returns 402 Payment Required","Hacker News API upstream unavailable — may return error or empty data","Invalid input schema (missing required 'type' or 'method' fields) — request rejected","Rate limiting or gateway overload — request may time out"],"whenToPreferThis":"Choose this endpoint when you need quick, pay-per-call access to Hacker News top stories without managing your own scraping infrastructure. It is especially useful for AI agents operating in x402/MCP ecosystems that settle micropayments in USDC on Base and want deterministic, compressed news data with minimal overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:26.317Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-gateway-hacker-news-top-stories-58248237"}