Stories, Search and Who Is Hiring for Hacker News
Pricing
from $1.00 / 1,000 items
Stories, Search and Who Is Hiring for Hacker News
Get top, new, best, Ask HN, Show HN and job stories for Hacker News, run full text search with filters and read Who is hiring job posts with company and remote hints. Official HN API and HN Search API. Pay per item. Not affiliated with Y Combinator or Hacker News.
Pricing
from $1.00 / 1,000 items
Rating
0.0
(0)
Developer
Markus Heiß
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Get stories, comments and job posts for Hacker News as clean JSON. Read the front page and the other story lists, run a full text search with date, points and comment filters, or pull every job post from the monthly "Ask HN: Who is hiring?" thread with company, remote and location hints.
The Actor reads the official Hacker News API and the HN Search API by Algolia. It does not scrape the Hacker News website. No API key needed. Not affiliated with Y Combinator or Hacker News.
What it does
- Story lists: top, new, best, Ask HN, Show HN and job stories, in the order Hacker News shows them, with their rank. Up to 500 stories per run.
- Search: full text search over stories and comments through the HN Search API. Filter by item type (story, comment, Ask HN, Show HN, job, poll), date range, minimum points and minimum comments. Sort by relevance or newest first. Up to 1,000 hits per run, the limit of the search API.
- Who is hiring: finds the latest "Ask HN: Who is hiring?" thread of the whoishiring account, or the thread of a month you choose, and returns its top level comments as job posts. Each post gets hints: company (the text before the first
|), remote yes or no, locations and the URLs in the post. An optional keyword returns only posts that contain it, for examplerustorberlin. - Comments: turn on "Include comments" to also load the comment tree of each story, up to 50 comments per story by default.
- Plain text: HN HTML becomes readable text. Links show their full URL. Choose
htmlto also get the original HTML, ornoneto leave the text out. - Privacy by default: e-mail addresses and phone numbers in post and comment texts are masked.
- Monitor mode: returns only items that earlier runs did not return yet. Schedule it to get new stories, new mentions or new job posts.
- Fast: 10 parallel requests to the HN API, retries on rate limits and server errors. The 30 top stories take about 2 seconds.
Use cases
- Tech trend monitoring: follow what reaches the front page, which domains get traction, and which topics gain points over time.
- Brand mentions on HN: search stories and comments for your product, company or competitor names. Run it daily with monitor mode and sort by date.
- Launch tracking: watch Show HN and Launch HN posts, their points and comments, and the discussion under your own launch.
- Hiring data from Who is hiring: collect every monthly job post with company, remote flag and locations for market research, job boards or recruiting analytics.
- AI agents and RAG: feed current Hacker News discussions as clean text into LLM pipelines, vector stores and agents.
Input
| Field | Description | Default |
|---|---|---|
| Mode | list, search or whoIsHiring | list |
| Story list | List mode: top, new, best, ask, show or job | top |
| Max items | Stories, search hits or job posts. Comments come on top | 30 (list, max 500), 100 (search, max 1,000), 100 (Who is hiring, max 1,000) |
| Search query | Search mode: full text query. Who is hiring mode: optional keyword filter | empty |
| Item types | Search mode: any of story, comment, ask_hn, show_hn, job, poll, combined with OR | all |
| Sort | Search mode: relevance or date (newest first) | relevance |
| Date from, Date to | Search mode: YYYY-MM-DD, ISO date time, or relative like 7 days or 24 hours (UTC) | none |
| Minimum points, Minimum comments | Search mode: lower limits for stories | none |
| Who is hiring month | 2026-10 or October 2026. Empty means the latest thread | latest |
| Include comments | List and search mode: load the comments of each story | off |
| Max comments per story | 1 to 1,000 | 50 |
| Text format | text, html (text plus original HTML) or none | text |
| Mask e-mails and phone numbers | Replace them in all texts | on |
| Only new items (monitor mode) | Skip items earlier runs already returned | off |
Front page example:
{"mode": "list","list": "top","maxItems": 30}
Search example, new mentions of a name in stories and comments of the last 7 days:
{"mode": "search","query": "postgres","tags": ["story", "comment"],"sort": "date","dateFrom": "7 days","maxItems": 100}
Who is hiring example, posts that mention Python in the October 2026 thread:
{"mode": "whoIsHiring","month": "2026-10","query": "python","maxItems": 200}
Output
One dataset item per story or comment. All items have the same fields, so the CSV and Excel exports stay flat. A story from search mode:
{"id": 22238335,"type": "story","rank": null,"title": "Why Discord is switching from Go to Rust","url": "https://blog.discordapp.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f","domain": "blog.discordapp.com","hnUrl": "https://news.ycombinator.com/item?id=22238335","author": "Sikul","points": 1582,"commentsCount": 642,"createdAt": "2020-02-04T17:30:40.000Z","text": null,"html": null,"parentId": null,"storyId": null,"storyTitle": null,"depth": null,"job": null,"isNew": null,"error": null,"fetchedAt": "2026-11-14T16:16:34.278Z"}
A job post from Who is hiring mode (shortened, made up example):
{"id": 50300001,"type": "comment","hnUrl": "https://news.ycombinator.com/item?id=50300001","author": "examplecorp","createdAt": "2026-11-03T09:12:00.000Z","text": "Example Corp | Senior Backend Engineer | Austin, TX or REMOTE (US) | Full-time | https://example.com/jobs\n\nWe build tools for ... Apply at [email removed]","parentId": 50338728,"storyId": 50338728,"storyTitle": "Ask HN: Who is hiring? (November 2026)","depth": 1,"job": {"headline": "Example Corp | Senior Backend Engineer | Austin, TX or REMOTE (US) | Full-time | https://example.com/jobs","company": "Example Corp","remote": true,"locations": ["Austin, TX", "US"],"urls": ["https://example.com/jobs"]}}
typeisstory,ask_hn(Ask HN and Tell HN),show_hn,job,pollorcomment.rankis the position on the Hacker News list in list mode,nullin the other modes.authoris the public HN username.pointsandcommentsCountarenullfor comments, because HN does not publish comment scores.textis the plain text of Ask HN posts, job stories and comments. Link stories have no text.htmlis filled only with the text formathtml.- Comments are separate items, not a nested array. Each comment follows its story and has
storyId,storyTitle,parentId(the story or the comment it replies to) anddepth(1 for direct replies). Comments load breadth first: direct replies first, then replies to replies, until "Max comments per story" is reached. This keeps the table flat and lets you filter stories and comments bytype. jobis filled only in Who is hiring mode. The hints are a best effort guess from the first line of the post.companyisnullwhen the first line has no|.remoteisnullwhen the post does not say.isNewistruein monitor mode andnullotherwise.- Deleted and flagged (dead) items are skipped. An item that cannot be loaded after 4 attempts returns an item with
errorset.
The dataset has two views: Overview for stories and comments, and Who is hiring with company, remote, locations and URLs as columns. Export as JSON, CSV or Excel, or read it through the Apify API.
Monitor mode
With "Only new items" turned on, the Actor stores the IDs it returned in the named key-value store hn-monitor. The key combines the mode with a hash of the settings that change the result (list, query, item types, sort, point and comment filters, month, comments on or off), so different searches do not mix. The last 5,000 IDs per key are kept.
Each run looks at the same window as without monitor mode, for example the 50 newest stories, and returns only the items in that window that are new. The first run returns everything. With comments turned on, new comments under stories you already have are returned too. Sort by date in search mode for monitoring, so new items appear at the top of the window.
Pricing
Pay per item: 0.001 USD per delivered story or comment, so 1.00 USD per 1,000 items. Items skipped by monitor mode and error items are free. You can cap the cost of a run with the maximum charge setting in Apify.
Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.
Limits
- The HN API lists hold at most 500 stories (top and new) or 200 stories (best, Ask, Show, jobs).
- The HN Search API returns at most 1,000 hits per query. Split long time ranges with "Date from" and "Date to" to get more.
- Search has no typo tolerance, so
rustdoes not matchtrust. Prefixes still match, sorustalso findsrusty. - Search results and their points and comment counts can lag a few minutes behind Hacker News. List mode reads live data from the official API.
- Who is hiring hints are heuristics. Posts that do not follow the
Company | Role | Locationformat get fewer hints. Always check the text. - Text formatting is simplified. Code blocks keep their line breaks, but not their indentation.
Data source, permitted use and legal
- Data source: the official Hacker News API (hacker-news.firebaseio.com, documented at github.com/HackerNews/API) and the HN Search API by Algolia (hn.algolia.com/api), which Hacker News links as its search. The Actor does not scrape the Hacker News website. Not affiliated with Y Combinator or Hacker News.
- Usernames:
authoris the public HN username that is shown next to every post. The Actor does not load user profiles. - Contact data masked: e-mail addresses and phone numbers in post and comment texts are replaced with
[email removed]and[phone removed]by default. The Who is hiring hints are taken from the masked text. If you turn masking off, you are responsible for any contact data in the results. - Content belongs to its authors: stories, comments and job posts are written by Hacker News users and belong to them. Respect that. Quote with attribution and link back with
hnUrl, and do not republish posts as your own. - Snapshot: Results show the data at the time of the run. We do not guarantee that they are complete, current or correct.
- For business use: This Actor is offered to businesses only, not to consumers.
- Permitted use: Use the data for research, monitoring, analytics and your own products in line with the terms of the Hacker News API and the HN Search API. Do not use it to contact, profile or track individual users.
- Your responsibility: You choose the lists, queries and filters and decide what happens with the results. If the results contain personal data, you are the controller and need your own legal basis.
- No circumvention: The Actor uses public, unauthenticated endpoints only. It does not bypass rate limits or access restrictions.
- Request volume: At most 10 parallel requests to the HN API and 2 to the search API, and it waits when a server asks for it. Do not use it to put excessive load on these services.
- Provider: forgeloop, Markus Heiss, Austria. Imprint, Privacy Notice, Terms of Use.
Questions and issues
Open an issue on the Actor page.