Hacker News story search through the official HN Search
search_hacker_newsHacker News story search through the official HN Search API (Algolia, public, no key): title, article URL, author, points, comment count and discussion link. Returns stories only, most relevant first. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "search_hacker_news"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search words (1 to 200 characters) | |
| limit | No | How many stories, 1 to 30 (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| count | No | ||
| items | No | ||
| nbHits | No | ||
| source | No | ||
| checkedAt | No |