# Monitor Hacker News for mentions of your product

**Use case:** 

Searches Hacker News stories and comments from the last 30 days that mention Supabase, newest first, through the official Algolia search API. Each row has the text, author, points, comment count, date and link. Use it for brand monitoring, developer sentiment and launch tracking. Swap in your product or competitor.

## Input

```json
{
  "mode": "search",
  "lists": [
    "top"
  ],
  "maxItemsPerList": 30,
  "searchQueries": [
    "Supabase"
  ],
  "searchType": "all",
  "searchSort": "date",
  "dateFrom": "30 days",
  "minPoints": 0,
  "minComments": 0,
  "maxResultsPerQuery": 25,
  "storyIds": [
    "8863"
  ],
  "includeComments": false,
  "maxCommentsPerStory": 200,
  "maxCommentDepth": 0,
  "includeStoryRow": true,
  "usernames": [
    "pg"
  ],
  "userSubmissionsLimit": 0,
  "hiringMonths": 1,
  "hiringRemoteOnly": false,
  "hiringMinSalaryUsd": 0,
  "hiringSkipClosed": true,
  "hiringOnePerRole": false,
  "onlyNew": false,
  "monitorName": "default",
  "includeHtml": false,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "rank": {
    "label": "Rank",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "domain": {
    "label": "Domain",
    "format": "text"
  },
  "points": {
    "label": "Points",
    "format": "number"
  },
  "commentsCount": {
    "label": "Comments",
    "format": "number"
  },
  "author": {
    "label": "By",
    "format": "text"
  },
  "storyType": {
    "label": "Type",
    "format": "text"
  },
  "createdAt": {
    "label": "Posted",
    "format": "date"
  },
  "lists": {
    "label": "Lists",
    "format": "array"
  },
  "searchQuery": {
    "label": "Query",
    "format": "text"
  },
  "hnUrl": {
    "label": "On HN",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Hacker News Scraper: Stories, Comments, Hiring Jobs Actor is ready to run with the inputs already set for "Monitor Hacker News for mentions of your product". [Sign up or log in](https://console.apify.com/create-task-from-example/KXepHclhcMXYxzQOu) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Monitor Hacker News for mentions of your product" task

The Hacker News Scraper: Stories, Comments, Hiring Jobs Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, lists, and more, to match your specific use case.

### 3. Receive the "Monitor Hacker News for mentions of your product" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as rank, title, link, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Monitor Hacker News for mentions of your product" task via API](https://apify.com/zhtech/hacker-news-scraper.md).

## FAQ

### What does the Hacker News brand mentions task return?

The Hacker News brand mentions task saves one row per story or comment: type, title or comment text, author, points, number of comments, created date, story link and the Hacker News item URL.

### How do I monitor my own product?

In the Hacker News brand mentions task, replace Supabase with your product, company or competitor. Use quotes for an exact phrase and set Search in to comments or stories only if you prefer.

### Can I get alerts for new mentions?

The Hacker News brand mentions task can run daily on an Apify schedule. Turn on Only new items since the last run so each run returns only new stories and comments, then send them to Slack.

### Does the Hacker News brand mentions task need a login?

The Hacker News brand mentions task uses the official public Hacker News and Algolia APIs, so no login, API key or proxy is needed.

### How much does the Hacker News brand mentions task cost?

The Hacker News brand mentions task uses pay per event pricing: a small start fee plus a fixed price per story or comment saved, with no charge for compute time. Small runs like this fit the Apify free plan credit.

## About this Actor

This example demonstrates how to use [Hacker News Scraper: Stories, Comments, Hiring Jobs](https://apify.com/zhtech/hacker-news-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/hacker-news-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhtech/hacker-news-scraper.md

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`).
