# Hacker News Scraper: Who's Hiring Jobs, Stories & Comments

> Scrape Hacker News "Who is hiring?" jobs parsed into company, roles, location, remote, salary range, visa and tech stack, plus stories, Show HN, comments and brand mentions by keyword or domain, the live front page and full threads. Only-new monitoring. No login. $2/1K jobs.

- Category: Jobs & content
- Price: $2 per 1,000 × who is hiring? job, billed per result by Apify (no subscription); any other billed events are listed on the Store page. Cap any run with `maxTotalChargeUsd`.
- Store page: https://apify.com/wrenfield-data/hacker-news-scraper?fpr=qx6tzs
- Human page: https://wrenfielddata.com/tools/hacker-news-scraper/
- OpenAPI 3 spec: https://api.apify.com/v2/acts/wrenfield-data~hacker-news-scraper/builds/default/openapi.json
- MCP tool: https://mcp.apify.com?tools=wrenfield-data/hacker-news-scraper (appears as `wrenfield-data--hacker-news-scraper`)

## Call it

Synchronous run that returns the dataset rows as JSON (use `/runs` for long jobs and poll; see the OpenAPI spec):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/wrenfield-data~hacker-news-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "whos_hiring", "months": 1, "remoteOnly": true}'
```

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | string |  | `"whos_hiring"` | Pick the data you want. Prices are per row saved. |
| `months` | integer |  | `1` | 1 = the latest monthly thread. 12 = the last year of threads (companies that post every month are flagged in postsInScannedThreads). |
| `threadUrls` | array |  |  | For "Who is hiring?": specific monthly threads (overrides months). For Full thread mode: any story URL or ID, e.g. https://news.ycombinator.com/item?id=50338728 |
| `remoteOnly` | boolean |  | `false` | Keep only posts that say REMOTE. |
| `locations` | array |  |  | Keep jobs whose location line mentions any of these, e.g. NYC, London, Berlin, EU. |
| `visaSponsorshipOnly` | boolean |  | `false` | Keep only posts that offer visa sponsorship. |
| `withSalaryOnly` | boolean |  | `false` | Keep only posts that state pay. |
| `skipClosed` | boolean |  | `true` | Drop posts whose author marked them as filled or no longer hiring. |
| `keywords` | array |  |  | Stories / Comments: search terms (one search each). Who is hiring? / Front page / Thread: keep only rows that mention any keyword (e.g. Rust, Python, LLM, your brand). |
| `domain` | string |  |  | Stories linking to a site, e.g. github.com or your-company.com. |
| `storyType` | string |  | `"story"` | Stories mode only. |
| `sort` | string |  | `"date"` | Stories / Comments: newest first pages through everything; relevance returns the best 1,000 matches. |
| `newerThanDays` | integer |  |  | Leave empty for all time. |
| `minPoints` | integer |  | `0` | Stories and front page: keep stories with at least this many points. |
| `list` | string |  | `"top"` | Front page mode: which live Hacker News list to read (up to 500 items). |
| `maxItems` | integer |  | `500` | Stop after this many rows (all modes). |
| `onlyNew` | boolean |  | `false` | Schedule the Actor and get only new jobs, stories or comments each run (seen IDs are kept in a named key-value store in your account). |
| `monitorName` | string |  |  | Optional. Runs with the same name share one seen-items list. |

## Example input

```json
{
  "mode": "whos_hiring",
  "months": 1,
  "remoteOnly": true
}
```

## Notes

- Auth: an Apify API token as `Authorization: Bearer <token>`; the MCP server also supports OAuth sign-in.
- Failed or empty results are not charged on most tools; check the pricing on the Store page.
- Questions: hello@wrenfielddata.com
- Apify Store links on this page are referral links. They may earn us a commission, at no extra cost to you.
