# Greenhouse, Lever & Ashby Jobs Scraper - Salaries & Changes (`tubloko/greenhouse-lever-ashby-jobs-scraper`) Actor

Scrape named company job boards on Greenhouse, Lever and Ashby into one schema. Get titles, locations, descriptions, apply links and published compensation. Filter jobs or schedule new, edited and closed job records. No vendor login; bring supported board URLs.

- **URL**: https://apify.com/tubloko/greenhouse-lever-ashby-jobs-scraper.md
- **Developed by:** [Ruslan Shukiurov](https://apify.com/tubloko) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 jobs

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/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

## Greenhouse, Lever & Ashby Jobs Scraper

Turn named company Greenhouse, Lever and Ashby job boards into one normalized dataset. Supply supported board URLs to collect current jobs, or schedule new-job and change monitoring. Get job descriptions, apply links and compensation where the source publishes it, with no vendor account, cookies or browser.

### What you get

- Consistent job records with board-scoped IDs, titles, locations, departments, source dates and apply links.
- Plain-text descriptions and optional sanitized HTML; structured published compensation without guessed salaries.
- Snapshot mode for current jobs, new mode for unseen jobs, and changed mode for meaningful edits and observed closures.
- Title and location filters; the remote-only filter keeps jobs explicitly identified as fully remote.
- A run summary and per-board diagnostics, separate from the jobs dataset.
- Dataset access through the Apify API for company watchlists and scheduled job feeds.

**Pricing:** $0.75 per 1,000 delivered records, including closed-job markers, plus $0.002 per run at default memory. Descriptions and published compensation are included; a monitoring baseline has only the run fee.

Bring the company boards you want to follow: there is no global job search or company directory. Use hosted vendor board URLs; employer careers-page discovery is currently unavailable. Never overlap runs sharing a monitoring store.

### Use cases

- Hiring watchlists and job alerts for selected companies.
- Salary research using structured, source-published ranges.
- Named-company job feeds, internal analytics and scheduled change notifications.

### Input

`boards` is required: 1–100 URLs or explicit objects. Bare company slugs are ambiguous. Individual invalid entries do not reject valid boards. Single-job URLs select the **whole board**. Exact duplicates run once.

| Accepted input (HTTPS) | Result |
|---|---|
| `boards.greenhouse.io/{token}` or `job-boards.greenhouse.io/{token}`, optionally `/jobs/{id}` | Greenhouse board; optional trailing slash. |
| `boards.greenhouse.io/embed/job_board?for={token}`, `/embed/job_board/js?for={token}`, `/embed/job_app?for={token}&token={jobId}` | Greenhouse `for` token; conflicting repeated values fail. |
| `boards-api.greenhouse.io/v1/boards/{token}/jobs`, optionally `/{id}` | Greenhouse board; input flags cannot override API flags. |
| `jobs.lever.co/{site}`, optionally `/{postingId}` or `/{postingId}/apply` | US Lever API. |
| `jobs.eu.lever.co/{site}` with the same tails | EU Lever API, with no US fallback. |
| `jobs.ashbyhq.com/{org}`, optionally `/{id}` or `/{id}/application` | Ashby organization; case is preserved. |
| `{"ats":"lever","slug":"example","region":"eu"}` | Explicit board; region defaults to `us`. Greenhouse/Ashby `eu` is rejected. |
| Employer HTTPS careers page | Bounded discovery only when a public connection destination can be enforced; otherwise `board_unresolved`. The pinned transport currently refuses employer discovery and asks for a hosted URL or explicit object. `gh_jid` alone is a job ID. |

Schemes may be omitted only for the listed vendor hosts. Tracking queries/fragments are discarded. HTTP input URLs, credentials, unsafe escapes, dot segments, arbitrary vendor paths and nonstandard ports are rejected. No company guessing or global job search.

Console prefill (the complete example is [examples/prefill.json](examples/prefill.json)):

```json
{
  "boards": [
    "https://job-boards.greenhouse.io/figma",
    "https://jobs.lever.co/enable",
    "https://jobs.ashbyhq.com/ramp"
  ],
  "maxJobsPerBoard": 10,
  "maxJobsTotal": 30,
  "maxRunSecs": 180,
  "includeDescription": "plain",
  "includeCompensation": false,
  "mode": "all"
}
```

| Field | API default | Notes |
|---|---|---|
| `boards` | required | At most 100; URL or `{ats,slug,region?}`. |
| `maxJobsPerBoard` / `maxJobsTotal` | 100 / 1000 | Delivered rows, including closed markers; `0` removes that user cap. Baseline ignores both. |
| `titleIncludes` / `titleExcludes` | `[]` / `[]` | Case-insensitive literal substrings; any include, any exclude wins. Up to 100 strings of at most 200 characters per filter. |
| `locationIncludes` | `[]` | Any source location name/city/region/country. AND with title/remote filters. No geocoding. |
| `remoteOnly` | false | Explicit fully remote workplace type only; hybrid and unknown are excluded. |
| `includeDescription` | `plain` | `none`, `plain`, `html`, `both`; HTML is always sanitized. Full plain text is hashed regardless of output format. |
| `includeCompensation` | true | Source structured pay; Greenhouse detail requests are included in the price. Prefill sets false. |
| `mode` | `all` | Snapshot, `new`, or `changed`. |
| `monitoringStoreName` | `ats-jobs-monitoring` | 1–63 letters/digits/hyphens, starting with a letter/digit. Sequential runs share this named KV store. |
| `monitoringBaseline` | false | Requires `new` or `changed`; records all matches atomically per complete board, emits no jobs. |
| `proxyConfiguration` | `{"useApifyProxy":false}` | Direct HTTP by default; optional explicit proxy. No automatic proxy rotation to bypass rate limits. |
| `maxRunSecs` | 0 | `0` derives work time from platform `ACTOR_TIMEOUT_AT` minus a 20 s finalization reserve, or 3300 s without it. Explicit: 60–86400 s. Prefill sets 180. |
| `maxConcurrency` | 3 | 1–10 HTTP requests globally; processing and delivery remain in input-board order. |
| `requestTimeoutSecs` | 30 | 5–120 seconds per attempt, including reading. Prefill sets 20. |

Defaults apply to API input too. Prefill does not supply missing required boards. Unknown fields, nulls and incorrect types fail validation. Changing filters or compensation settings creates a separate monitoring namespace; changing mode, output description format or caps preserves it.

### Output

The dataset contains only normalized live job rows and closed markers. Every row includes:

- Identity: `id`, `vendorJobId`, `ats`, `board`, canonical `boardUrl`, hosting `region`.
- Labels: `company`, `title`, `department`, `departments`, `team`, `offices`, `employmentType`.
- Geography: `locations` (`name`, `city`, `region`, `country`), `workplaceType`, `isRemote`.
- Content: `descriptionPlain`, sanitized `descriptionHtml`, `jobUrl`, `applyUrl`, `compensation`.
- Dates/change tracking: `publishedAt`, `createdAt`, `updatedAt`, `fetchedAt`, `lastSeenAt`, `contentHash`, `changeType`, `closedAt`.

Absent scalars/objects are null; collections are empty arrays. No invented company names, timestamps, remote flags or salaries. Stable IDs use `{ats}:{slug}:{vendorJobId}`; identical vendor IDs on different boards are distinct.

Compensation has `{summary,ranges}` with each range `{kind,min,max,currency,period,label}`. Greenhouse cents are divided by 100, with unknown period null. Lever numbers retain their source units and interval. Ashby tiers, currencies, periods and equity components remain separate; equity percentages remain percentages. There is no salary extraction from prose, annualization or currency conversion. Missing published pay is normal.

Source dates retain distinct meanings. Lever `createdAt` milliseconds are mapped to creation/publication as an observed publication proxy. Ashby provides last-published time; unsupported update dates stay null. Greenhouse dates/company come from its list, never its pay detail response. Department/location display order remains source order; collection reordering and volatile timestamps do not create paid changes.

Synthetic fixtures and offline examples live in `tests/fixtures/`. **No example is represented as a real platform-verified output:** platform smoke is still required before release.

Output links expose the default dataset plus KV records `RUN_SUMMARY` and `BOARD_RESULTS`. These diagnostics contain per-board completion, counts, error codes, elapsed time, HTTP request count/time, KV read/write counts and write time (including retries), pacing waits and process CPU time. Liveness-only monitoring and baselines commit one named-store record per complete board; incomplete scans do not refresh liveness. They never become dataset rows or job events. Runs with some working boards finish with `partial_success`; all unique boards failing causes a failed run.

### Pricing

| Event | Price | When |
|---|---|---|
| Actor start (`apify-actor-start`) | $0.002 per run | Once per run, per GB of memory; default 512 MB counts as 1. |
| Job delivered (`job`) | **$0.75 per 1,000 rows** ($0.00075 per row) | Every snapshot, new/edited job or closed marker saved to the dataset. |
| Monitoring baseline | $0 per job | Only the run-start fee. |
| Unchanged jobs in monitoring / diagnostics | $0 per job | No dataset rows or job events. |

You pay for each delivered job record, including a closed-job marker, plus the run-start fee. Descriptions and published compensation are included. Snapshot mode charges for current jobs on every run. Monitoring skips unchanged jobs without job charges. Diagnostics, empty boards and baselines incur no job events. Jobs successfully delivered before a board later fails remain charged. The run-start fee still applies, including partial failures and failed runs once started. A closed marker is a paid change notification, not a full description or proof a role was filled. Maximum cost stops normal delivery cleanly and keeps confirmed rows. Dataset push and charging are separate: an interrupted/failed charge can leave a row with uncertain billing. We stop without retry and report delivery_uncertain for reconciliation; this does not imply a refund or a free failed run.

At default memory, configured-price arithmetic is $0.752 for 1,000 records, $0.0245 for 30, or $0.02225 for 27, including start. These are price calculations, not measured platform/developer costs. A cap of 30 is not a promise of 30 available matching jobs.

### How it works

1. Validate URLs and read monitoring/resume records before delivery. Fenced transactions must be repaired from complete receipts or reconciled by the operator.
2. Read public vendor JSON with conservative host/board pacing and bounded retries. Lever continues through short pages until an empty page.
3. Validate records, track all listed IDs, filter, enrich selected Greenhouse jobs for pay, then hash final canonical content.
4. Compare delivered state; apply row caps and runtime-price Decimal budget trimming; prepare durable intent, push once and commit only acknowledged rows.
5. Emit paid closed markers only after a complete validated scan, then write summary diagnostics.

The work allowance starts at application entry. `maxRunSecs=0` uses the platform timeout timestamp minus 20 seconds for finalization, or 3300 seconds without `ACTOR_TIMEOUT_AT`; automatic work allowances are capped at 86400 seconds and may be zero near the platform deadline. Explicit budgets are 60–86400 seconds. Each board receives `min(240 seconds, remaining work / boards left)`. Restarts consume the original persisted allowance. Greenhouse details run concurrently at up to 4 starts/second under `maxConcurrency`, in batches of at most 20; delivery remains ordered. These are application policies, **not measured platform timing guarantees**. Prefill pins 180 seconds plus 20 for finalization; use a 300-second platform timeout for that smoke test and a longer timeout for larger watchlists.

### Limitations

- Public named-company boards only; no Workday, global index, applications, authenticated data or contact enrichment. Raw metadata is excluded. Public descriptions can still contain incidental personal information; public access establishes no blanket republication rights.
- Employer careers-page discovery currently fails closed because the pinned transport cannot enforce destination-IP checks. Supply a supported hosted board URL or explicit object.
- Jobs may change during offset pagination. Closed means absent from the observed public listed board, not proof a role was filled. A job that remains listed but no longer matches a filter is not closed. Incomplete scans never generate closure markers.
- Source availability and completeness vary. Scheduled scans miss intermediate changes. Last complete scan is an observation time, not a consistent vendor snapshot.
- Safety limits include 16 MiB decoded API bodies/state records, 2 MiB discovery HTML, 1 MiB per assembled job/batch, 512-byte vendor IDs, 100,000 raw jobs/board and 1,000 Lever list requests. Depth/token/heap caps may stop earlier; records are never evicted to fit.
- **Never overlap runs using the same monitoring store/watchlist. There is no cross-run atomic lock.** Concurrent runs can duplicate delivery/charges and overwrite state. Use separate stores or nonoverlapping schedules.
- Confirmed deliveries survive a restart of the same platform run without repeat delivery. Unfinished boards are rescanned from the start; the first acknowledged version wins. Ambiguous push/charge outcomes stay fenced across future scheduled runs. Complete matching receipts permit idempotent repair; missing/partial evidence stops delivery for reconciliation. There is no distributed exactly-once guarantee or automatic refund/retry.

### FAQ

**How do I scrape Greenhouse, Lever and Ashby jobs into one API?** Supply supported hosted board URLs or explicit board objects in boards. The Actor reads those companies' public vendor feeds and returns one normalized schema through an Apify dataset. It does not search a global jobs index or guess companies from bare names.

**Can I get job descriptions and salary ranges?** Yes: descriptions support plain text and sanitized HTML, and includeCompensation requests structured source-published pay. Both are included in the record price. Missing pay stays null; no salary is guessed from prose, annualized or converted between currencies. The prefill has compensation off.

**How do I monitor only new jobs or job changes?** Run `mode=new` or `mode=changed` with `monitoringBaseline=true`, then schedule the same watchlist/store with baseline false. `new` skips known jobs; `changed` also reports meaningful edits and observed closures. Never overlap runs. Baseline commits only complete boards, ignores delivery caps and incurs the start fee. Before scheduling, inspect every board in `BOARD_RESULTS`: a failed status or `scanComplete=false` means that board needs a baseline re-run with the same store, filters and compensation settings. A fresh failed board retains `baselineComplete=false` in its named KV record; `baselineRecorded` counts alone do not prove completion. Re-run incomplete baseline boards before scheduling; otherwise the first monitoring run returns and charges their existing jobs up to the delivery/budget caps. Without baseline, monitoring drains the existing backlog subject to caps.

**What does changed mode add?** Meaningful edits and paid closed markers. Switching `new` to `changed` retains undelivered edits/closures. A previously closed ID reopening is new in either mode. Unchanged jobs have no output/event.

**Does the scraper support EU Lever job boards?** Use `jobs.eu.lever.co` or explicit `region=eu`; the Actor uses the EU API only. Greenhouse/Ashby EU hosting is unsupported in v1.

**What does a closed job mean, and is it billed?** A closed marker means the job was absent from a complete observed board scan; it does not prove the role was filled. It is a delivered, billed record at $0.75 per 1,000 records, plus the run fee of $0.002 at default memory. Incomplete scans never infer closure.

**Why are pay, dates or remote fields null?** They were not explicitly available in the verified source fields. Hybrid is not fully remote; Greenhouse remote status stays unknown.

**Why did maximum cost stop the run?** Final rows are trimmed before push using runtime event prices and the greater of SDK/durable confirmed charges. Confirmed rows remain accessible; incomplete boards do not generate closures.

**What should I do with delivery_uncertain?** Keep the dataset, platform events and KV intent/receipt evidence. Reconcile before any manual recovery. Do not delete fences or restart in a fresh monitoring store to bypass them; no automatic replay/refund is attempted.

### Issues

Report a failing board URL, run ID and error code in the Issues tab. Exclude credentials and private information. Existing delivered rows remain in the run's dataset.

# Changelog

This Actor's version history is a separate document: https://apify.com/tubloko/greenhouse-lever-ashby-jobs-scraper/changelog.md

# Actor input Schema

## `boards` (type: `array`):

URLs or objects {ats, slug, region}. Bare slugs are ambiguous. Maximum 100 entries; invalid entries are reported individually.

## `maxJobsPerBoard` (type: `integer`):

0 = no user cap. Counts delivered rows, including closed markers. Baseline ignores this cap.

## `maxJobsTotal` (type: `integer`):

0 = no user cap. Global cap includes closed markers. Baseline ignores this cap.

## `titleIncludes` (type: `array`):

Case-insensitive literal substrings; OR within this list. Empty means any title.

## `titleExcludes` (type: `array`):

Reject a title matching any literal substring.

## `locationIncludes` (type: `array`):

Match any source location name, city, region or country; no geocoding.

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

Requires an explicit remote workplace type. Hybrid and unknown are excluded.

## `includeDescription` (type: `string`):

Plain text, sanitized HTML, both or neither. Included in the job price.

## `includeCompensation` (type: `boolean`):

Structured source compensation where available. Greenhouse needs a detail request per selected job; no extra billing event.

## `mode` (type: `string`):

all = snapshot; new = previously undelivered jobs; changed = new, edited and closed jobs.

## `monitoringStoreName` (type: `string`):

Named key-value store shared by sequential monitoring runs; never overlap the same watchlist.

## `monitoringBaseline` (type: `boolean`):

Requires new or changed mode. Records matching current jobs without job charges; the run-start fee applies. Ignores delivery caps.

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

Direct HTTP by default. Optional proxy configuration uses the normal Apify proxy editor.

## `maxRunSecs` (type: `integer`):

0 = ACTOR_TIMEOUT_AT minus 20 seconds for finalization, or 3300 seconds locally. Explicit budgets: 60–86400 seconds. Per-board share is capped at 240 seconds.

## `maxConcurrency` (type: `integer`):

Global HTTP concurrency; vendor pacing still applies. Board processing and delivery are sequential.

## `requestTimeoutSecs` (type: `integer`):

Wall-clock timeout per attempt, including response reading.

## Actor input object example

```json
{
  "boards": [
    "https://job-boards.greenhouse.io/figma",
    "https://jobs.lever.co/enable",
    "https://jobs.ashbyhq.com/ramp"
  ],
  "maxJobsPerBoard": 10,
  "maxJobsTotal": 30,
  "titleIncludes": [],
  "titleExcludes": [],
  "locationIncludes": [],
  "remoteOnly": false,
  "includeDescription": "plain",
  "includeCompensation": false,
  "mode": "all",
  "monitoringStoreName": "ats-jobs-monitoring",
  "monitoringBaseline": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxRunSecs": 180,
  "maxConcurrency": 3,
  "requestTimeoutSecs": 20
}
```

# Actor output Schema

## `jobs` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `boards` (type: `string`):

No description

# 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 = {
    "boards": [
        "https://job-boards.greenhouse.io/figma",
        "https://jobs.lever.co/enable",
        "https://jobs.ashbyhq.com/ramp"
    ],
    "maxJobsPerBoard": 10,
    "maxJobsTotal": 30,
    "titleIncludes": [],
    "titleExcludes": [],
    "locationIncludes": [],
    "remoteOnly": false,
    "includeDescription": "plain",
    "includeCompensation": false,
    "mode": "all",
    "monitoringStoreName": "ats-jobs-monitoring",
    "monitoringBaseline": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "maxRunSecs": 180,
    "maxConcurrency": 3,
    "requestTimeoutSecs": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("tubloko/greenhouse-lever-ashby-jobs-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 = {
    "boards": [
        "https://job-boards.greenhouse.io/figma",
        "https://jobs.lever.co/enable",
        "https://jobs.ashbyhq.com/ramp",
    ],
    "maxJobsPerBoard": 10,
    "maxJobsTotal": 30,
    "titleIncludes": [],
    "titleExcludes": [],
    "locationIncludes": [],
    "remoteOnly": False,
    "includeDescription": "plain",
    "includeCompensation": False,
    "mode": "all",
    "monitoringStoreName": "ats-jobs-monitoring",
    "monitoringBaseline": False,
    "proxyConfiguration": { "useApifyProxy": False },
    "maxRunSecs": 180,
    "maxConcurrency": 3,
    "requestTimeoutSecs": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("tubloko/greenhouse-lever-ashby-jobs-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 '{
  "boards": [
    "https://job-boards.greenhouse.io/figma",
    "https://jobs.lever.co/enable",
    "https://jobs.ashbyhq.com/ramp"
  ],
  "maxJobsPerBoard": 10,
  "maxJobsTotal": 30,
  "titleIncludes": [],
  "titleExcludes": [],
  "locationIncludes": [],
  "remoteOnly": false,
  "includeDescription": "plain",
  "includeCompensation": false,
  "mode": "all",
  "monitoringStoreName": "ats-jobs-monitoring",
  "monitoringBaseline": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxRunSecs": 180,
  "maxConcurrency": 3,
  "requestTimeoutSecs": 20
}' |
apify call tubloko/greenhouse-lever-ashby-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tubloko/greenhouse-lever-ashby-jobs-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/tQzHdalJ5dmYF2uaW/builds/l7ME2g4jAqwBsx3z5/openapi.json
