78trust / 100
Data Hn Top
by hackernews-top in News & content
x402 APIPassing, checked 3 h ago
Hacker News front page: the top N stories with title, URL, score, author, comment count and age, from the official free HN API. A tech-news pulse for agents. $0.01 per call.
POST https://intel.rallylive.ca/data/hn-top
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 53 ms typical, 657 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://intel.rallylive.ca/data/hn-top" \
-H "content-type: application/json" \
-d '{"query":"10"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fintel.rallylive.ca%2Fdata%2Fhn-top
const res = await pay("https://intel.rallylive.ca/data/hn-top", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"query":"10"}),
});
console.log(await res.json());Example input
{
"query": "10"
}Example output
{
"count": 10,
"stories": [
{
"by": "user",
"comments": 120,
"hours_ago": 3,
"id": 1,
"score": 500,
"title": "…",
"url": "https://…"
}
]
}Security scan
- Payment address changed recently in payment
Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 57 ms | $0.01 |
| 6 h ago | Passed | 402 | 852 ms | $0.01 |
| 11 h ago | Passed | 402 | 657 ms | $0.01 |
| 14 h ago | Passed | 402 | 48 ms | $0.01 |
| 18 h ago | Passed | 402 | 53 ms | $0.01 |
| 21 h ago | Passed | 402 | 41 ms | $0.01 |
| 24 h ago | Passed | 402 | 42 ms | $0.01 |
| 30 h ago | Passed | 402 | 59 ms | $0.01 |
History
| 11 Oct 2026 | Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3 |