Hacker News Scraper: Search, Threads & Monitoring
Pricing
from $0.10 / 1,000 hn results
Hacker News Scraper: Search, Threads & Monitoring
Scrape Hacker News stories, comments and hiring posts. Search and compare discussions, enrich GitHub links, and monitor new mentions or engagement changes.
Pricing
from $0.10 / 1,000 hn results
Rating
0.0
(0)
Developer
Zakaria el bouami
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
Hacker News Intelligence: Search, Threads & Monitoring
Search public Hacker News stories and comments, explore ranked feeds and historical front pages, extract hiring posts, and monitor new mentions or engagement changes. Results retain source links and include bounded reply trees, optional GitHub and HN author enrichment, and explainable heuristic signals.
Start quickly
{"mode":"search","query":"postgres","tags":"story","sort":"date","maxResults":20,"includeComments":true,"maxComments":10}
One Dataset row represents a primary result. Optional comment trees are included in comments with parentId, storyId, and depth; commentCoverage shows whether the requested tree was truncated. Search comments directly with tags: "comment" to get one comment per primary row.
Ranked feeds and historical front page
{"mode":"top","maxResults":10,"includeComments":true,"maxComments":5}
Other feeds: new, best, ask, show, job, discover. user accepts username; threads accepts IDs or HN item URLs in itemIds; history takes a UTC historyDate in YYYY-MM-DD. Historical mode reads HN's HTML front page and waits at least 30 seconds between page requests in the same run, in accordance with the site's crawl delay. Avoid concurrent historical runs. Feed and history modes apply limits before local domain or engagement filters, so they can return fewer than requested.
Date-bounded search and comparison
{"mode":"search","query":"database","tags":"story","dateFrom":"2024-01-01","dateTo":"2024-01-31","autoSplit":true,"maxSplitBuckets":30,"maxResults":1000,"compareFrom":"2023-12-01","compareTo":"2023-12-31"}
The OUTPUT_SUMMARY key-value record includes sample sizes, per-term document-frequency deltas, unique authors and links to up to three example discussions. Counts reflect bounded samples, not an exhaustive population or statistically validated trend; source indexing can lag. Growth percentage is null when the previous count is zero. Search supports multiple queries, optional curated expansions (AI, LLM, k8s, JS), author/date/type/points/comment filters, and exact-domain/subdomain local filtering. Query batches and date partitions are deduplicated but are not globally relevance-ranked.
Hiring posts
{"mode":"hiring","hiringThreadType":"hiring","remoteOnly":true,"keywords":["Python","Rust"],"maxResults":20}
The latest matching whoishiring story is selected by default. Use dateFrom and dateTo for an older monthly thread, or supply its ID in itemIds. Select seeking or freelance for other thread types. One top-level comment becomes a row. Fields such as company, role, location, remote, salary and visa are heuristic candidates, not verified jobs or employer records. A remote mention does not guarantee the position is remote. Email extraction is opt-in; raw public text may itself contain personal information. Use data lawfully and respect individual privacy.
Monitoring
{"mode":"brand_monitor","query":"\"My Product\"","tags":"story","dateFrom":"2026-01-01","watchName":"my-product","watchChanges":true,"maxResults":500,"autoSplit":true}
An optional secret webhookUrl may point to an incoming Slack or Discord webhook. The first watch run creates a baseline without emitting records by default; later runs emit new matches and, if enabled, changed points/comment counts with change.before and change.after. smartAlerts uses an unvalidated heuristic threshold. State advances only after a complete scan, successful requested enrichment/comment collection, successful webhook delivery and available event budget. Webhook delivery sends at most 100 selected matches in batches of five; above that limit it sends none and does not advance state. Check OUTPUT_SUMMARY.watchStateSaved and runDiagnostics.incompleteReasons. Use the same inputs and watch name on subsequent runs; do not run the same watch concurrently. State stores up to 50,000 IDs and does not track removals. A narrow or capped query can miss items; event delivery is at-least-once rather than exactly-once if a run fails after output or notification. For moving time ranges use a suitably bounded query and a separate watch when changing filters.
Cost and bounds
The Actor uses a per-primary-result event; bundled nested comments are not separate events. Configured event rates are $0.20 per 1,000 primary results on Free and Bronze, $0.15 on Silver, and $0.10 on Gold, Platinum and Diamond, with no separate Actor start event. Platform usage is billed separately to the user. Verify the live Pricing tab for current rates. Source request budget (maxRequests) and result/comment/depth/bucket limits are explicit. GitHub token and webhook are optional secret inputs. No token is sent outside GitHub's api.github.com host; webhook destinations are restricted to Slack and Discord incoming endpoints. No source limit bypass or proxy rotation is used.
Algolia restricts a single query to roughly 1,000 retrievable results. Date partitioning helps but can still be incomplete due to a single-second overflow, source changes, max buckets, max results, network errors, and rate limits. OUTPUT_SUMMARY reports encountered bounds. Source responses and optional enrichment can be missing or delayed. Heuristic scoring and feedback keyword labels are not validated sentiment, credibility, predictions, or guarantees. Historical page positions may differ from a historical archive snapshot; exact page completeness is not guaranteed.
Sources and attribution
- HN official public Firebase API: https://github.com/HackerNews/API
- Algolia HN Search API, including its published rate limit: https://hn.algolia.com/api
- Historical HN front pages: https://news.ycombinator.com/front and https://news.ycombinator.com/robots.txt
- Optional GitHub public API: https://docs.github.com/en/rest
Public availability is not a grant of copyright or privacy rights. Review applicable terms and licenses before reuse, redistribution, AI training, or outreach. This independent Actor is not affiliated with Hacker News, Y Combinator, Algolia, GitHub, Slack or Discord.