hn_search
Find HackerNews discussions on any topic by keyword search, with filters for recency and post type to pinpoint relevant community insights.
Instructions
Search HackerNews by keyword using the Algolia search API.
Covers all historical HN content. Find discussions on specific technologies, papers, companies, or events.
Args: params (HnSearchInput): - query (str): Search terms - limit (int): Results (1–20) - days_back (int): Recency window in days - tags (Optional[str]): 'story', 'ask_hn', 'show_hn', or empty
Returns: str: JSON with query, total_found, count, hits[]. Each hit: id, title, url, score, comments, author, posted, hn_link, excerpt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |