Utilities3 free calls over HTTPUpdated 22 November 2026From $0.01 per call · failed calls are never charged
Hacker News top stories
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
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://glyphtools.com/hackernews/top?count=5"
Node.js
const r = await fetch("https://glyphtools.com/hackernews/top?count=5", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/hackernews/top?count=5", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/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": 5,
"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"
},
{
"id": 2,
"title": "…",
"url": "https://…",
"points": 268,
"comments": 97,
"by": "user",
"time": "2026-10-18T08:10:00.000Z",
"discussion": "https://news.ycombinator.com/item?id=2"
},
{
"id": 3,
"title": "…",
"url": "https://…",
"points": 201,
"comments": 54,
"by": "user",
"time": "2026-10-18T07:45:00.000Z",
"discussion": "https://news.ycombinator.com/item?id=3"
},
{
"id": 4,
"title": "…",
"url": "https://…",
"points": 150,
"comments": 212,
"by": "user",
"time": "2026-10-18T06:30:00.000Z",
"discussion": "https://news.ycombinator.com/item?id=4"
},
{
"id": 5,
"title": "…",
"url": "https://…",
"points": 96,
"comments": 31,
"by": "user",
"time": "2026-10-18T05:05:00.000Z",
"discussion": "https://news.ycombinator.com/item?id=5"
}
]
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is hackernews_top, and the first 10 successful calls are free:
https://glyphtools.com/mcp