Hn Top
by Saylor Innovations Data Desk in News & content
Hacker News front page - current top, new, Ask HN or Show HN stories with rank, points, comments and links
https://saylorinnovations.com/api/hn/top- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 452 ms
- 2.0 s slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/hn/top
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/hn/top?kind=top&limit=10Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
kind | string | No | optional top (default), new, ask or show |
limit | string | No | optional 1-30, default 15 |
Example response
The provider's example. We can't check it without paying.
Example response, 107 lines
{
"kind": "top",
"returned": 10,
"source": "Hacker News via Algolia",
"stories": [
{
"author": "meetpateltech",
"comments": 257,
"created_at": "2026-10-12T16:48:01Z",
"hn_url": "https://news.ycombinator.com/item?id=50059115",
"points": 482,
"rank": 1,
"title": "Muse Wonder",
"url": "https://research.meta.ai/blog/muse-wonder"
},
{
"author": "whimblepop",
"comments": 217,
"created_at": "2026-10-12T18:29:04Z",
"hn_url": "https://news.ycombinator.com/item?id=50060694",
"points": 399,
"rank": 2,
"title": "Codex CLI installs a persistent, self-updating background daemon by default",
"url": "https://github.com/openai/codex/issues/48195"
},
{
"author": "ilreb",
"comments": 217,
"created_at": "2026-10-12T16:11:45Z",
"hn_url": "https://news.ycombinator.com/item?id=50058507",
"points": 380,
"rank": 3,
"title": "GLM-Legal",
"url": "https://z.ai/blog/glm-legal"
},
{
"author": "bwnkl",
"comments": 391,
"created_at": "2026-10-12T11:22:24Z",
"hn_url": "https://news.ycombinator.com/item?id=50054751",
"points": 359,
"rank": 4,
"title": "QGIS enacts moratorium on AI contributions",
"url": "https://github.com/qgis/QGIS-Enhancement-Proposals/pull/387"
},
{
"author": "Zeekaas",
"comments": 579,
"created_at": "2026-10-12T12:16:42Z",
"hn_url": "https://news.ycombinator.com/item?id=50055304",
"points": 355,
"rank": 5,
"title": "Hackers activate automatic defrosting in supermarket fridges across Europe",
"url": "https://www.tomshardware.com/tech-industry/cyber-security/unprecedented-cyberattack-cripples-supermarket-fridges-across-europe-as-hackers-activate-automatic-defrosting-delivery-and-store-prices-also-impacted-by-incident"
},
{
"author": "prophittcorey",
"comments": 150,
"created_at": "2026-10-12T16:13:10Z",
"hn_url": "https://news.ycombinator.com/item?id=50058528",
"points": 341,
"rank": 6,
"title": "A Modern Web App in C",
"url": "https://prophitt.me/writing/a-modern-web-app-in-c"
},
{
"author": "gumby",
"comments": 239,
"created_at": "2026-10-12T17:14:01Z",
"hn_url": "https://news.ycombinator.com/item?id=50059523",
"points": 284,
"rank": 7,
"title": "AI coding agents generate more code, but not more software",
"url": "https://arstechnica.com/ai/2026/10/ai-coding-agents-generate-more-code-but-not-more-software/"
},
{
"author": "deadxwarrior",
"comments": 138,
"created_at": "2026-10-12T06:46:53Z",
"hn_url": "https://news.ycombinator.com/item?id=50052251",
"points": 257,
"rank": 8,
"title": "Show HN: PS2 games statically recompiled to WebAssembly",
"url": "https://github.com/snuri00/ps2-web-recomp"
},
{
"author": "scrlk",
"comments": 285,
"created_at": "2026-10-12T12:09:09Z",
"hn_url": "https://news.ycombinator.com/item?id=50055220",
"points": 235,
"rank": 9,
"title": "Citroen revives the 2CV for an electric age",
"url": "https://www.bbc.com/news/articles/c620r33plgppo"
},
{
"author": "lukaslalinsky",
"comments": 82,
"created_at": "2026-10-12T05:02:34Z",
"hn_url": "https://news.ycombinator.com/item?id=50051573",
"points": 232,
"rank": 10,
"title": "Type-safe HTML templating in Zig",
"url": "https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html"
}
]
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/hn/top?kind=top&limit=10'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/hn/top?kind=top&limit=10' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fhn%2Ftop
const res = await pay("https://saylorinnovations.com/api/hn/top?kind=top&limit=10");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/hn/top?kind=top&limit=10")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 2.0 s | $0.01 |
| 6 h ago | Passed | 402 | 416 ms | $0.01 |
| 11 h ago | Passed | 402 | 452 ms | $0.01 |