Hacker News Scraper avatar

Hacker News Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Hacker News Scraper

Hacker News Scraper

Scrape Hacker News with no login. Search stories and comments by keyword with filters (tags, minimum points/comments, date range) via the Algolia API, or pull the live top/new/best/ask/show/job story lists via Firebase. For tech monitoring, keyword tracking, and research.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Saturnin Pugnet

Saturnin Pugnet

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Share

Scrape Hacker News over its public APIs. No login, no API key. Search the full HN archive (Algolia) or pull the live front-page lists (Firebase).

Modes

ModeWhat it doesNeeds
searchSearch stories/comments by keyword with filters (tags, min points/comments, date range)query and/or tags
listPull a live list: top, new, best, ask, show, or job storieslistType

Use cases

  • Keyword / brand monitoring — track mentions of a product, company, or topic across HN.
  • Tech trend research — pull high-point stories in a date range for a subject.
  • Front-page tracking — snapshot the current top / new / best / Ask HN / Show HN lists.

Input

{ "mode": "search", "query": "rust", "tags": "story", "minPoints": 100, "sinceDays": 30 }
{ "mode": "search", "query": "", "tags": "front_page", "maxResults": 30 }
{ "mode": "list", "listType": "top", "maxResults": 50 }
FieldDescription
modesearch or list
queryKeyword (search mode); empty = match all
tagsAlgolia tags: story, comment, show_hn, ask_hn, poll, front_page (comma = AND, (a,b) = OR)
sortByrelevance or date
minPoints / minCommentsMinimum thresholds (search)
sinceDaysOnly the last N days (search). 0 = all time
listTypetop, new, best, ask, show, job (list mode)
maxResultsOverall cap. 0 = unlimited

Output

Each record: recordType (story/comment), id, title, author, points, numComments, url, text, createdAt, storyId, parentId, tags, hnUrl.