# Hacker News Who Is Hiring Scraper: Official HN API (`plain-build/hacker-news-hiring-scraper`) Actor

Job posts from the latest Hacker News Who is hiring thread: 10 jobs by default, 200 to 230 if Maximum results is 300. Rows have company, roles, location, remote flag, salary, apply link. Turn on Only new posts for daily runs. No post text or emails. No login, no key.

- **URL**: https://apify.com/plain-build/hacker-news-hiring-scraper.md
- **Developed by:** [Plain Build](https://apify.com/plain-build) (community)
- **Categories:** Jobs, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.28 / 1,000 results

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/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: Official HN API

### What it does

Reads each month's Hacker News "Who is hiring?" thread, one row per job post: company, roles, location, remote flag, salary when stated, apply link. Official HN API, no login, no key. About 200 posts a month (raise Maximum results). No post text or emails. USD 1.50 per 1,000 on Free and Bronze.

The data comes from Hacker News through its official API (https://github.com/HackerNews/API). This Actor is not affiliated with, endorsed by or sponsored by Hacker News. It reads only that API, at most 5 requests at a time, and it checks robots.txt before the first request to each host.

### Who it is for

- Developers who build a job board, a newsletter or an alert from Hacker News hiring posts and need stable JSON columns, not a page to parse.
- Recruiters and sourcers who filter this month's startup posts by remote flag, place or a stated salary in a spreadsheet.
- Salary and market researchers who pull each month (YYYY-MM, about two years back) to compare pay and remote share over time.
- Founders and sales people who want the companies that hire engineers this month, with a link to their own jobs page.

### How it works

The Actor reads the official Hacker News API. It reads the list of threads of the `whoishiring` account and finds the "Ask HN: Who is hiring?" thread of the month you chose, or the latest one. Then it reads each top-level comment of that thread. Each comment is one job post. The first line of a post, usually written as `Company | Role | Location | Salary`, is split into fields; a part counts as a role or a place only when it matches known words, and as a salary only when it holds a figure with a currency, `k` or an hourly rate. A link to a job board (such as Greenhouse, Lever or Ashby) or to a jobs, careers or hiring page becomes `apply_url`; a post without one gets its first link. Emails and personal profiles are never used. Post authors are never read into the output, and emails, phones and @handles are removed. A post that cannot be parsed becomes an uncharged error item.

### How to try it

1. Open the Input tab. The prefilled input returns the first 25 results of the latest thread. A whole thread gives about 200 job posts, so set `max_items` to 300 to get all of it.
2. Click Start. A run usually finishes in under a minute.
3. Open the Output tab to see the results as a table, or export them as JSON, CSV or Excel.

To get an older thread, set the month as YYYY-MM, for example 2026-10. Only threads from about the last two years can be fetched. For an older month, or one with no thread yet, the run gives no results and one uncharged `no_results` item that links to the account's list of threads.

To get new ads the same day, schedule a daily run with `new_since_last_run` on and no month. A thread gets new ads for about 14 days after it opens. Each run then delivers and charges only ads you have not had from this Actor, and a day without new ads costs almost nothing.

- The first run starts at the latest thread. Set `max_items` high enough for it, or the rest comes in the next runs.
- With the option on, `max_items` and your spending limit keep the newest ads. The older ones come in the next run. The run fetches all new posts first, so a low `max_items` does not make it shorter. A run you abort before the end delivers and charges nothing; a run near its timeout stops fetching and delivers what it has.
- A post that failed comes in the next run.
- Ads added to last month's thread still arrive after a new thread has opened. Ads held back from a month you chose also arrive in daily runs.
- Ads you already had are not delivered again under any month while the option is on. Deleted posts and posts flagged dead are not looked at again.
- Turn the option off to get the full thread. Once you have used the option, a run with it off is remembered too. A run made before you first turned it on is not.
- The list of delivered ads is kept in a key-value store named `hacker-news-hiring-scraper-state` in your account. Delete it to start again.
- Two runs at the same time can deliver and charge the same ad, so leave a gap between scheduled runs. If a run crashes at the moment it delivers, those ads can come again in the next run. With the option off, that covers up to 5 seconds of ads.

### How much it costs

You pay per result delivered to the default dataset. Errors and empty results are written to a separate `errors` dataset and are never charged.

| Plan tier | Price per 1,000 results |
|---|---|
| Free and Bronze | USD 1.50 |
| Silver and above | USD 1.28 |

Example: a run that delivers 1,000 results costs USD 1.50 on the Free and Bronze tiers and USD 1.28 on Silver and above, plus the platform's start event of USD 0.00005. If you set a maximum cost per run, the Actor stops before it would go over it and delivers nothing it cannot charge for.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `month` | string | "" | The thread's month as YYYY-MM, for example 2026-11. Leave empty for the latest thread. Only threads from about the last two years can be fetched. |
| `new_since_last_run` | boolean | false | Deliver and charge only posts this Actor has not delivered to you before, so a daily run costs little. A post held back by Maximum results or your spending limit comes in the next run. Delivered posts are remembered in a key-value store named hacker-news-hiring-scraper-state in your account. |
| `max_items` | integer | 10 | How many results to return at most, from 1 to 1000. |

### Output

Each result has these fields. Missing values are `null`, never a different type.

| Field | Type | Description |
|---|---|---|
| `item_type` | string | Always `job_post` |
| `source_id` | string | The Hacker News item id of the post |
| `company` | string | Company name from the post's first line |
| `roles` | string or null | Roles as written in the post's first line. Empty when the Actor finds no job word |
| `location` | string or null | Location as written, for example 'Berlin' or 'Remote (EU)'. Several parts of the post are joined with ' / '. Only 'Onsite' or 'Remote' when the post names no place |
| `remote_flag` | boolean | True when the first line mentions remote work |
| `salary_text` | string or null | Salary or rate as written, no parsing. Only a part with a figure, for example '$150k' or '€80k-€100k'; words alone such as 'Equity' are not a salary |
| `apply_url` | string or null | The post's first link to a job board or a jobs, careers or hiring page; else its first http(s) link. Never an email or a personal profile |
| `posted_at` | string | When the post was made, ISO 8601 UTC |
| `thread_month` | string | The hiring thread's month, YYYY-MM |
| `source_url` | string | The record on the source site |
| `fetched_at` | string | When the record was fetched, ISO 8601 UTC |
| `actor_version` | string | The build that produced the record |

Example item:

```json
{
  "item_type": "job_post",
  "source_id": "<source_id>",
  "company": "<company>",
  "roles": "<roles>",
  "location": "<location>",
  "remote_flag": true,
  "salary_text": "<salary_text>",
  "apply_url": "<apply_url>",
  "posted_at": "<posted_at>",
  "thread_month": "<thread_month>",
  "source_url": "<source_url>",
  "fetched_at": "2026-11-04T09:30:00Z",
  "actor_version": "0.5.1"
}
```

Free-text fields are cleaned before delivery: email addresses, phone numbers, @handles and person names introduced by words such as "contact", "recruiter", "founder" or "manager" are replaced with `[removed]`. The cleaning follows fixed rules, so a name written elsewhere in the text, or in lower case, can remain.

### Other Actors in this family

This Actor is part of a family of job and public-data scrapers built on the same core: one result per charge, a separate uncharged errors dataset, and no personal data. Links follow as the other Actors are published.

### FAQ and support

- **Is there personal data in the output?** No personal data by design: the output holds only facts about jobs and companies, never the author of a post, and contact details are removed from the text as described under Output.
- **Is the data accurate?** Accuracy is not guaranteed. The data is parsed from free text written by many people, and fields can be missing or wrong.
- **Who runs this Actor?** It is not affiliated with Hacker News.
- **What may I do with the data?** You are responsible for complying with the law and with the source's terms when you use the data.
- **How is the data collected?** The official API or open data is used where the source offers it. This Actor uses only the official Hacker News API.
- **Something is broken.** Open an issue on the Issues tab with the run link and your input. Issues are answered by the automated maintainer.

# Changelog

This Actor's version history is a separate document: https://apify.com/plain-build/hacker-news-hiring-scraper/changelog.md

# Actor input Schema

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

The thread's month as YYYY-MM, for example 2026-11. Leave empty for the latest thread. Only threads from about the last two years can be fetched.

## `new_since_last_run` (type: `boolean`):

Deliver and charge only posts this Actor has not delivered to you before, so a daily run costs little. A post held back by Maximum results or your spending limit comes in the next run. Delivered posts are remembered in a key-value store named hacker-news-hiring-scraper-state in your account.

## `max_items` (type: `integer`):

How many results to return at most. You pay per result delivered.

## Actor input object example

```json
{
  "month": "",
  "new_since_last_run": false,
  "max_items": 25
}
```

# Actor output Schema

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

One item per job post.

## `errors` (type: `string`):

Records that could not be delivered, and queries with no results. Not charged.

# 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 = {
    "max_items": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("plain-build/hacker-news-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 = { "max_items": 25 }

# Run the Actor and wait for it to finish
run = client.actor("plain-build/hacker-news-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 '{
  "max_items": 25
}' |
apify call plain-build/hacker-news-hiring-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plain-build/hacker-news-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/jQFdEZvY0bDX166SH/builds/pspe9cz7cDUR5gy2u/openapi.json
