Hacker News Scraper - Stories, Comments & Alerts avatar

Hacker News Scraper - Stories, Comments & Alerts

Pricing

from $2.00 / 1,000 item extracteds

Go to Apify Store
Hacker News Scraper - Stories, Comments & Alerts

Hacker News Scraper - Stories, Comments & Alerts

Search Hacker News by keyword, front page, Show/Ask HN or user. Points, comments, time windows past the 1,000 cap, new-item alerts. Official HN API.

Pricing

from $2.00 / 1,000 item extracteds

Rating

0.0

(0)

Developer

yck

yck

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Search Hacker News stories, comments, Show HN, Ask HN, jobs and users, or read the live front page, with points, comment counts, authors and dates. Built on the official Hacker News Search API (hn.algolia.com), so it is fast and never blocked.

  • Keyword monitoring: schedule it and get only the new matches since the last run (onlyNew), with points and comment growth tracked.
  • Beyond the 1,000-result cap: results are fetched in time windows, so you can pull years of mentions of a brand or topic.
  • Filters: minimum points, minimum comments, "since 24h / 7d / 3m / a date", story type.
  • Top comments of every returned story, and all items of a user.

$2 per 1,000 items. You pay only for the results you receive.

How to use it

  1. Click Try for free at the top of this page.
  2. Fill the input (the defaults work as a first test).
  3. Click Start, or schedule the Actor for monitoring and alerts.
  4. Download the results as JSON, CSV or Excel, or call the Actor from the API.

Use cases

  • Founders and PR teams watching mentions of their product or competitors.
  • Developer-relations and growth teams finding threads worth joining.
  • Researchers building datasets of discussion around a topic.
  • Newsletter curators collecting the best of the week.

Input examples

Track mentions of a brand (alert-style)

{
"mode": "search",
"searchQueries": [
"apify"
],
"since": "7d",
"sort": "date",
"onlyNew": true,
"monitorName": "brand-watch"
}

Front page right now

{
"mode": "front_page",
"maxItems": 30
}

Show HN with at least 50 points

{
"mode": "show_hn",
"minPoints": 50,
"since": "30d"
}

Input reference

FieldNameTypeDescription
modeWhat to collectstringPick a source. Search finds every story (or comment) mentioning your keywords since a date.
searchQueriesSearch queriesarrayKeywords, product or brand names. Each query is searched separately (exact words, typo-tolerant).
itemTypesItem typesarrayWhich kind of items the search returns. Add "comment" to catch every mention of a brand in discussions.
sortSortstringNewest first walks back in time without the 1,000-result cap.
sinceSincestringOnly items posted after this date (2026-10-01) or within a period (24h, 7d, 3m, 1y).
minPointsMinimum pointsintegerSkip stories with fewer points.
minCommentsMinimum commentsintegerSkip stories with fewer comments.
usernamesUsernames (mode: user)arrayHN usernames whose posts and comments you want.
includeCommentsAlso fetch comments of each storybooleanAdds the top comments of every returned story (each comment is one result).
maxCommentsPerStoryMax comments per storyintegerUsed when comments are included.
onlyNewMonitoring: only new items since last runbooleanRemembers what earlier runs returned (per query set) and outputs only new items, plus items whose points or comments changed. Ideal on a schedule.
monitorNameMonitor namestringOptional name to keep several independent monitors.
maxItemsMax resultsintegerStop after this many results (you pay per result).

Output

Each result is one JSON object. Main fields: id, type, title, url, domain, author, points, commentsCount, createdAt, text, storyId, parentId, hnUrl, matchedQuery.

When you schedule the Actor with a monitorName, rows also carry isNew, firstSeenAt and (where relevant) a changes object listing what moved since the previous run.

Example (shortened):

{
"id": 50441350,
"type": "show_hn",
"title": "Show HN: Aircad – Professional drafting and 3D modeling in the browser",
"url": "https://aircad.com",
"domain": "aircad.com",
"author": "peetle",
"points": 95,
"commentsCount": 47,
"createdAt": "2026-11-10T15:01:19Z",
"text": "Aircad is a professional CAD system running in the browser with deep AI integration. It includes profession…",
"storyId": 50441350,
"hnUrl": "https://news.ycombinator.com/item?id=50441350",
"matchedQuery": "web scraping",
"scrapedAt": "2026-11-16T13:42:59.742Z"
}

What it does not do

  • Only public Hacker News content; deleted or dead items are not returned.
  • Comment text is plain text (HTML tags removed).

Data source and legality

Official Hacker News Search API (hn.algolia.com, by Algolia for Y Combinator). Public data, no login. The Actor does not log in, does not solve captchas and does not bypass anti-bot protection. You are responsible for using the data in line with the source's terms and the laws that apply to you (including data-protection law when the data concerns people).

FAQ

Does it need a proxy or API key?

No. The official API is open and the Actor paces its requests.

How do alerts work?

Turn on onlyNew, give the run a monitorName, and schedule it. Each run returns only items not seen before, then remembers them.

Pricing

Pay per event: $2 per 1,000 items. A tiny start fee per run applies. Apify platform usage is included for the Actor owner's pay-per-event model.

Support

Questions or a missing field? Open an issue from the Actor page and tell us the input you used.