# HN Who's Hiring Parser — Structured Jobs from Hacker News (`angaba92/hn-whoishiring-parser`) Actor

Parse the monthly Hacker News 'Who is hiring?' thread into structured job listings: company, role, location, remote, salary, and tech tags.

- **URL**: https://apify.com/angaba92/hn-whoishiring-parser.md
- **Developed by:** [Andres Garcia-Baquero Leon](https://apify.com/angaba92) (community)
- **Categories:** Jobs, Developer tools, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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's Hiring Parser — Structured Jobs from Hacker News

Turn the monthly **"Ask HN: Who is hiring?"** thread into a clean, structured job dataset. Every month HN's hiring thread has 300-500 great job posts buried in free-text comments — this Actor parses them into fields you can filter, search, and pipe into a spreadsheet, ATS, or job board.

**Why not just use the HN API?** The official API returns each post as a raw HTML comment blob. This Actor does the hard part: it finds the right monthly thread automatically and parses each listing into `company`, `role`, `location`, `remote`, `salary`, and `techTags` — plus remote-only and keyword filtering.

### What you get per listing

| Field | Description |
|---|---|
| `company` | Company / org name |
| `role` | Role title |
| `location` | Location string |
| `remote` | `remote`, `onsite`, `hybrid`, or `unspecified` (auto-detected) |
| `salary` | Detected salary/range when present (e.g. `$180k–$210k`) |
| `techTags` | Detected technologies (rust, python, react, aws, …) |
| `url` | Company / application link |
| `hnUrl` | Direct link to the HN comment |
| `author` | HN username who posted |
| `postedAt` | Unix timestamp |
| `text` | Full plain-text of the listing |

### Input

```json
{
  "month": "latest",
  "remoteOnly": true,
  "keywords": ["rust", "python"],
  "maxResults": 500
}
```

| Field | Type | Default | Description |
|---|---|---:|---|
| `month` | string | `latest` | `latest` or a specific month like `July 2026` |
| `threadId` | string | – | Override: parse a specific HN thread item ID |
| `remoteOnly` | boolean | `false` | Only return remote / hybrid listings |
| `keywords` | array | `[]` | Only return listings matching ANY keyword |
| `maxResults` | integer | `500` | Max listings to return (1-1000) |

### Use cases

- Build or fill a **niche job board** from HN's high-signal hiring thread
- **Recruiters**: filter remote + stack in seconds instead of scrolling 400 comments
- **Job seekers**: get a filterable spreadsheet of every listing matching your stack
- **Market research**: track hiring trends, salary bands, and in-demand tech over months
- **AI/RAG datasets** of real job postings

### Pricing

Pay Per Event:

- `$0.01` per structured job listing returned

You only pay for listings actually returned (after your filters).

### Notes

- Source: official Hacker News Firebase API + Algolia HN Search (thread discovery). No HTML scraping of the website, no proxies.
- Parsing follows the community `Company | Role | Location | REMOTE | Salary | URL` convention and degrades gracefully when a post doesn't.

# Actor input Schema

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

Which monthly thread to parse. Use 'latest' for the newest 'Who is hiring?' thread, or a specific month like 'July 2026'.

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

Override: parse a specific HN item ID for the 'Who is hiring?' thread. Takes precedence over Month.

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

Only return listings detected as remote.

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

Only return listings whose text matches ANY of these keywords (case-insensitive), e.g. rust, python, senior.

## `maxResults` (type: `integer`):

Maximum number of job listings to return (1-1000).

## Actor input object example

```json
{
  "month": "latest",
  "remoteOnly": false,
  "keywords": [],
  "maxResults": 500
}
```

# 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 = {
    "month": "latest",
    "remoteOnly": false,
    "keywords": [],
    "maxResults": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("angaba92/hn-whoishiring-parser").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 = {
    "month": "latest",
    "remoteOnly": False,
    "keywords": [],
    "maxResults": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("angaba92/hn-whoishiring-parser").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 '{
  "month": "latest",
  "remoteOnly": false,
  "keywords": [],
  "maxResults": 500
}' |
apify call angaba92/hn-whoishiring-parser --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=angaba92/hn-whoishiring-parser",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zz7cUUvTUBvyiOFFW/builds/0BgLdOwt58odd74dq/openapi.json
