Search Hacker News Stories by Keyword: OpenAI & More
Search Hacker News for any keyword like OpenAI and get matching stories ranked by relevance, each with points, author, and a direct comment-thread link.
How it works
- 1Open it on Apify
Hit Run on Apify — it opens the tool in the cloud, no install.
- 2Set the inputs
Adjust
query,tags,sortBy(sensible defaults are pre-filled). - 3Click Run
The tool runs on Apify’s cloud and collects the data for you.
- 4Export the results
Download as JSON, CSV or Excel, or pipe straight into your app, Google Sheets, or an AI agent.
Inputs
| Field | What it does | Type |
|---|---|---|
query | Keywords to search Hacker News for (e.g. "openai", "rust async"). Leave empty to get the newest/front-page items for the chosen tag. | string |
tags | Which kind of Hacker News items to return: stories, Show HN, Ask HN, comments, or current front page. | string |
sortBy | Order results by Algolia relevance (best match) or by date (newest first). | string |
minPoints | Only return items with at least this many points (upvotes). Leave empty for no minimum. Applies mainly to stories. | integer |
maxItems | Maximum number of items to return. The actor paginates the API until it has this many (or runs out). | integer |
notionConnector | Optional. Write each item as a page into your Notion when the run finishes. Authorize a Notion connector once in Settings → API & Integrations → MCP connectors, then pick it here. Leave empty to skip (default) — results are always saved to the dataset regardless. | string |
notionParentId | Optional. The Notion data source ID of the database to write into (only used if a Notion connector is set). Leave empty to create the pages privately in your workspace instead. | string |
What you get
A structured dataset — each result includes fields like:
authorcreatedAthnUrlnumCommentsobjectIdpointstexttitletypeurlExport every run as JSON, CSV or Excel, or send it to your app, a database, Google Sheets, or an AI agent.
More use cases for Hacker News Scraper
Scrape New Show HN Launches: Newest Products First
Founders and marketers tracking competitors get the latest Show HN posts, newest first, with product titles, points, and links to every fresh launch.
Hacker News Front Page Scraper: Live Top Stories
A snapshot of the current Hacker News front page: titles, points, authors, and comment counts for every story ranking right now, returned as structured JSON.