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

WhenResultHTTPTimePrice
2 h agoPassed402339 ms$0.002
6 h agoPassed402365 ms$0.002
10 h agoPassed402344 ms$0.002
13 h agoPassed402337 ms$0.002
16 h agoPassed402354 ms$0.002
21 h agoPassed402334 ms$0.002
24 h agoPassed402337 ms$0.002
28 h agoPassed402361 ms$0.002
32 h agoPassed402355 ms$0.002
35 h agoPassed402340 ms$0.002
40 h agoPassed402358 ms$0.002