81trust / 100
Dev Hn
by dev-hn-sentiment in Search & web
x402 APIPassing, checked 4 h ago
Hacker News engagement / dev-sentiment for a project or topic: story count, total & average points and comments, and the top stories (title/url/points/comments/date). From the keyless HN Algolia search API.
GET https://api.agentstools.dev/dev/hn
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 30 ms typical, 30 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 GET "https://api.agentstools.dev/dev/hn?days=365&query=x402+protocol"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%2Fapi.agentstools.dev%2Fdev%2Fhn
const res = await pay("https://api.agentstools.dev/dev/hn?days=365&query=x402+protocol");
console.log(await res.json());Example input
{
"days": 365,
"query": "x402 protocol"
}Example output
{
"avg_points": 77.14,
"count_stories": 7,
"query": "x402 protocol",
"top": [
{
"date": "2026-01-10T00:00:00.000Z",
"num_comments": 90,
"points": 240,
"title": "...",
"url": "https://..."
}
],
"total_comments": 210,
"total_points": 540,
"window_days": 365
}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 | 30 ms | $0.003 |