{"uid":"cap_iewfy8H0XaPSsx3r5ZFRC","slug":"agentdiet-hackernews-trends-eef813e5","name":"AgentDiet HackerNews Trends","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-trends?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_KDndDDxwbnFUfSLQJfidn","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 compressed, AI-ready trending topics and stories from Hacker News via the AgentDiet MCP gateway, paid per-call in USDC.","exampleAgentPrompt":"What's trending on Hacker News right now — especially anything related to AI or open source? Pull the latest trends and give me a summary.","exampleUseCases":[{"title":"Daily tech briefing for developers","prompt":"What are the hottest topics on Hacker News today? I want a quick rundown of what the tech community is talking about this morning."},{"title":"Startup ecosystem trend monitoring","prompt":"Fetch the current Hacker News trends and filter for anything about startups or funding — I want to see what's gaining traction in the founder community."},{"title":"AI news pulse check","prompt":"Pull the latest trending stories from Hacker News and highlight anything related to AI, LLMs, or machine learning so I can stay on top of what engineers are discussing."}],"resultDescription":"Returns a JSON object with a 'data' field containing trending HackerNews stories or topics, a 'status' field ('ok'), and an 'roi_proof' object showing the compression ratio (e.g. 91.4%) — indicating the data has been heavily compressed for token-efficient delivery to AI agents.","failureModes":["Payment failure: 402 returned if USDC payment on Base is not settled correctly","Empty results: data field may be empty if no trending content matches the query","Gateway timeout: upstream HackerNews API may be slow or unavailable","Invalid method: only GET/POST accepted; other methods return 405","Schema mismatch: missing required 'input' object causes 400 validation error"],"whenToPreferThis":"Choose this endpoint when you need a token-efficient, AI-optimized snapshot of Hacker News trending content — especially in agentic pipelines that pay per call via x402/USDC on Base. The 91%+ compression ratio makes it far more cost-effective than scraping HN directly or calling verbose APIs when operating under LLM context constraints. Prefer it over raw HN API wrappers when you need a pre-digested, structured trend signal rather than raw story data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:48.094Z","isFirstParty":false,"canonicalSlug":"agentdiet-hackernews-trends-eef813e5"}