Hacker News Intelligence Scraper avatar

Hacker News Intelligence Scraper

Pricing

from $0.75 / 1,000 hacker news item scrapeds

Go to Apify Store
Hacker News Intelligence Scraper

Hacker News Intelligence Scraper

Scrape Hacker News stories, comments, jobs, Ask HN, Show HN, and keyword search results. Export clean JSON or CSV with scores, authors, URLs, dates, filters, and nested discussions. No login or API key required.

Pricing

from $0.75 / 1,000 hacker news item scrapeds

Rating

0.0

(0)

Developer

Md Jakaria Mirza

Md Jakaria Mirza

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

Collect Hacker News feeds, keyword search results, specific item IDs, and optional nested comment threads into clean Apify dataset rows. The Actor uses the official Hacker News Firebase API for item data and the public HN Algolia API for keyword search. No login, browser, API key, or proxy is required.

Use it for developer trend monitoring, startup research, Show HN discovery, Ask HN analysis, and lightweight technical-news dashboards.

Quick Start

{
"mode": "feed",
"feed": "top",
"query": "artificial intelligence",
"searchType": "story",
"maxResults": 10,
"includeComments": false
}

This collects the first 10 top-feed items without nested comments, keeping the first run fast and low-cost.

Modes

ModeWhat it does
feedCollects top, new, best, ask, show, or jobs feeds.
searchSearches stories or comments through the public HN Algolia API.
itemsFetches exact Hacker News item IDs.

Input

FieldTypeDefaultNotes
modestringfeedfeed, search, or items.
feedstringtopUsed when mode is feed.
querystringartificial intelligenceUsed when mode is search.
searchTypestringstorySearch story or comment.
itemIdsstring array[]Numeric HN item IDs for items mode.
maxResultsinteger10Maximum dataset rows.
minScoreinteger0Keep only items with at least this score.
minCommentsinteger0Keep only stories with at least this many comments.
includeKeywordsstring array[]Require at least one keyword in title or text.
excludeKeywordsstring array[]Exclude matching title or text.
authorsstring array[]Exact Hacker News usernames.
domainstringemptyKeep links whose hostname contains this value.
fromDate, toDatestringemptyOptional ISO date or date-time filters.
includeCommentsbooleanfalseFetch nested comments into each result.
maxCommentsPerIteminteger20Comment cap per item when comments are enabled.
commentDepthinteger3Nested reply depth.
includeDeadOrDeletedbooleanfalseInclude moderation/deleted records only when explicitly enabled.

Output

Each dataset row is one Hacker News item:

FieldDescription
id, typeHacker News item ID and item type.
title, text, textHtmlStory or comment content when available.
url, hnUrl, domainExternal URL, HN discussion URL, and hostname.
author, score, commentCountPublic HN metadata.
createdAt, createdAtUnixPublication time.
feed, query, rankSource context for feed/search runs.
dead, deletedModeration flags.
commentsOptional nested comments when enabled.
collectedAtActor scrape timestamp.

Verified Sample

An existing successful top-feed run returned this row:

{
"id": 48626137,
"type": "story",
"title": "Deno Desktop",
"url": "https://docs.deno.com/runtime/desktop/",
"hnUrl": "https://news.ycombinator.com/item?id=48626137",
"domain": "docs.deno.com",
"author": "GeneralMaximus",
"score": 204,
"commentCount": 66,
"createdAt": "2026-06-22T05:38:40.000Z",
"rank": 1,
"feed": "top"
}

Pricing

Active pay-per-event pricing:

EventPrice
item-scraped$0.00075 per item
apify-actor-start$0.00005 per GB at run start

Records are saved and charged atomically. Empty, filtered, dead/deleted excluded, or failed records are not charged, and later API batches are skipped after the user's spending limit is reached.

Common Workflows

  1. Monitor top, new, or best for developer and startup trends.
  2. Track product or competitor mentions with mode: "search" and a query.
  3. Find launch examples with the show feed and filters such as minScore.
  4. Analyze discussion quality by enabling comments on a small result set.
  5. Export to CSV, Excel, JSON, HTML, or connect through the Apify API.

Notes and Limits

  • Search results depend on HN Algolia indexing and ranking.
  • Nested comments increase runtime; keep maxResults, maxCommentsPerItem, and commentDepth small at first.
  • Dead or deleted items are excluded unless includeDeadOrDeleted is enabled.
  • The Actor collects public HN metadata; it is not a private user-profile or contact scraper.

Responsible Use

Use this Actor for lawful collection of publicly available Hacker News data. Respect Hacker News, Algolia, and downstream platform terms, privacy laws, and any restrictions that apply to how you store or process exported data.

License

Apache-2.0