{"uid":"cap_Z-WOEo__wZMHNHMLDBfN2","slug":"x402-onchainexpat-com-3b9e7f1c","name":"Hacker News Top Stories via x402","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-tools/hackernews/top?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","description":"Number of top stories to return (default 10, max 30)"}}},"responseSchema":{"type":"object","properties":{"cached":{"type":"boolean"},"stories":{"type":"array"}}},"example":{"request":{"chain":"ethereum","address":"0x1234567890123456789012345678901234567890"},"response":{"type":"top","count":10,"cached":false,"stories":[{"by":"Dylan1312","id":48511072,"url":"https://www.anthropic.com/news/fable-mythos-access","time":1781311890,"score":1393,"title":"Statement on US government directive to suspend access to Fable 5 and Mythos 5","hn_url":"https://news.ycombinator.com/item?id=48511072","comments_count":933},{"by":"vednig","id":48511908,"url":"https://opensourceaimustwin.com/?share=v2","time":1781316864,"score":399,"title":"Open source AI must win","hn_url":"https://news.ycombinator.com/item?id=48511908","comments_count":118},{"by":"jesse_dot_id","id":48511121,"url":"https://status.claude.com/incidents/s9w82lp9dcn9","time":1781312286,"score":201,"title":"We've suspended access to Claude Mythos 5 and Claude Fable 5","hn_url":"https://news.ycombinator.com/item?id=48511121","comments_count":84},{"by":"bestouff","id":48510010,"url":"https://www.renaultgroup.com/en/magazine/energy-and-powertrains/all-about-electric-motors-with-no-rare-earths/","time":1781302083,"score":295,"title":"Renault: Electric motors with no rare earths","hn_url":"https://news.ycombinator.com/item?id=48510010","comments_count":74},{"by":"gmays","id":48505231,"url":"https://innovativegenomics.org/news/crispr-technique-selectively-shreds-cancer-cells/","time":1781277324,"score":743,"title":"CRISPR tech selectively shreds cancer cells, including \"undruggable\" cancers","hn_url":"https://news.ycombinator.com/item?id=48505231","comments_count":185},{"by":"ellg","id":48510341,"url":"https://putt.day/","time":1781304966,"score":105,"title":"Show HN: Putt.day a daily mini golf game","hn_url":"https://news.ycombinator.com/item?id=48510341","comments_count":59},{"by":"redbell","id":48510046,"url":"https://depthfirst.com/research/21-zero-days-in-ffmpeg","time":1781302409,"score":141,"title":"Twenty One Zero-Days in FFmpeg","hn_url":"https://news.ycombinator.com/item?id=48510046","comments_count":74},{"by":"DASD","id":48508726,"url":"https://www.swift.org/blog/migrating-truetype-hinting-to-swift/","time":1781294067,"score":170,"title":"Swift at Apple: Migrating the TrueType hinting interpreter","hn_url":"https://news.ycombinator.com/item?id=48508726","comments_count":67},{"by":"kkm","id":48507020,"url":"https://ikyle.me/blog/2026/how-to-setup-a-local-coding-agent-on-macos","time":1781285695,"score":303,"title":"How to setup a local coding agent on macOS","hn_url":"https://news.ycombinator.com/item?id=48507020","comments_count":77},{"by":"marc__1","id":48495928,"url":"https://twitter.com/jsrailton/status/2064661778978533571","time":1781209458,"score":338,"title":"Malware developers added nuclear and biological weapons text to to their spyware","hn_url":"https://news.ycombinator.com/item?id=48495928","comments_count":198}]}},"exampleRequest":{"chain":"ethereum","address":"0x1234567890123456789012345678901234567890"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"0.50","reviews":1,"stars":"5.0","state":"rated"},"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_G2NOqTr_zW4hKXzw1Rqh8","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":"Returns the current top stories from Hacker News, including title, score, author, URL, and comment count","exampleAgentPrompt":"What are the top stories on Hacker News right now? Fetch me the current front page with titles, scores, and links.","exampleUseCases":null,"resultDescription":"Returns a ranked list of top Hacker News stories, each with title, author (by), story URL, Hacker News item URL, score, comment count, story ID, and Unix timestamp. Also includes metadata about the request type, count returned, and whether results were cached.","failureModes":["Invalid or missing Ethereum address returns an error","Upstream Hacker News API unavailability may cause failures or stale data","Payment failure (insufficient USDC balance) blocks the request","Malformed chain identifier may cause request rejection"],"whenToPreferThis":"Use this endpoint when you need live or near-live Hacker News front-page data with structured fields (score, comments, author, URLs) inside an x402 micropayment-gated workflow. Prefer this over scraping HN directly when you need a clean JSON response with per-story metadata already parsed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-05-28T21:46:29.558Z","lastSuccessfullyRanAt":"2026-05-01T01:14:42.190Z","lastHealthCheckAt":"2026-10-11T12:47:01.824Z","isFirstParty":false,"canonicalSlug":"x402-onchainexpat-com-3b9e7f1c"}