HN Algolia Search (Relevance)
hnalgolia.search.relevanceFull-text search over the entire HackerNews history ranked by relevance — covers 20+ years of tech stories, Ask HN threads, Show HN posts, and job listings. Returns title, URL, author, score, comment count, and submission time. Supports filtering by type (story/ask/show/job/poll). Powered by Algolia. No auth required. Data: Hacker News (CC BY 3.0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page index for pagination (default 0). | |
| type | No | Content type filter. "story" = submitted links; "ask" = Ask HN threads; "show" = Show HN posts; "job" = job listings; "poll" = polls. Default: story. | |
| limit | No | Number of results to return (1–30, default 10). | |
| query | Yes | Full-text search query. Searches across HN story titles, URLs, and authors. Supports multi-word queries (e.g. "rust programming language", "openai gpt"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |