# Hacker News Who Is Hiring Scraper: HN Jobs, Salary & Emails (`data-for-agents/hacker-news-who-is-hiring-scraper`) Actor

Job posts from Hacker News' monthly Ask HN: Who is hiring? thread via the public HN API: company, role, location, remote, salary, visa, tech stack, apply link, emails. Any month since 2011. Free filters (min salary, remote, visa, tech, place), only-new mode. $0.90 per 1,000 job posts; errors free.

- **URL**: https://apify.com/data-for-agents/hacker-news-who-is-hiring-scraper.md
- **Developed by:** [Data for Agents](https://apify.com/data-for-agents) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 job posts

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

### What it returns

One row per job post in Hacker News' monthly **"Ask HN: Who is hiring?"** thread, read from free text into fields:
company, role, location, remote / hybrid / on-site, remote scope, employment type, salary as numbers, equity, visa
sponsorship, technologies, apply link, emails, Y Combinator batch, plus the post's full text and its HN link. The
latest month by default, or any months since April 2011. Replies and posts that are no job ad are left out.

Read from Hacker News' public search API (hn.algolia.com, the search Hacker News itself links to): one request per
month, no login, no proxy. For weekly or daily runs, only-new mode (`jobsToReturn: new`) returns just the posts that
are new since the last run.

**Price:** $0.90 per 1,000 job posts. No start fee. Error rows, filtered-out posts and posts already returned in
only-new mode are free.

### Example input

```json
{
  "months": ["latest"],
  "remoteOnly": true,
  "technologies": ["Rust", "Go"],
  "minSalary": 150000,
  "salaryCurrency": "USD",
  "maxJobs": 100
}
```

### Example output (one real row of November 2026, text shortened)

```json
{
  "status": "ok",
  "id": "50348145",
  "company": "VALIS",
  "title": "Software Engineer, new product line",
  "location": null,
  "is_remote": true,
  "workplace_types": ["remote"],
  "remote_scope": "US, East Coast hours",
  "employment_types": ["full-time"],
  "salary_text": "$125k-$155k",
  "salary_min": 125000,
  "salary_max": 155000,
  "salary_currency": "USD",
  "salary_period": "year",
  "equity": true,
  "visa_sponsorship": false,
  "technologies": ["React", "TypeScript", "C#", ".NET", "PostgreSQL", "AWS"],
  "apply_url": "https://apply.workable.com/valis-insights-1/j/9D0C64C055",
  "header": "VALIS (Valis Insights) | Software Engineer, new product line | REMOTE (US, East Coast hours) | Full-time | $125k-$155k + equity",
  "text": "VALIS (Valis Insights) | Software Engineer, new product line | ... (the whole post)",
  "posted_at": "2026-11-03T04:39:27+00:00",
  "post_url": "https://news.ycombinator.com/item?id=50348145",
  "thread_month": "2026-11",
  "thread_title": "Ask HN: Who is hiring? (November 2026)",
  "error_code": null
}
```

### How well the fields are read (measured)

The reader was tested on every top-level post of four real threads: 2,324 posts, of which 2,306 are job posts.
Share of job posts where the field was found:

| Field | Nov 2026 (218) | Oct 2026 (246) | Mar 2021 (903) | Feb 2017 (939) |
|---|---|---|---|---|
| company | 95% | 94% | 93% | 92% |
| title (role) | 73% | 73% | 64% | 65% |
| location (office) | 54% | 59% | 60% | 87% |
| remote, hybrid or on-site stated | 92% | 93% | 87% | 81% |
| employment type | 73% | 72% | 71% | 63% |
| salary as numbers | 32% | 31% | 4% | 3% |
| technologies | 59% | 60% | 75% | 73% |
| apply link | 67% | 69% | 69% | 61% |

A field the post does not state plainly stays empty rather than guessed: a remote-only post has no office location,
and most posts before 2020 give no salary. In a hand-checked sample of 40 posts that was not used to build the reader,
no company, remote flag or salary was read wrong; 2 of 33 roles and 2 of 25 places were, and both are fixed and tested.

### Measured on Apify (2026-11-20, build 0.1.4, no proxy)

| Input | Memory | Result | Time | Cost |
|---|---|---|---|---|
| `{}` (the latest month) | 1,024 MB (default) | 232 job posts | 4.0-4.5 s | $0.0017 |
| `{"months": ["2026"], "maxJobs": 0}` (11 months) | 1,024 MB (default) | 3,094 job posts, none twice | 38 s, 87 MB peak | $0.020 |
| `{}` | 256 MB | 232 job posts | 5.7 s | $0.0016 |
| `{"months": ["2026"], "maxJobs": 0}` | 256 MB | 3,094 job posts | 110 s, 81 MB peak | $0.020 |

About $0.0065 of platform cost per 1,000 job posts on a large run. Memory buys speed (reading the posts needs CPU,
and Apify gives CPU by memory) at about the same cost.

### Limits

- One request per month and one for the list of months, at most one a second; the API allows 10,000 an hour.
- A month holds 200 to 1,000 posts. `maxJobs` caps a run; left empty it is 1,000 per month asked (a year 12,000,
  `lastMonths: 6` 6,000), and 0 means no limit. The run's maximum cost always applies.
- Only top-level posts are read: replies are not job ads. Posts that are no job ad (a job seeker's template, a remark
  about the thread) are left out and counted in `OUTPUT`.
- Email addresses are returned only when written plainly; disguised ones ("jobs at acme dot com") are left in `text`.
- Posts deleted or flagged on Hacker News are not in the API, so they are not returned.

### Errors

Every row has `status`: `ok` for a job post, `error` for a note. Error rows are free and carry `error_code` and
`error` (one sentence: what happened and what to do). The run itself always ends SUCCEEDED; `OUTPUT` has `"status"`:
`ok`, `partial` (some error rows) or `failed` (nothing usable, for example the source was down), for monitoring.

| error_code | Meaning | Retry helps |
|---|---|---|
| `invalid_input` | The input, or one months entry (a link that is no "Who is hiring?" thread), cannot be used | No: fix the input |
| `not_found` | No thread for that month, or no such HN item | No: check the month or link |
| `no_data` | Nothing matched the filters, nothing new since the last run, or the month has no posts yet | Later, for a new month |
| `blocked` | The API refused the request (HTTP 401 or 403) | Later |
| `rate_limited` | The API kept answering HTTP 429 | Later |
| `timeout`, `network_error` | The API did not answer, or the connection broke | Yes |
| `site_changed` | The API answered in a shape this Actor does not know | No: the Actor needs an update |
| `cost_limit` | Your maximum cost per run was reached | Raise the maximum |
| `max_jobs_reached` | The run stopped at `maxJobs` | Raise `maxJobs` |
| `low_memory` | A month is too large for the run's memory | Run with more memory |
| `run_timeout` | The run stopped itself before its time limit | Give it more time, or use only-new mode |
| `partial_result` | Another only-new run with the same filters is busy, or the month list was cut short | Yes, in a few minutes |
| `internal_error` | A bug on our side | Report it |

### How to use

1. Pick the months: `latest` (default), `previous`, a month (`2026-11`, `November 2026`), a year (`2026`) or a thread
   link (`https://news.ycombinator.com/item?id=50338728`). For a span up to now, set `lastMonths` (for example `6`, the
   newest 6 threads) or write `last 6 months` in `months`.
2. Add filters if you want them. All are applied before anything is charged:
   - `keywords` and `excludeKeywords`: whole words in the company, role or text.
   - `technologies`: matches the technologies field (aliases such as golang, k8s, postgres, js) or the word in the post.
   - `locations`: a city, country (name or code), region (Europe, North America, LATAM, APAC) or `remote`.
   - `remoteOnly`, `visaSponsorship` and `employmentTypes` (full-time, part-time, contract, internship). A post that
     states no type is kept by `employmentTypes`.
   - Pay: `salaryStated` keeps only posts that give pay as numbers. `minSalary` keeps posts paying at least that much
     a year in the post's own currency (the top of a range counts; hourly pay x 2,080, monthly x 12); add
     `salaryCurrency` (`USD`, `EUR`, `GBP` ...) to compare in one currency. Posts with no readable pay are left out by
     these three; a range written with no currency (`200k-325k`) is kept.
3. Run it. Each job post comes back as one row; `OUTPUT` in the run's key-value store holds the counts per month.

### Only-new mode, for schedules

Set `jobsToReturn` to `new` and schedule the Actor (for example daily). Each run returns only the posts that no earlier
run with the same filters returned. The memory ignores the months, so a schedule on `latest` moves to the next month
by itself when the new thread appears. It is kept in a key-value store named `hn-who-is-hiring-memory` in your
account, one record per set of filters. Two runs with the same filters at the same moment do not both return the same
posts: the second waits, then returns a free `partial_result` row.

### Pricing

$0.90 per 1,000 job posts: you pay per job post row returned. No start fee. Error rows, posts removed by your filters and posts already returned
in only-new mode cost nothing. Set a maximum cost per run and the Actor stops cleanly at it, with a free `cost_limit`
row.

### FAQ

**Which posts count as job posts?** Every top-level post of the monthly thread, except the ones that are clearly no
job ad: the "Who wants to be hired?" template posted in the wrong thread, a self-introduction, or a short remark with
no hiring words. `OUTPUT` counts them as `not_job_posts`.

**How are the fields read?** Most posts start with a header line such as `Acme | Senior Engineer | Berlin | REMOTE |
Full-time | €90k`. The Actor splits that line, tells each part by its words, and also reads labelled lines
(`Location: ...`) and plain statements in the text (pay near a pay word, visa sponsorship, technologies). The `header`
and `text` fields hold what the post wrote, so you can check or re-read any field.

**Is it legal?** The posts are public on Hacker News, read from the public HN Search API. Hacker News' terms of use
(ycombinator.com/legal) limit copying and commercial use of the site's content: check that your use fits them.

**Personal data?** Posts can name people and give email addresses, and `author` is the poster's HN username. You need
a lawful basis (for example under the GDPR) to store or use them, and you should not use them for unsolicited mail.

### Other Actors

- [We Work Remotely Jobs Scraper](https://apify.com/data-for-agents/weworkremotely-jobs-scraper): remote jobs from We
  Work Remotely's feeds.

# Changelog

This Actor's version history is a separate document: https://apify.com/data-for-agents/hacker-news-who-is-hiring-scraper/changelog.md

# Actor input Schema

## `months` (type: `array`):

Which monthly "Ask HN: Who is hiring?" threads to read. latest (the default) is the newest thread, previous the one before it. Also a month (2026-11 or November 2026), a year (2026: every month of it) or a thread link (https://news.ycombinator.com/item?id=50338728). Threads run from April 2011. Example: \["latest", "2026-10"].

## `lastMonths` (type: `integer`):

Read the newest N monthly threads, for example 6 for "the last 6 months" (1 to 24). Use this instead of listing month names; it can be combined with months. Empty or 0: only what months asks for.

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

Keep a post only if its company, role or text has at least one of these words or phrases, for example: python, "machine learning", founding. Whole words, any case, accents ignored; C++ and C# work. Empty: no keyword filter.

## `technologies` (type: `array`):

Keep a post only if it names at least one of these technologies, for example: Rust, Go, React, Kubernetes. Matches the post's technologies field (aliases such as golang, k8s, postgres, js work) or the word anywhere in the post. Empty: no technology filter.

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

Keep a post only if one of these places is its office or where it allows remote work: a city (Berlin, NYC, SF), a country (name or code: US, UK, DE), a region (Europe, North America, LATAM, APAC) or remote. Example: \["London", "Germany"]. Empty: no location filter.

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

Keep only posts that say remote work is possible (REMOTE, Remote (US), fully remote). Hybrid and on-site posts are left out.

## `visaSponsorship` (type: `boolean`):

Keep only posts that say they sponsor visas (VISA, visa sponsorship available, we sponsor H-1B). Posts that say nothing about visas are left out.

## `employmentTypes` (type: `array`):

Keep only posts of these types. A post that states no type (about three in ten) is kept.

## `salaryStated` (type: `boolean`):

Keep only posts that give pay as numbers (for example $150k-$200k, €80k, $80/hr): use this for "jobs that mention a salary". The figures are in salary_min, salary_max, salary_currency and salary_period. About 3 in 10 posts of 2026 state pay. Free filter.

## `minSalary` (type: `integer`):

Keep only posts whose pay reaches at least this much a year, in the post's own currency: use this for "jobs paying at least $150k" (150000). The top of a stated range counts; hourly pay counts as x 2,080, monthly as x 12. Posts with no readable pay are left out. Combine with salaryCurrency. 0 or empty: no minimum.

## `salaryCurrency` (type: `string`):

Keep only posts whose pay is in this currency, as a three-letter code: USD, EUR, GBP, CAD, INR and so on ($ counts as USD). Posts with no readable pay are left out; a range written with no currency (200k-325k) is kept. Empty: any currency.

## `excludeKeywords` (type: `array`):

Leave out a post if its company, role or text has any of these words or phrases, for example: crypto, "security clearance". Whole words, any case.

## `jobsToReturn` (type: `string`):

all (default): every post that passes the filters. new: only posts that no earlier run with the same filters returned, so a schedule gets each post once; a schedule on latest moves to the next month by itself. What was returned is remembered per set of filters in a key-value store named hn-who-is-hiring-memory in your account.

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

Stop the run at this many job post rows (each is charged). Left empty, it is 1,000 per month asked (lastMonths 6 is 6,000, a year 12,000), so several months are not cut short; a month has 200 to 1,000 posts. 0 means no limit. A free row says when the limit cut the run short. Your maximum cost per run always applies.

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

Include the whole post as plain text in the text field (about 1 KB a post). Turn it off for small rows with the read fields only.

## Actor input object example

```json
{
  "months": [
    "latest"
  ],
  "keywords": [],
  "technologies": [],
  "locations": [],
  "remoteOnly": false,
  "visaSponsorship": false,
  "employmentTypes": [],
  "salaryStated": false,
  "excludeKeywords": [],
  "jobsToReturn": "all",
  "maxJobs": 100,
  "includeText": true
}
```

# Actor output Schema

## `jobs` (type: `string`):

Every row: job posts (status ok) and free notes (status error).

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

Counts: posts read, job posts, posts matched and returned, per month, error rows by error_code, why the run stopped.

# 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 = {
    "months": [
        "latest"
    ],
    "maxJobs": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-for-agents/hacker-news-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 = {
    "months": ["latest"],
    "maxJobs": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("data-for-agents/hacker-news-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 '{
  "months": [
    "latest"
  ],
  "maxJobs": 100
}' |
apify call data-for-agents/hacker-news-who-is-hiring-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-for-agents/hacker-news-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/2Nlo96mXEREUqb2lH/builds/03BdIaN4EIrabc3tJ/openapi.json
