# Hacker News Who Is Hiring Scraper (`ludoe11/hn-who-is-hiring-scraper`) Actor

Fast, lightweight scraper for Hacker News "Who is hiring?" threads. Extract structured tech jobs, direct recruiter emails, remote policies, and tech stacks with custom keyword filtering. Export directly to JSON, CSV, or Excel.

- **URL**: https://apify.com/ludoe11/hn-who-is-hiring-scraper.md
- **Developed by:** [Ludovic Ertzer](https://apify.com/ludoe11) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 job scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-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

## Hacker News "Who Is Hiring" Scraper

Extract structured tech job postings, direct hiring manager emails, remote status, and tech stacks from the monthly Hacker News "Who is hiring?" threads without browser overhead.

### Features

- **Automated Thread Resolution:** Automatically finds and scrapes the newest monthly thread using chronological search if no ID is specified.
- **Keyword & Tech Stack Filtering:** Filter postings by comma-separated keywords (e.g. `Rust, Python, AI, Staff, Founding`) to isolate relevant leads.
- **Remote Role Filtering:** Instantly isolate remote-friendly positions.
- **Direct Lead Extraction:** Regex-based extraction of hiring manager and recruiter contact emails directly from post bodies.
- **Clean Text Formatting:** Strips HTML noise and decodes HTML entities so links and company descriptions are immediately usable.
- **Ultra-Fast & Cost-Efficient:** Direct API execution on 256 MB RAM—extracts hundreds of listings in seconds with zero proxy overhead.
- **Export Ready:** Native exports to JSON, CSV, Excel, XML, or direct webhook ingestion via Zapier and Make.

***

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `query` | String | `""` | Comma-separated keywords to filter by (e.g., `Python, React, Founding`). Matches if any term appears. |
| `remoteOnly` | Boolean | `false` | When enabled, only saves listings that explicitly offer remote work. |
| `maxItems` | Integer | `1000` | Maximum number of job postings to extract. |
| `threadId` | String | `""` | Optional Hacker News story ID (e.g. `41419356`). If empty, scrapes the latest active thread. |

***

### Output Schema

Each job listing pushed to the dataset contains structured metadata:

```json
{
  "id": "41419402",
  "company": "Stripe",
  "headline": "Stripe | Infrastructure Engineer | Remote (US) | Full-time",
  "isRemote": true,
  "email": "eng-jobs@stripe.com",
  "text": "Stripe is looking for engineers to scale our core payment systems. We rely heavily on Go, Ruby, and AWS. Apply at [https://stripe.com/jobs/](https://stripe.com/jobs/)...",
  "author": "recruiter_dan",
  "postedAt": "2026-09-01T15:04:12.000Z",
  "url": "[https://news.ycombinator.com/item?id=41419402](https://news.ycombinator.com/item?id=41419402)"
}
```

***

### Use Cases

- **Job Seekers:** Set up automated email or Slack alerts via Make/Zapier whenever a role matching your tech stack is posted.
- **Recruitment & Lead Generation:** Collect direct contact info for engineering managers and technical founders actively looking for talent.
- **Market Intelligence:** Monitor technology adoption, remote work policies, and compensation trends across tech hubs.

***

### Pricing

- Zero start fees.
- Platform compute included.

# Actor input Schema

## `threadId` (type: `string`):

HN Item ID (e.g. 41419356). If omitted, the latest monthly 'Who is hiring?' thread is scraped automatically.

## `remoteOnly` (type: `boolean`):

Filter only jobs that explicitly offer remote work.

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

Maximum number of job listings to extract.

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

Filter by comma-separated keywords (e.g. 'Python, React, Staff'). Matches if any keyword is found.

## Actor input object example

```json
{
  "remoteOnly": false,
  "maxItems": 1000
}
```

# Actor output Schema

## `summary` (type: `string`):

Summary of the scraping run

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ludoe11/hn-who-is-hiring-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("ludoe11/hn-who-is-hiring-scraper").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 '{}' |
apify call ludoe11/hn-who-is-hiring-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ludoe11/hn-who-is-hiring-scraper"
        }
    }
}
```

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/ApqYF3BQyF5BshJfD/builds/4Bufvqol7P4hdOBhT/openapi.json
