Hacker News top stories
Current top stories on Hacker News: title, link, points, comment count, author, age and discussion URL (official HN API). Use to follow what developers are discussing right now.
Inputs
| Name | Type | Description |
|---|---|---|
count | integer | How many (1-20, default 10) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/hackernews/top?count=5"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/hackernews/top?count=5&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"count": 1,
"stories": [
{
"id": 1,
"title": "Show HN: …",
"url": "https://…",
"points": 312,
"comments": 140,
"by": "user",
"time": "2026-10-18T09:00:00.000Z",
"discussion": "https://news.ycombinator.com/item?id=1"
}
]
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is hackernews_top, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp