# Greenhouse, Lever & Ashby Jobs API Scraper (`jobdata-tools/ats-job-listings`) Actor

Scrape public job listings from Greenhouse, Lever and Ashby career sites via official, keyless job-board APIs. Get title, company, location, department, workplace type, salary when published, and apply URLs in one schema. No login, no browser, no personal data. $4 per 1,000 jobs.

- **URL**: https://apify.com/jobdata-tools/ats-job-listings.md
- **Developed by:** [Mathias](https://apify.com/jobdata-tools) (community)
- **Categories:** Jobs, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 job results

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 API Scraper

This **jobs scraper** fetches public **job listings** from company career sites on **Greenhouse**, **Lever** and **Ashby**, and returns them in one normalized schema.

It calls each provider’s official, keyless job-board API. There is no browser, no login, no residential proxy, and no personal data in the output.

### What this jobs scraper does

Given a list of public boards (careers URLs or `greenhouse:`, `lever:`, `ashby:` identifiers), the Actor:

- Calls the official Greenhouse Job Board API, Lever Postings API and Ashby Job Postings API
- Returns one record per public job: title, company, department, team, locations, workplace type, employment type, salary when the board publishes it, dates, apply URL and job URL
- Optionally includes the job description (HTML and plain text), with recruiter names, emails and phone numbers stripped
- Filters by title keyword, location, remote-only, or department
- Caps results per company (default 3) so a first run stays fast

### Use cases

- **Job aggregators** that need a consistent feed from Greenhouse, Lever and Ashby boards
- **Recruiting-market research**: open-role volume, departments, and remote vs on-site mix by company
- **Salary data** (only when the career site already publishes pay): Lever `salaryRange` and Ashby compensation summaries

This Actor is not a LinkedIn or Indeed scraper, and it does not collect applicant or employee profiles.

### How to scrape Greenhouse, Lever or Ashby jobs

Provide company boards as careers URLs or prefixed identifiers:

- `https://boards.greenhouse.io/stripe` or `greenhouse:stripe`
- `https://job-boards.greenhouse.io/gitlab`
- `https://jobs.lever.co/spotify` or `lever:spotify`
- `https://jobs.eu.lever.co/site` (EU Lever host)
- `https://jobs.ashbyhq.com/notion` or `ashby:linear`

Bare names without a prefix are rejected, because the Actor will not guess the ATS. If you omit `companies`, it uses a small built-in set of public boards so an empty input still returns results.

#### Input example

```json
{
  "companies": [
    "ashby:linear",
    "https://job-boards.greenhouse.io/gitlab",
    "https://jobs.lever.co/spotify"
  ],
  "keyword": "engineer",
  "location": "Remote",
  "remoteOnly": false,
  "department": "Engineering",
  "includeDescription": false,
  "maxJobsPerCompany": 3
}
```

Set `maxJobsPerCompany` to `0` for no cap. `includeDescription` defaults to `false`.

#### Output example

```json
{
  "source": "ashby",
  "company": "Linear",
  "board": "linear",
  "jobId": "f272fc4a-91a7-4dcf-9cb5-3600ebaf14e1",
  "title": "Analytics Engineer",
  "department": "Operations",
  "team": "Operations",
  "locations": ["North America"],
  "workplaceType": "remote",
  "employmentType": "Full-time",
  "compensation": {
    "summary": "$180K - $220K",
    "min": 180000,
    "max": 220000,
    "currency": "USD",
    "interval": "1 YEAR"
  },
  "postedAt": "2026-08-11T00:36:47.459Z",
  "updatedAt": "2026-08-11T00:36:47.459Z",
  "applyUrl": "https://jobs.ashbyhq.com/linear/f272fc4a-91a7-4dcf-9cb5-3600ebaf14e1/application",
  "jobUrl": "https://jobs.ashbyhq.com/linear/f272fc4a-91a7-4dcf-9cb5-3600ebaf14e1"
}
```

`workplaceType` is one of `remote`, `hybrid`, `on-site`, or `unknown`. `compensation` is present only when the board publishes pay data. Greenhouse pay is included when it appears on the public list payload; this Actor does not call the per-job pay-transparency endpoint for every posting.

A run summary is stored as `STATS` in the default key-value store. One bad board does not fail the whole run.

### Pricing

Pay-per-event: **$4.00 per 1,000 job results** ($0.004 per `job-result`). Apify also bills a small `apify-actor-start` event when a run begins. You can set a maximum spend per run; the Actor stops writing items at the cap so you are not overcharged.

### FAQ

#### Is this legal? Does it scrape behind a login?

No login is used. The Actor only calls official, unauthenticated job-board APIs that employers already use to publish open roles:

- Greenhouse: `GET https://boards-api.greenhouse.io/v1/boards/{token}/jobs?content=true` — [Job Board API](https://developers.greenhouse.io/job-board.html)
- Lever: `GET https://api.lever.co/v0/postings/{site}?mode=json` — [Postings API](https://github.com/lever/postings-api). The Actor honours the 1-second crawl-delay on `api.lever.co`.
- Ashby: `GET https://api.ashbyhq.com/posting-api/job-board/{name}?includeCompensation=true` — [Job Postings API](https://developers.ashbyhq.com/docs/public-job-posting-api)

It does not POST applications, does not call authenticated ATS APIs, and does not scrape Indeed, LinkedIn, or login-walled pages.

#### What about personal data and GDPR?

Output is limited to the public job posting. Emails, phone numbers, and recruiter or hiring-manager names are stripped when they appear. Applicant data and employee profiles are never collected.

#### A company failed. Did the whole run fail?

No. Invalid identifiers and HTTP 404 boards are logged in `STATS`. Other companies still run.

### Local development

```bash
npm install
npm test
npx apify-cli run --input-file test/input.tiny.json
```

`npx apify-cli run` works without `apify login`. Do not run `apify login` or `apify push` unless the account owner has approved it.

### Changelog

- **0.1.4** — Default boards and a per-company cap so empty input still returns a few jobs.
- **0.1** — Greenhouse, Lever and Ashby public boards, normalized schema, pay-per-event hooks, PII stripping.

# Actor input Schema

## `companies` (type: `array`):

Public Greenhouse, Lever or Ashby boards to fetch. Each item can be a careers URL (https://boards.greenhouse.io/stripe, https://job-boards.greenhouse.io/gitlab, https://jobs.lever.co/palantir, https://jobs.eu.lever.co/site, https://jobs.ashbyhq.com/notion) or a prefixed identifier (greenhouse:stripe, lever:spotify, ashby:linear). Official API URLs are also accepted. Bare names without a prefix are rejected because the ATS cannot be inferred. If this field is omitted, the Actor uses a small built-in set of public boards so a run with empty input still returns results.

## `keyword` (type: `string`):

If set, keep only jobs whose title contains this text (case-insensitive).

## `location` (type: `string`):

If set, keep only jobs where at least one location string contains this text (case-insensitive).

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

If enabled, keep only jobs whose workplace type is fully remote (hybrid and on-site are excluded).

## `department` (type: `string`):

If set, keep only jobs whose department or team contains this text (case-insensitive).

## `includeDescription` (type: `boolean`):

If enabled, add descriptionHtml and descriptionText to each record. Descriptions are sanitized to remove emails, phone numbers, and recruiter / hiring-manager contact lines. Turn this off for a smaller, faster dataset of titles and metadata only. Greenhouse still requests content=true so department and office fields are available.

## `maxJobsPerCompany` (type: `integer`):

Optional cap on how many jobs are output for each company, applied after filters. The default is 3 so Store tests and first runs stay fast and inexpensive. Set to 0 for no cap. The run also respects ACTOR_MAX_PAID_DATASET_ITEMS and the user's max spend so they are never overcharged.

## Actor input object example

```json
{
  "companies": [
    "ashby:linear",
    "https://job-boards.greenhouse.io/gitlab",
    "https://jobs.lever.co/spotify"
  ],
  "remoteOnly": false,
  "includeDescription": false,
  "maxJobsPerCompany": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset of normalized job records, shown in the overview view (title, company, locations, workplace type, public compensation, and URLs).

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

The same default dataset without a view filter, including optional descriptionHtml and descriptionText when requested.

# 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 = {
    "companies": [
        "ashby:linear",
        "https://job-boards.greenhouse.io/gitlab",
        "https://jobs.lever.co/spotify"
    ],
    "remoteOnly": false,
    "includeDescription": false,
    "maxJobsPerCompany": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("jobdata-tools/ats-job-listings").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 = {
    "companies": [
        "ashby:linear",
        "https://job-boards.greenhouse.io/gitlab",
        "https://jobs.lever.co/spotify",
    ],
    "remoteOnly": False,
    "includeDescription": False,
    "maxJobsPerCompany": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("jobdata-tools/ats-job-listings").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 '{
  "companies": [
    "ashby:linear",
    "https://job-boards.greenhouse.io/gitlab",
    "https://jobs.lever.co/spotify"
  ],
  "remoteOnly": false,
  "includeDescription": false,
  "maxJobsPerCompany": 3
}' |
apify call jobdata-tools/ats-job-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jobdata-tools/ats-job-listings"
        }
    }
}
```

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/FkrPQynyQgkGSeoQJ/builds/bO6XH4Ww2HJAby61G/openapi.json
