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

Pulls every job posting from the latest monthly HN Who Is Hiring thread. Extracts company, role, location, remote/onsite/visa, contact links. Pairs with AI Sales Personalizer for recruiter and SDR outreach. Free preview, $0.01 per posting.

- **URL**: https://apify.com/fetchcraft/hn-who-is-hiring-scraper.md
- **Developed by:** [Emily Ward](https://apify.com/fetchcraft) (community)
- **Categories:** Lead generation, Business, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$50.00 / 1,000 hiring post returneds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## HN "Who Is Hiring" Scraper

**Pulls every job posting from Hacker News's monthly "Who Is Hiring" thread. Extracts company, role, location, remote/onsite/visa flags, and apply link. The highest-signal job feed on the internet, fully structured.**

### What you get back per posting

| Field | Description |
| --- | --- |
| `company` | Hiring company (parsed from comment first line) |
| `role` | Role title |
| `location` | City / region / "Remote" |
| `remote` | `true` if posting marks REMOTE |
| `onsite` | `true` if posting marks ONSITE |
| `visa` | `true` if posting marks VISA welcome |
| `intern` | `true` if posting marks INTERN |
| `first_link` | The first URL in the comment (usually the apply link) |
| `raw_text` | Full posting text (first 2000 chars), for downstream parsing |
| `thread_url` | The HN thread |
| `comment_url` | Direct link to the comment |
| `posted_at` | When the posting was made |
| `author` | HN username who posted |

### Pricing

- **Preview mode**: $0 (10 results)
- **Standard**: $0.01 per posting returned

Typical monthly thread has 200-500 postings = $2 to $5 to extract everything.

### Use cases

**Recruiters** at AI/devtools companies use the monthly HN hiring thread to identify other companies hiring for similar roles (signal of growth), and to find direct apply links for talent mapping.

**B2B SDRs** at devtools / DevOps / AI companies use the hiring signal as proof a company is scaling. Hiring engineers = budget for engineering tools.

**VC scouts** use the hiring volume + role mix as a growth signal for portfolio companies and new prospects.

**Job seekers** use the structured output to filter by remote/onsite/visa/intern far faster than reading 300 comments.

### How to use it

1. Click **Try for free** with `preview_mode` ticked.
2. Use `thread_mode: latest` to grab the most recent monthly thread. Or use `specific` + an HN story_id for historical scrapes.
3. (Optional) `remote_only: true` to filter remote postings.
4. (Optional) `include_keywords: "senior, staff, principal"` to filter to senior+ roles. Or `"AI, ML, infra"` for tech-stack targeting.
5. Hit Start.

### Pipeline: combine with AI Sales Personalizer

1. Run this scraper monthly. Get 200-500 hiring companies.
2. Export the unique `company` + `first_link` columns.
3. Run those through **AI Sales Personalizer** with your devtools / recruiting / agency pitch.
4. Push to your sequencer.

Total monthly cost: $5 (HN scrape) + ~$45 (300 personalizations at $0.15) = $50 for a fresh, personalized devrel/recruiting pipeline against the highest-signal hiring source on the internet.

### Sister actors

- **AI Sales Personalizer**: turns hiring companies into personalized outreach
- **GitHub Trending Scraper**: complementary OSS-maintainer leads
- **Show HN Lead Scraper**: complementary product-launch leads
- **ProductHunt Daily Launches Scraper**: complementary product-launch leads

Pairing all five gives the most complete real-time B2B target feed available for under $20 per month.

### What this does NOT do

- It does not parse every postings's exact role into atomic fields (titles vary too much). It extracts the first line as `company` and `role`, and the full text as `raw_text` for your own downstream parsing.
- It does not send emails or applications.
- It does not check that companies still have the role open (HN postings can be 30 days old).

### FAQ

**Q: Why HN Algolia and not direct HN API?**
HN Algolia indexes comments by parent story ID, which is the fastest way to extract all postings from a single thread. It is the official partner search index for HN.

**Q: What if the parse misses some fields?**
Postings format varies. `raw_text` is the original, use it as the ground truth and parse downstream if needed.

### Tags

`leads` `lead-generation` `hacker-news` `who-is-hiring` `recruiting` `tech-recruiting` `b2b` `sales` `sdr` `devrel`

---

Built by Emily Ward, Sydney.

# Actor input Schema

## `thread_mode` (type: `string`):

Latest = the most recent monthly thread. Specific = provide the story_id below.
## `specific_story_id` (type: `string`):

The HN story ID, e.g. "38842977". Find it in the HN URL: news.ycombinator.com/item?id=STORY_ID
## `remote_only` (type: `boolean`):

Filter to postings marked REMOTE.
## `include_keywords` (type: `string`):

Only include postings whose text contains one of these. Example: "senior, staff, principal" or "AI, ML, infra".
## `exclude_keywords` (type: `string`):

Skip postings with these terms.
## `max_results` (type: `integer`):

Hard cap.
## `preview_mode` (type: `boolean`):

Preview mode (free, 10 results)

## Actor input object example

```json
{
  "thread_mode": "latest",
  "specific_story_id": "",
  "remote_only": false,
  "include_keywords": "",
  "exclude_keywords": "",
  "max_results": 500,
  "preview_mode": false
}
````

# 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("fetchcraft/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("fetchcraft/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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 fetchcraft/hn-who-is-hiring-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fetchcraft/hn-who-is-hiring-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Hacker News \"Who Is Hiring\" Scraper",
        "description": "Pulls every job posting from the latest monthly HN Who Is Hiring thread. Extracts company, role, location, remote/onsite/visa, contact links. Pairs with AI Sales Personalizer for recruiter and SDR outreach. Free preview, $0.01 per posting.",
        "version": "0.1",
        "x-build-id": "NjREx8YD79v5aF8BF"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/fetchcraft~hn-who-is-hiring-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-fetchcraft-hn-who-is-hiring-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/fetchcraft~hn-who-is-hiring-scraper/runs": {
            "post": {
                "operationId": "runs-sync-fetchcraft-hn-who-is-hiring-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/fetchcraft~hn-who-is-hiring-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-fetchcraft-hn-who-is-hiring-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "thread_mode": {
                        "title": "Which thread to scrape",
                        "enum": [
                            "latest",
                            "specific"
                        ],
                        "type": "string",
                        "description": "Latest = the most recent monthly thread. Specific = provide the story_id below.",
                        "default": "latest"
                    },
                    "specific_story_id": {
                        "title": "Specific story ID (when thread_mode = specific)",
                        "type": "string",
                        "description": "The HN story ID, e.g. \"38842977\". Find it in the HN URL: news.ycombinator.com/item?id=STORY_ID",
                        "default": ""
                    },
                    "remote_only": {
                        "title": "Remote jobs only",
                        "type": "boolean",
                        "description": "Filter to postings marked REMOTE.",
                        "default": false
                    },
                    "include_keywords": {
                        "title": "Must contain (comma-separated)",
                        "type": "string",
                        "description": "Only include postings whose text contains one of these. Example: \"senior, staff, principal\" or \"AI, ML, infra\".",
                        "default": ""
                    },
                    "exclude_keywords": {
                        "title": "Must NOT contain (comma-separated)",
                        "type": "string",
                        "description": "Skip postings with these terms.",
                        "default": ""
                    },
                    "max_results": {
                        "title": "Max postings",
                        "minimum": 1,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Hard cap.",
                        "default": 500
                    },
                    "preview_mode": {
                        "title": "Preview mode (free, 10 results)",
                        "type": "boolean",
                        "description": "Preview mode (free, 10 results)",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
