80trust / 100
Fetch
by Hacker News Data in News & content
x402 APIPassing, checked 4 h ago
This tool reads live information from Hacker News, a popular website where people share and discuss technology news. You can either ask for a current list of stories (like the Top, New, Best, Ask, Show, or Job lists) or ask for every story, job posting, and poll that was posted on one specific calendar day in the past. You can also choose to pull in the discussion comments underneath each story, including nested replies several levels deep.
POST https://hackernews-data.underscoredone.com/fetch
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 637 ms typical, 637 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://hackernews-data.underscoredone.com/fetch" \
-H "content-type: application/json" \
-d '{"category":"top","comment_limit":3,"limit":5,"reply_depth":1}'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%2Fhackernews-data.underscoredone.com%2Ffetch
const res = await pay("https://hackernews-data.underscoredone.com/fetch", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"category":"top","comment_limit":3,"limit":5,"reply_depth":1}),
});
console.log(await res.json());Example input
{
"category": "top",
"comment_limit": 3,
"limit": 5,
"reply_depth": 1
}Example output
{
"api_version": "1.0.0",
"category": "top",
"count": 5,
"date": "",
"mode": "get_stories",
"next_page_token": "",
"range_complete": "",
"results": [
{
"author": "chvid",
"category": "top",
"comment_count": 223,
"comments": [
{
"author": "seizethecheese",
"body": "I'm somewhat surprised that this is not open source...",
"id": 48752128,
"posted_at": 1782935074,
"replies": [],
"reply_count": 9
}
],
"id": 48753715,
"item_type": "story",
"points": 234,
"posted_at": 1782943416,
"title": "ZCode – Harness for GLM-5.2",
"url": "https://zcode.z.ai/en"
}
],
"scanned": ""
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 637 ms | $0.01 |