# Hacker News, Show HN & Dev.to Scraper | 2Space (`2space/hn-dev-launch-intelligence`) Actor

Fast Hacker News and Dev.to scraper. Scrape Show HN launches, brand mentions, stories, Dev.to articles, product domains, points, comment counts, and top user comment snippets.

- **URL**: https://apify.com/2space/hn-dev-launch-intelligence.md
- **Developed by:** [2Space Group](https://apify.com/2space) (community)
- **Categories:** Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 mentions or launch extracted

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

> **Built by 2Space Group** — Fast, lightweight AI & B2B data Actors on Apify. Zero browser bloat, predictable Pay-Per-Event pricing, and 1-step MCP support for ChatGPT, Claude Code, Cursor, Antigravity & n8n.

### What does Hacker News & Dev.to Launch Intelligence do?

**Hacker News & Dev.to Launch Intelligence** (`reminiscent_medaka/hn-dev-launch-intelligence`) is a fast, zero-LLM-cost **Hacker News scraper**, **Show HN launch tracker**, **Dev.to articles API**, and **developer brand sentiment** monitor. Querying the official Algolia HN Search API and Dev.to Public API concurrently, it captures product launches, brand mentions, normalized `productDomain` links, points, comment counts, and optional top comment pain-point snippets—with zero headless browsers or external LLM fees.

***

### Features

- **Dual Developer Platforms (`hackernews` & `devto`)**: Query Hacker News (all mentions, `show_hn` launches, or `stories`) and Dev.to technical articles in parallel with round-robin relevance or chronological date sorting.
- **Normalized Product Domains**: Automatically extracts clean `productDomain` values (ignoring `news.ycombinator.com` self-links) so you can join launches directly with CRM or domain enrichment pipelines.
- **Optional Top Comment Snippets (`includeTopComments`)**: Extracts clean plain-text excerpts from top discussion threads to surface developer feedback, objections, and feature requests.
- **Zero-Browser, Sub-Second API Queries**: Pure HTTP JSON fetches keep compute costs negligible with zero LLM API keys.
- **No Data, No Charge Guardrail**: Zero-match queries never trigger a charge, while `minPoints`, `maxItems`, and `maxCostUsd` keep every run predictable.

***

### What data can this Actor extract?

| Field | Type | Description |
| --- | --- | --- |
| `source` / `itemType` | `string` | Platform (`hackernews` or `devto`) and type (`show_hn`, `story`, `ask_hn`, `comment`, `article`) |
| `id` / `title` | `string` | Unique platform ID and headline |
| `url` / `productDomain` | `string \| null` | Linked product/article URL and normalized hostname |
| `discussionUrl` | `string` | Direct permalink to the Hacker News or Dev.to thread |
| `author` | `string \| null` | Author username |
| `points` / `commentsCount` | `integer` | Hacker News points or Dev.to reactions and comment count |
| `createdAt` / `extractedAt` | `string \| null` | ISO-8601 publication and extraction timestamps |
| `tags` | `string[]` | Normalized tags (`show_hn`, `mcp`, `typescript`, etc.) |
| `topCommentSnippets` | `string[]` | Plain-text top discussion excerpts when `includeTopComments` is `true` |

***

### How much does it cost?

This Actor uses transparent **Pay-Per-Event (PPE)** monetization with **No Data, No Charge** enforcement:

- **`mention-or-launch-extracted`**: Charged (`count: 1`) only after a validated launch or mention is pushed to the dataset.
- **`comment-pain-summary`**: Optional add-on event (`count: 1`) charged only when `includeTopComments` is `true` and at least one non-empty comment snippet is extracted.

Zero matching items = **$0.00**.

***

### Input & Output Examples

#### Input Example

```json
{
  "sources": ["hackernews", "devto"],
  "query": "mcp",
  "hnMode": "all",
  "sortBy": "relevance",
  "minPoints": 5,
  "includeTopComments": false,
  "maxItems": 25,
  "maxCostUsd": 2.0
}
```

#### Output Example

You can download the dataset in various formats such as **JSON, HTML, CSV, or Excel** via Apify Console or the Apify API.

```json
{
  "source": "hackernews",
  "itemType": "show_hn",
  "id": "44502318",
  "title": "Show HN: Open-source MCP server toolkit",
  "url": "https://example.com/mcp-toolkit",
  "productDomain": "example.com",
  "discussionUrl": "https://news.ycombinator.com/item?id=44502318",
  "author": "exampleuser",
  "points": 142,
  "commentsCount": 38,
  "createdAt": "2026-01-15T12:00:00.000Z",
  "tags": ["story", "show_hn"],
  "topCommentSnippets": [],
  "extractedAt": "2026-11-30T07:00:00.000Z"
}
```

***

### Connect Permanently to Your AI Agent (1 Step)

#### ChatGPT

Go to **ChatGPT -> Settings -> Apps & Connectors -> Create -> Apify MCP OAuth**, authorize Apify, and attach `reminiscent_medaka/hn-dev-launch-intelligence` (`https://mcp.apify.com?tools=reminiscent_medaka/hn-dev-launch-intelligence`).

#### Claude Code

```bash
claude mcp add 2space "https://mcp.apify.com?tools=reminiscent_medaka/hn-dev-launch-intelligence" -t http
```

#### Cursor / Antigravity

Add to `.cursor/mcp.json` or your Antigravity MCP settings:

```json
{
  "mcpServers": {
    "2space": {
      "url": "https://mcp.apify.com?tools=reminiscent_medaka/hn-dev-launch-intelligence",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

#### n8n, Make & Zapier

- **n8n**: Import [`n8n/brand-mentions-showhn-radar.json`](./n8n/brand-mentions-showhn-radar.json) to schedule daily brand-mention scans and route high-traction `Show HN` launches to Slack or Discord.
- **Make**: Connect **Apify -> Run an Actor** (`reminiscent_medaka/hn-dev-launch-intelligence`) and pipe new launches into HubSpot, Airtable, or Slack.
- **Zapier**: Trigger **Apify -> Run Actor** daily and send new developer mentions directly to your team channel or Notion tracker.

***

### Troubleshooting & Support

- **Dev.to returns fewer results for multi-word queries?** Dev.to's public API filters primarily by tag and recent/top feeds; use a concise single keyword or lower `minPoints` to `0` for wider coverage. Inspect `RUN_DIAGNOSTICS` in Key-Value Store for detailed fetch/filter counts.
- **Need help or extra developer sources?** Open an **Issue** in the **Issues** tab on Apify Store, or check the **API** tab for REST, JavaScript, and Python SDK snippets.
- **Ethical Data Notice**: Our Actors only extract publicly posted Hacker News and Dev.to content. Public usernames and links may constitute personal data under GDPR; ensure you have a lawful basis before storing or processing user data.

***

### More Tools by 2Space Group

Explore our full suite of fast, zero-bloat AI & B2B Actors on **[2Space Group on Apify](https://apify.com/reminiscent_medaka)**:

- [B2B Domain Enricher](https://apify.com/reminiscent_medaka/b2b-domain-enricher) (`b2b-domain-enricher`)
- [SaaS Pricing Extractor](https://apify.com/reminiscent_medaka/saas-pricing-extractor) (`saas-pricing-extractor`)
- [ATS Career & Jobs API](https://apify.com/reminiscent_medaka/ats-career-jobs-api) (`ats-career-jobs-api`)
- [Shopify Store Intel](https://apify.com/reminiscent_medaka/shopify-store-intel) (`shopify-store-intel`)
- [SEC EDGAR Intelligence](https://apify.com/reminiscent_medaka/sec-edgar-intelligence) (`sec-edgar-intelligence`)
- [Gov Grants & Contracts Radar](https://apify.com/reminiscent_medaka/gov-grants-contracts-radar) (`gov-grants-contracts-radar`)
- [Sitemap & llms.txt Precision AI Docs Crawler](https://apify.com/reminiscent_medaka/llms-sitemap-rag-mcp) (`llms-sitemap-rag-mcp`)
- [Tech Stack, DNS, SSL & WHOIS/RDAP Auditor](https://apify.com/reminiscent_medaka/tech-stack-dns-whois-mcp) (`tech-stack-dns-whois-mcp`)
- [GitHub Repo & Maintainer B2B Signals](https://apify.com/reminiscent_medaka/github-repo-b2b-signals) (`github-repo-b2b-signals`)
- [JSON-LD & AI SEO (GEO) Auditor](https://apify.com/reminiscent_medaka/jsonld-ai-seo-auditor) (`jsonld-ai-seo-auditor`)
- [YouTube Transcript & Metadata MCP](https://apify.com/reminiscent_medaka/youtube-transcript-metadata-mcp) (`youtube-transcript-metadata-mcp`)
- [Google News Article Scraper MCP](https://apify.com/reminiscent_medaka/google-news-article-scraper-mcp) (`google-news-article-scraper-mcp`)
- [Universal Web Extractor MCP](https://apify.com/reminiscent_medaka/universal-web-extractor-mcp) (`universal-web-extractor-mcp`)

# Actor input Schema

## `sources` (type: `array`):

Developer platforms to query for product launches and brand mentions.

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

Keyword, brand, or product name to search across Hacker News and Dev.to (e.g., "mcp", "supabase", "playwright"). Leave empty for broad Show HN or trending feed.

## `hnMode` (type: `string`):

Filter Hacker News results to all mentions, Show HN launches only, or stories only.

## `sortBy` (type: `string`):

Order results by relevance/popularity or newest creation date.

## `minPoints` (type: `integer`):

Minimum Hacker News points or Dev.to public reactions required to include an item.

## `includeTopComments` (type: `boolean`):

Fetch top discussion comment snippets for each item (triggers the comment-pain-summary add-on event when >= 1 snippet is extracted).

## `maxItems` (type: `integer`):

Hard cap on the total number of items extracted across all selected sources.

## `maxCostUsd` (type: `number`):

Hard pre-charge USD spending ceiling for Pay-Per-Event billing.

## Actor input object example

```json
{
  "sources": [
    "hackernews",
    "devto"
  ],
  "query": "mcp",
  "hnMode": "all",
  "sortBy": "relevance",
  "minPoints": 5,
  "includeTopComments": false,
  "maxItems": 25,
  "maxCostUsd": 2
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset items containing extracted Hacker News and Dev.to launches and mentions.

# 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 = {
    "sources": [
        "hackernews",
        "devto"
    ],
    "query": "mcp",
    "hnMode": "all",
    "sortBy": "relevance",
    "minPoints": 5,
    "maxItems": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("2space/hn-dev-launch-intelligence").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 = {
    "sources": [
        "hackernews",
        "devto",
    ],
    "query": "mcp",
    "hnMode": "all",
    "sortBy": "relevance",
    "minPoints": 5,
    "maxItems": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("2space/hn-dev-launch-intelligence").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 '{
  "sources": [
    "hackernews",
    "devto"
  ],
  "query": "mcp",
  "hnMode": "all",
  "sortBy": "relevance",
  "minPoints": 5,
  "maxItems": 25
}' |
apify call 2space/hn-dev-launch-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,2space/hn-dev-launch-intelligence"
        }
    }
}
```

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/io7BxnGE5GzX3t7qS/builds/A0KsawqacUTOBMqGm/openapi.json
