{"uid":"cap_TbM0mEqhM1XPxfVNHf0pP","slug":"hacker-news-front-page-api-x402-forgemesh-io-4f1c00c5","name":"Hacker News Front Page API (x402.forgemesh.io)","description":"Tech news front page API: the current top 30 ranked tech stories — title, outbound URL, points, comment count, and timestamps — as normalized JSON. For trend detection, topic monitoring, and content-pipeline agents. Refreshed every few minutes.","url":"https://x402.forgemesh.io/hacker-news-frontpage","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"hits":[{"url":"https://example.com","title":"Show HN: ...","points":312,"num_comments":148}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9zWBEkdwIE3aoZDz2E9C4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 30 ranked Hacker News tech stories as normalized JSON, including title, URL, points, comment count, and timestamps, refreshed every few minutes.","exampleAgentPrompt":"Pull the current Hacker News front page and give me the top 30 tech stories with their titles, links, point scores, and comment counts so I can see what's trending right now.","exampleUseCases":null,"resultDescription":"A normalized JSON array of the top 30 Hacker News front-page stories, each containing the story title, outbound URL, points (upvotes), comment count, rank, and timestamps. Data is refreshed every few minutes, reflecting near-real-time front-page state.","failureModes":["Payment failure (insufficient USDC balance) — 402 Payment Required","Upstream Hacker News API unavailability causing stale or missing data","Rate limiting if called too frequently","Empty or partial response if HN front page is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a ready-to-use, normalized JSON snapshot of the Hacker News front page without scraping or parsing HTML yourself. Ideal for content pipeline agents, trend detection workflows, or any agent that needs to monitor what the tech community is currently discussing. Prefer over raw HN API calls when you want pre-ranked, pre-normalized data with minimal latency overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:38.166Z","isFirstParty":false}