VOOZH about

URL: https://apify.com/andok/hackernews-scraper

โ‡ฑ Hacker News API Scraper ยท Apify


Pricing

from $1.00 / 1,000 post extracteds

Go to Apify Store

Hacker News API Scraper

Fetch stories directly from the official Hacker News Firebase API instantly.

Pricing

from $1.00 / 1,000 post extracteds

Rating

0.0

(0)

Developer

๐Ÿ‘ Andok

Andok

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

3 months ago

Last modified

Share

Hacker News Scraper & Tracker

Track Hacker News discussions for competitive intelligence, developer sentiment, and trending topics in tech. Instead of scraping HTML, this actor queries the official HN Firebase API to pull stories by category โ€” top, new, best, ask, show, or job โ€” with scores, comment counts, and author data. Schedule it daily to build a signal feed for product launches, technology trends, and community buzz.

Features

  • Six categories โ€” fetch top, new, best, ask, show, or job stories in a single run
  • Official API โ€” uses the Hacker News Firebase API for reliable, structured data
  • Rich metadata โ€” includes score, comment count, author, timestamp, and source domain
  • Domain extraction โ€” automatically parses the hostname from each story URL
  • Bulk fetching โ€” retrieve up to 500 stories per run with batched API calls
  • No browser required โ€” pure API access means fast execution and low resource usage
  • Pay-per-result pricing โ€” only pay for stories extracted, with built-in charge limits

Input

FieldTypeRequiredDefaultDescription
categorystringNotopStory category to fetch: top, new, best, ask, show, or job
maxItemsintegerNo100Maximum number of stories to fetch (1-500)
timeoutSecondsintegerNo15Per-request API timeout in seconds (1-120)

Input Example

{
"category":"top",
"maxItems":50,
"timeoutSeconds":15
}

Output

Each dataset item represents one Hacker News story. Key fields:

  • id (number) โ€” HN story ID
  • title (string) โ€” story headline
  • url (string) โ€” link to the external content (or HN discussion if self-post)
  • domain (string) โ€” hostname of the linked URL (e.g. github.com)
  • score (number) โ€” upvote count
  • by (string) โ€” author username
  • time (number) โ€” Unix timestamp of submission
  • descendants (number) โ€” total comment count
  • type (string) โ€” item type (story, job, etc.)

Output Example

{
"id":38945678,
"title":"Show HN: I built an open-source alternative to Datadog",
"url":"https://github.com/example/monitoring-tool",
"domain":"github.com",
"score":342,
"by":"techfounder",
"time":1705334400,
"descendants":187,
"type":"story"
}

Pricing

EventCost
Post ExtractedPay-per-event (see actor pricing page)

Use Cases

  • Competitive intelligence โ€” monitor when competitors or their products get discussed on HN
  • Developer sentiment โ€” track how the community reacts to new tools, frameworks, and launches
  • Trend detection โ€” identify rising technologies by analyzing top and best story patterns over time
  • Content research โ€” find high-engagement topics for technical blog posts or developer marketing
  • Job market analysis โ€” scrape the monthly "Who is Hiring?" threads for hiring trends
  • AI agent feeds โ€” supply structured HN data to LLM pipelines for tech news summarization

Related Actors

ActorWhat it adds
Google News ScraperBroaden coverage beyond HN to mainstream news outlets
RSS & Atom Feed ParserParse the HN RSS feed or any other RSS source for simpler use cases
Reddit ScraperTrack discussions on Reddit for a complementary community signal

You might also like

Hacker News Stories, Comments & Users Scraper

crawlerbros/hacker-news-scraper

Scrape Hacker News - search stories and comments, fetch top/new/best stories, get user profiles and submission history. Uses the official Algolia HN Search API and Hacker News Firebase API.

Hacker News Scraper

moving_beacon-owner1/my-actor-76

A production-ready Apify Actor that scrapes Hacker News stories, comments, user profiles, and search results using the official Firebase API and Algolia HN Search API.

2

Hacker News Scraper

cloud9_ai/hackernews-scraper

Scrape Hacker News stories, comments, and user profiles via official Firebase API. Get top, new, best, ask, show stories with scores, comments, and author data.

Hacker News Scraper

plantane/hackernews-scraper

Scrape stories, comments, and scores from Hacker News. Supports top, new, best, Ask HN, Show HN, and job feeds. Uses the official Firebase API for reliable, fast data extraction.

Hacker News Scraper

rupom888/hackernews-scraper

Scrape stories, jobs, comments, and polls from Hacker News using the official HN Firebase API. Get top/new/best/ask/show stories with comments, search by keyword via Algolia HN Search API. Reliable and no rate limiting.