Hacker News Scraper

Search Hacker News stories and comments by keyword and date, with points, comment counts and links. Track mentions of any product or topic.

SelextractOfficialVersion 1 · updated Nov 4, 2026

Inputs

Order
Optional
sort · Choice · Newest first, or the most popular first. · default Newest firstNewest first · Most popular
Posted within
Optional
period · Choice · Show only items posted in this period. · default Past weekAny time · Past 24 hours · Past week · Past month · Past year
Search terms (optional)
Optional
queries · List · Up to 5 words or phrases, like your product or a competitor. Leave empty to get everything of the chosen type. · default []
Minimum points (optional)
Optional
min_points · Whole number · Keep only stories with at least this many points. Comments don't show points, so any value above 0 leaves them out. · default 0
Results per search term
Optional
max_results · Whole number · Up to 500 per search term, or in total when you leave the search terms empty. · default 100
Search in
Optional
content_type · Choice · Which kind of Hacker News items to get. · default Stories and commentsStories and comments · Stories · Show HN posts · Ask HN posts · Comments

Sample output

The publisher hasn't shared a sample.

About

What you get

One row per story or comment: title, link, Hacker News link, text, points, comment count, posting time, and for comments the story they belong to.

How to use it

Enter up to five words or phrases, such as your product or a competitor, or leave them empty. Choose what to search: stories, Show HN posts, Ask HN posts, comments or everything. Then choose how recent the items should be and whether you want the newest or the most popular first.

Good to know

  • It uses Hacker News's public search. You don't need a Hacker News account.
  • Usernames aren't included.
  • Comments don't show points on Hacker News, so their points are empty.
  • Runs use your own Selextract credit.