75trust / 100
Tools Hackernews
by x402 tools in News & content
x402 APIPassing, checked 2 h ago
Use to find what developers and the tech industry are discussing about a topic, or to get today's top tech stories. Full-text Hacker News search (or the front page when no query), filterable by age, points and story type, up to 50 stories with points, comment counts and links. Not charged if nothing matches.
GET https://x402-tools-production-2755.up.railway.app/tools/hackernews
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 344 ms typical, 361 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-tools-production-2755.up.railway.app/tools/hackernews?min_points=10&q=x402&since=30d"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%2Fx402-tools-production-2755.up.railway.app%2Ftools%2Fhackernews
const res = await pay("https://x402-tools-production-2755.up.railway.app/tools/hackernews?min_points=10&q=x402&since=30d");
console.log(await res.json());Example input
{
"min_points": "10",
"q": "x402",
"since": "30d"
}Example output
{
"count": 1,
"kind": "story",
"query": "x402",
"since": "720h",
"sort": "relevance",
"stories": [
{
"author": "exampleuser",
"comments": 147,
"createdAt": "2025-09-23T16:00:00Z",
"domain": "x402.org",
"hnUrl": "https://news.ycombinator.com/item?id=45347335",
"points": 228,
"title": "x402 — An open protocol for internet-native payments",
"url": "https://www.x402.org/"
}
],
"totalMatches": 42
}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 | 339 ms | $0.002 |
| 6 h ago | Passed | 402 | 365 ms | $0.002 |
| 10 h ago | Passed | 402 | 344 ms | $0.002 |
| 13 h ago | Passed | 402 | 337 ms | $0.002 |
| 16 h ago | Passed | 402 | 354 ms | $0.002 |
| 21 h ago | Passed | 402 | 334 ms | $0.002 |
| 24 h ago | Passed | 402 | 337 ms | $0.002 |
| 28 h ago | Passed | 402 | 361 ms | $0.002 |
| 32 h ago | Passed | 402 | 355 ms | $0.002 |
| 35 h ago | Passed | 402 | 340 ms | $0.002 |
| 40 h ago | Passed | 402 | 358 ms | $0.002 |