# Hacker News Jobs Scraper: Who Is Hiring (`heyiambk/hn-who-is-hiring`) Actor

Scrape the monthly Hacker News 'Who is hiring?' thread into structured job rows: company, roles, remote/hybrid/onsite, locations, salary, visa, tech stack and apply links. Filter by keyword, remote and location. Pay per job.

- **URL**: https://apify.com/heyiambk/hn-who-is-hiring.md
- **Developed by:** [Tan Boon Kwee](https://apify.com/heyiambk) (community)
- **Categories:** Jobs, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 jobs

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 Jobs Scraper: Who Is Hiring

**Hacker News Jobs Scraper** turns the monthly Hacker News **"Ask HN: Who is hiring?"** thread into clean, structured job rows: company, roles, remote or onsite, locations, salary, visa sponsorship, tech stack and apply links. Filter by keyword, remote and location, then export HN jobs to CSV, Excel or JSON, or send them to Sheets, Slack or your own app.

### What data do you get per job?

- **company**, plus its YC batch when given (e.g. W24)
- **roles** listed in the post
- **workMode**: remote, hybrid, onsite or a mix
- **locations** as written (e.g. "REMOTE (US)", "London, UK")
- **employmentType** (full-time, part-time, contract, intern)
- **salary** text when posted (e.g. "$180k-$220k", "€5,000/month")
- **visaSponsorship**: true / false / null when not stated
- **techStack** detected in the post (Python, Rust, React, Kubernetes, ...)
- **applyUrls** from the post
- **closed**: whether the post was edited to say the role is filled
- **hnUrl** of the post and the thread, the month, and optionally the cleaned post text

Email addresses are removed from the text, and commenter usernames are not included.

### What can I use the HN Who Is Hiring scraper for?

- **Job seekers:** get remote Python, Rust or AI roles with salaries in one sheet instead of scrolling hundreds of comments.
- **Recruiters and sales teams:** see which startups are hiring this month, for which roles and stacks.
- **Researchers and analysts:** track hiring demand, remote share, tech stacks and salary bands month by month (up to 12 months back).
- **Job boards and newsletters:** a monthly feed of fresh startup roles with apply links.

### How much does it cost?

Pay per job row: **$1.50 per 1,000 jobs** ($0.0015 each), plus Apify's tiny start fee per run (a fraction of a cent). Filtered-out posts are not charged.

Pricing examples:

- **One month, all jobs:** a typical thread has about 200–400 posts, so a full month is about **$0.30–$0.60**
- **One month, remote Python only:** usually a few dozen rows, **well under $0.10**
- **Last 12 months for trend research:** about 3,000–5,000 rows = **about $4.50–$7.50**

Set **max cost per run** or **Max jobs** and the Actor stops before it goes over.

### How to scrape Hacker News Who Is Hiring

1. Choose how many **Months** to parse (1 = the current thread), or set one **Specific month** like `2026-11`.
2. Optionally add **Keywords** (e.g. python, rust, "machine learning"), turn on **Remote only**, or add **Locations**.
3. Click **Start** and download the rows as CSV, Excel or JSON.

### Input example

```json
{
  "months": 1,
  "keywords": ["python", "machine learning"],
  "remoteOnly": true,
  "locations": ["Europe", "London"],
  "excludeClosed": true,
  "includeText": true,
  "maxJobs": 500
}
```

Set `month` (e.g. `"2026-10"`) to parse one specific month instead.

### Output example

```json
{
  "month": "2026-11",
  "company": "River",
  "ycBatch": null,
  "roles": ["Staff Engineers (Elixir)"],
  "workMode": "remote",
  "locations": ["NYC or REMOTE (US, Europe, South America)"],
  "employmentType": [],
  "salary": "$200K-$250K",
  "visaSponsorship": null,
  "techStack": ["Elixir", "GraphQL", "React"],
  "applyUrls": ["https://jobs.ashbyhq.com/river"],
  "closed": false,
  "hnUrl": "https://news.ycombinator.com/item?id=50338800",
  "threadUrl": "https://news.ycombinator.com/item?id=50338728",
  "postedAt": "2026-11-02T16:10:00.000Z"
}
```

### Automate it: schedules, webhooks, Google Sheets and Slack

- **Schedule:** the thread is posted on the first weekday of each month and fills up over the following days. In Apify Console, open **Schedules** and run this Actor monthly (for example on the 3rd) and again mid-month if you want late posts.
- **Webhook:** on the Actor's **Integrations** tab, add an HTTP webhook for the *Run succeeded* event. The payload includes the run's `defaultDatasetId`, so your job board or app can fetch the rows from `https://api.apify.com/v2/datasets/<datasetId>/items`.
- **Google Sheets:** export each run with the Google Sheets Import & Export Actor (`lukaskrivka/google-sheets`), or pull the latest run into a sheet with `=IMPORTDATA("https://api.apify.com/v2/acts/heyiambk~hn-who-is-hiring/runs/last/dataset/items?format=csv&token=YOUR_API_TOKEN")`. Keep that sheet private, because it contains your token.
- **Slack:** connect Slack on the Integrations tab to get a message when the monthly run finishes, with a link to the new jobs.
- **API, Make, Zapier, n8n:** start runs and read results through the Apify API or the Apify apps for those tools.

### FAQ

#### Is this scraping Hacker News pages?

No. Data comes from the official Hacker News Algolia API.

#### How accurate are the fields?

Posts are free text, so fields are parsed from the usual `Company | Role | Location | ...` header with rules. Most posts parse cleanly; check unusual ones against `hnUrl`. The full cleaned text is included when **Include full post text** is on.

#### Can I get older months?

Yes. Set **Months** up to 12, or one **Specific month** such as `2026-10`.

#### Are filled roles included?

By default, posts edited to say the role is filled or closed are skipped. Turn off **Skip closed posts** to keep them, flagged with `closed: true`.

#### Does it collect personal data?

No. Commenter usernames are not included, and email addresses are removed from the post text. Apply links from the post are kept.

### How it works and limits

- Data comes from the official Hacker News Algolia API, not by scraping pages.
- Posts are free text, so fields are parsed from the usual `Company | Role | Location | ...` header with rules. Check unusual posts against `hnUrl`.
- Roles that are only described in the body may come back as an empty list; the full text is included for those.

### Support

Open an issue on the Issues tab with your run ID.

# Actor input Schema

## `months` (type: `integer`):

How many monthly threads to parse, newest first (1 = current month).

## `month` (type: `string`):

Parse one month only, e.g. 2026-11. Overrides 'Months'.

## `keywords` (type: `array`):

Keep jobs whose post mentions any of these (case-insensitive), e.g. python, rust, 'machine learning'.

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

Keep only posts that say REMOTE.

## `locations` (type: `array`):

Keep jobs whose header mentions any of these, e.g. London, NYC, Europe.

## `excludeClosed` (type: `boolean`):

Skip posts edited to say the role is filled or no longer taking applications.

## `includeText` (type: `boolean`):

Add the cleaned post text to each row.

## `maxJobs` (type: `integer`):

Stop after this many job rows.

## Actor input object example

```json
{
  "months": 1,
  "month": "",
  "keywords": [],
  "remoteOnly": false,
  "locations": [],
  "excludeClosed": true,
  "includeText": true,
  "maxJobs": 500
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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("heyiambk/hn-who-is-hiring").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("heyiambk/hn-who-is-hiring").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 heyiambk/hn-who-is-hiring --silent --output-dataset

```

## MCP server setup

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

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/Ca0ICUgZRBOvrmx3U/builds/Wq1Rh4NPKQcfjrXbY/openapi.json
