# Hacker News Who is Hiring Scraper (`evpp/hn-whoishiring`) Actor

Extract Hacker News Who is Hiring posts as clean JSON: company, role, location, remote status, technologies, contact details, and source links.

- **URL**: https://apify.com/evpp/hn-whoishiring.md
- **Developed by:** [Evp Labs](https://apify.com/evpp) (community)
- **Categories:** Jobs, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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/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 - HN Jobs API

Turn the monthly **"Ask HN: Who is hiring?"** thread into a clean, structured JSON job board. Every month, hundreds of companies post jobs directly on Hacker News - one of the highest-signal tech job boards on the internet. This Actor reads the latest thread (or a thread you pick), parses each job post, and pushes structured items to a dataset: **company, role, location, remote flag, salary, URLs, emails**, and a link back to the original comment.

No browser, no proxy, no login. The Actor calls the public [HN Algolia API](https://hn.algolia.com/api/v1) directly, so a typical run finishes in seconds and costs fractions of a cent.

### Use cases

- **Tech recruiters** - build a fresh lead list of companies actively hiring each month, with contact emails and application links extracted.
- **Job seekers** - filter hundreds of posts down to remote-only roles matching your stack (`searchTerm: "react"`, `remoteOnly: true`).
- **HR analytics** - track hiring volume, remote share, salary mentions, and location trends month over month by scraping every thread since 2011.
- **AI job agents** - feed structured HN jobs into your matching pipeline on a schedule; combine with Apify Schedules + webhooks for a zero-maintenance job monitor.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `threadId` | string | *(auto)* | Optional HN story ID of a specific "Who is hiring?" thread (e.g. `50338728`). Leave empty to auto-detect the newest monthly thread. |
| `remoteOnly` | boolean | `false` | Only return job posts that mention remote work. |
| `searchTerm` | string | *(empty)* | Case-insensitive keyword filter on the full post text (e.g. `react`, `python`, `fintech`). |
| `postedWithinDays` | integer | *(none)* | Only include posts published within the last N days. |
| `maxItems` | integer | `15` | Maximum number of job posts pushed to the dataset. Strictly enforced. |
| `proxyConfiguration` | object | disabled | Not needed - the public API is called directly. Keep disabled. |

### Output

One dataset item per top-level job post:

| Field | Type | Description |
| --- | --- | --- |
| `commentId` | integer | HN comment ID of the job post |
| `threadId` | integer | HN story ID of the thread |
| `threadTitle` | string | e.g. `Ask HN: Who is hiring? (November 2026)` |
| `author` | string | HN username that posted the job |
| `postedAt` | string | ISO 8601 publish timestamp |
| `company` | string | Company name (first `\|` segment of the header line) |
| `title` | string | Role/title parsed from the header line |
| `location` | string | City, country, or work arrangement segment |
| `remote` | boolean | `true` when the post mentions remote work |
| `salaryText` | string | Salary/equity segment when present |
| `urls` | string\[] | All links found in the post |
| `email` | string | First email address found, when present |
| `text` | string | Plain-text post body (~500 chars) |
| `hnUrl` | string | Link to the comment on Hacker News |

Job posts on HN are free-form text, so `company`, `title`, `location`, and `salaryText` are parsed on a best-effort basis from the conventional `Company | Role | Location | REMOTE` header line. Empty fields are omitted rather than returned as `null`.

#### Example item

```json
{
    "commentId": 50338736,
    "threadId": 50338728,
    "threadTitle": "Ask HN: Who is hiring? (November 2026)",
    "author": "benchaupt",
    "postedAt": "2026-11-02T16:01:53.000Z",
    "company": "Synteq",
    "title": "Growth Lead & Systems Administrator",
    "location": "Austin, TX",
    "remote": true,
    "urls": ["https://synteq.io/careers"],
    "text": "Synteq | Growth Lead & Systems Administrator | Austin, TX | REMOTE (US) | Full-time\n\nSynteq is a developer cloud running our own hardware and network...",
    "hnUrl": "https://news.ycombinator.com/item?id=50338736"
}
```

### How it works

1. **Find the thread** - if `threadId` is empty, the Actor queries the HN Algolia API for the newest monthly thread posted by the `whoishiring` bot account.
2. **Fetch the comments** - one request to `/api/v1/items/<threadId>` returns the entire comment tree; only top-level comments are job posts.
3. **Filter & parse** - each post is filtered by `remoteOnly`, `searchTerm`, and `postedWithinDays`, then parsed into a flat structured item.
4. **Push results** - items go to the default dataset until `maxItems` is reached.

A typical monthly thread has 300-500 top-level comments, all fetched in a single HTTP request.

### Cost

The Actor makes 2 API requests per run and uses minimal memory (256 MB). Per-result pricing around **$2.50 per 1,000 job posts** reflects the structured parsing premium; scraping a full monthly thread (~400 posts) costs about **$0.001** in compute. A free-tier Apify account can run this hundreds of times per month.

### FAQ

**How fresh is the data?**
The default mode always scrapes the *latest* monthly thread. New posts land in the thread throughout the month, so re-running (or scheduling a daily run) picks up new jobs as they appear. Use `postedWithinDays` to only return recent additions.

**Can I scrape old threads?**
Yes. Every monthly thread since 2011 has a numeric story ID. Pass it as `threadId` - e.g. `49922569` is October 2026, `49522897` is September 2026. Find IDs by searching HN or by running the Actor once and subtracting from the returned `threadId`.

**Why are some fields missing?**
Posts are written by humans in a loose format. When the header line doesn't follow the `Company | Role | Location` convention, fields like `salaryText` or `location` may be absent. The full `text` field always contains the complete post.

**Is this within HN's terms?**
The Actor uses the official public Algolia HN API (the same API behind hnrss and HN's own search UI) with polite delays and a maximum of 4 retries. No rate limits are hit in normal use.

**Does it need proxies?**
No. The Algolia API is a public, unauthenticated JSON API designed for programmatic access.

### Feedback

Found a parsing edge case or want a field added? Open an issue on the Actor's page - the header-line parser improves with real examples.

# Actor input Schema

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

Optional Hacker News story ID of a specific "Ask HN: Who is hiring?" thread (e.g. 50338728 for November 2026). Leave empty to auto-detect and scrape the most recent monthly thread.

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

When enabled, only job posts that mention "remote" are returned.

## `searchTerm` (type: `string`):

Optional keyword filter applied to the full job post text (case-insensitive substring match), e.g. react, python, fintech, senior. Leave empty for all posts.

## `postedWithinDays` (type: `integer`):

Optional recency filter: only include job posts published within this many days. Leave empty for no recency limit.

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

Maximum number of job posts to push to the dataset. The Actor stops as soon as this many items are collected.

## `proxyConfiguration` (type: `object`):

Proxy settings for outbound requests. Not needed for this Actor: it calls the public HN Algolia API directly. Keep disabled.

## Actor input object example

```json
{
  "threadId": "50338728",
  "remoteOnly": false,
  "searchTerm": "react",
  "maxItems": 15,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped job posts from the 'Who is hiring?' thread

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("evpp/hn-whoishiring").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 = { "proxyConfiguration": { "useApifyProxy": False } }

# Run the Actor and wait for it to finish
run = client.actor("evpp/hn-whoishiring").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 '{
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call evpp/hn-whoishiring --silent --output-dataset

```

## MCP server setup

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

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/SbSf6olAnj5qw7dU8/builds/0deNYfrivwPucKOOr/openapi.json
