Search Hacker News
search_hacker_newsSearch Hacker News stories and comments with date, points and comment-count filters, read the live front page and the top, best, new, ask and show lists in rank order, or read whole comment threads. Every item links back to news.ycombinator.com.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | search (default), front_page, top, best, new, ask, show or story_comments | |
| query | No | search mode: keywords. Empty matches everything the filters allow | |
| date_to | No | Only items up to the end of this day (UTC), YYYY-MM-DD | |
| sort_by | No | search mode: relevance (default) or date (newest first) | |
| date_from | No | Only items from this day on (UTC), YYYY-MM-DD | |
| max_items | No | How many items, 1 to 50 (default 20; 50 for story_comments; front_page stops at 30) | |
| search_in | No | search mode: all (default), title, url or text | |
| story_ids | No | story_comments mode: up to 5 item ids or news.ycombinator.com links, separated by commas | |
| story_tag | No | any (default), show_hn, ask_hn or poll | |
| min_points | No | Stories with at least this many points | |
| content_type | No | search mode: stories (default), comments or both | |
| min_comments | No | Stories with at least this many comments | |
| include_story | No | story_comments mode: false to leave the story itself out (default true) |