# Hacker News Show HN & Launch Monitor (`adaptive_labs/hacker-news-launches-monitor`) Actor

Monitor Hacker News Show HN posts, launches and front-page stories, optionally filtered by keyword. Get points, comment counts, authors and links. Only-new mode for scheduled launch tracking.

- **URL**: https://apify.com/adaptive_labs/hacker-news-launches-monitor.md
- **Developed by:** [Adaptive Labs](https://apify.com/adaptive_labs) (community)
- **Categories:** News, Developer tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Hacker News Show HN & Launch Monitor

Track new product launches on Hacker News: Show HN posts, newest stories, or the front page, optionally filtered by a keyword. Each story comes back as clean JSON with title, link, author, points and comment count. Turn on **only new** mode and each run returns only stories you have not seen before.

### Who it's for

- Founders and product teams scouting what other builders are launching
- Developer-relations and marketing teams tracking launches in their category
- Researchers and journalists following technology trends on Hacker News

### Three ways to use it

1. **Category launch watch:** run `mode: show_hn` with a query such as `AI` or `SaaS` each day.
2. **Competitor mentions:** search for a competitor's name in `new` mode and review the threads.
3. **Front-page snapshot:** run `mode: front` once a day to record what reached the front page.

### Quick start

1. Choose a **Mode**: `show_hn` (default), `launches`, `new`, or `front`.
2. Optionally enter a **Search query** such as `AI` to filter the stories.
3. Set **Max stories** to 20 and click **Start**.

For scheduled monitoring, turn on **Only new since last run**, give the watch a unique **Monitor name**, and add the Actor to a schedule.

### Input example

```json
{
  "mode": "show_hn",
  "query": "AI",
  "maxStories": 20,
  "onlyNew": true,
  "monitorName": "show-hn-ai-daily"
}
```

### Output example

```json
{
  "storyId": 41234567,
  "title": "Show HN: Example, a tool for planning weekly reviews",
  "url": "https://example.com/weekly-reviews",
  "hnUrl": "https://news.ycombinator.com/item?id=41234567",
  "author": "example_user",
  "points": 87,
  "numComments": 34,
  "createdAt": "2026-11-08T14:12:00.000Z",
  "createdAtI": 1794854720,
  "storyText": null,
  "mode": "show_hn",
  "query": "AI",
  "source": "hacker-news",
  "scrapedAt": "2026-11-09T09:00:00Z",
  "tags": ["show_hn", "story"]
}
```

### Output fields

storyId, title, url, hnUrl, author, points, numComments, createdAt, createdAtI, storyText, mode, query, source, scrapedAt, tags.

### Use it from your code or tools

**Apify API (cURL)**: start a run and get the results in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/adaptive_labs~hacker-news-launches-monitor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "show_hn", "maxStories": 20}'
```

**JavaScript / TypeScript**

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('adaptive_labs/hacker-news-launches-monitor').call({
  "mode": "show_hn",
  "maxStories": 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("adaptive_labs/hacker-news-launches-monitor").call(run_input={
  "mode": "show_hn",
  "maxStories": 20
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**No-code and AI agents**

- **Make, Zapier, n8n, Google Sheets, Slack**: use the Apify integration for your tool, pick this Actor and map the dataset fields.
- **Schedules and webhooks**: add the Actor to an Apify schedule (for example every morning) and send results anywhere with a webhook.
- **AI agents and MCP**: this Actor works with the Apify MCP server, so Claude, ChatGPT, Cursor and other MCP clients can call it as a tool. Clean, flat JSON output is easy for LLMs to read.
- **Export**: download results as JSON, CSV, Excel, XML or HTML from the Storage tab.

### FAQ

**Does it need a Hacker News account or API key?** No. It uses the public Hacker News search API (Algolia).

**What about rate limits?** The public API allows a generous request volume, but the Actor still paces its calls and retries temporary errors. For frequent monitoring, keep **Max stories** modest and schedule runs hourly or daily rather than every minute.

**How does only-new mode work?** Saved story IDs are stored under your **Monitor name** and skipped on the next run with the same key. Use a different key for each mode or query.

**Why do points and comments change?** Scores move as people vote and comment. The values are a snapshot taken at the time of each run.

**How much does it cost?** The Actor's Apify pricing model is listed as free. Your own Apify platform usage (compute and storage) is billed under your account; check the Pricing tab for the latest terms.

### Responsible use

This Actor reads public Hacker News data through its public search API. Follow Hacker News's guidelines and the API's terms, and do not use the data to harass or identify individuals. This Actor is not affiliated with or endorsed by Y Combinator or Hacker News.

### Feedback and support

We build and maintain this Actor at **Adaptive Labs** and we read every message.

- If it helped you, please **leave a quick review** on the Actor page. It really helps other people find it.
- Feature requests, bugs or a source you would like added: email **support@adaptivelabs.app** or open an issue on the Issues tab.

# Actor input Schema

## `mode` (type: `string`):

show_hn or launches for Show HN posts, new for newest stories, front for front page.

## `query` (type: `string`):

Optional Algolia text filter, for example AI or SaaS.

## `maxStories` (type: `integer`):

Maximum stories to save.

## `onlyNew` (type: `boolean`):

Skip stories already returned by an earlier run that used the same monitor key.

## `monitorName` (type: `string`):

Name of the saved state used for only-new mode.

## `proxyConfiguration` (type: `object`):

Optional. The public HN Algolia API normally works without a proxy.

## Actor input object example

```json
{
  "mode": "show_hn",
  "maxStories": 20,
  "onlyNew": false,
  "monitorName": "default",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `stories` (type: `string`):

Default dataset of monitored stories (overview view).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "show_hn",
    "maxStories": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("adaptive_labs/hacker-news-launches-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "show_hn",
    "maxStories": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("adaptive_labs/hacker-news-launches-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "show_hn",
  "maxStories": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call adaptive_labs/hacker-news-launches-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adaptive_labs/hacker-news-launches-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4GXhzkTMcVlRMYlt8/builds/asVsIQ0Zr4spSkXpI/openapi.json
