# Greenhouse, Lever and Ashby Job Scraper (Jobs API) (`pretty_theory/ats-job-board-api`) Actor

Fetch every open job from company career boards on Greenhouse, Lever and Ashby using their official public job-board APIs. No proxies, no browser, stable output.

- **URL**: https://apify.com/pretty_theory/ats-job-board-api.md
- **Developed by:** [Pretty Theory Data](https://apify.com/pretty_theory) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 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 and Ashby Job Scraper (Jobs API)

Scrape open jobs from Greenhouse, Lever and Ashby career pages in one run: title, location, department, apply link and description, as JSON, CSV or Excel. Get every open job from company career boards hosted on those three platforms. It calls each vendor's official public job-board API, so there is no proxy, no browser, no blocking, and the output format stays stable.

### Input

- companies: one board per line as ats:slug. Examples: greenhouse:stripe, lever:leverdemo, ashby:ashby, lever-eu:somecompany. A career-board URL such as https://boards.greenhouse.io/stripe also works.
- keywords: optional title keywords, for example engineer, designer.
- locationContains: optional text such as Remote or Austin.
- includeDescription: add the plain-text description (default on).
- maxJobsPerCompany: cap per board, 0 for no cap.

Example:

```json
{
  "companies": ["greenhouse:stripe", "lever:leverdemo", "ashby:ashby"],
  "keywords": ["engineer"],
  "locationContains": "Remote",
  "maxJobsPerCompany": 50
}
```

### Output

One row per job: ats, company, id, title, department, location, employmentType, workplaceType, salaryMin, salaryMax, salaryCurrency (when the board publishes pay), postedAt, updatedAt, jobUrl, applyUrl, description.

### Notes

- Only published, publicly visible postings are returned. Boards that do not exist are logged and skipped.
- Fields a vendor does not provide come back as null.
- Self-check: run with selfCheck true. It queries one fixed public board per ATS and fails the run if fewer than 5 jobs come back in total or any ATS returns zero.

### Pricing

Pay per result (one result per job). See the Pricing tab.

# Actor input Schema

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

One board per line as ats:slug. ats is greenhouse, lever or ashby. The slug is the last part of the career-board URL, for example boards.greenhouse.io/stripe is greenhouse:stripe, jobs.lever.co/leverdemo is lever:leverdemo, jobs.ashbyhq.com/ashby is ashby:ashby. A plain career-board URL also works. For Lever EU boards use lever-eu:slug.

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

Keep only jobs whose title contains at least one of these words (case-insensitive). Leave empty for all jobs.

## `locationContains` (type: `string`):

Keep only jobs whose location text contains this value, for example Remote or Austin.

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

Add the job description as plain text. Turn off for smaller output.

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

Upper limit of jobs saved per company board. 0 means no limit.

## `selfCheck` (type: `boolean`):

Ignores the other fields, queries one fixed public board per ATS and fails the run if fewer results than expected come back. Used by scheduled smoke tests.

## Actor input object example

```json
{
  "companies": [
    "greenhouse:stripe",
    "lever:leverdemo",
    "ashby:ashby"
  ],
  "keywords": [],
  "locationContains": "",
  "includeDescription": true,
  "maxJobsPerCompany": 0,
  "selfCheck": false
}
```

# Actor output Schema

## `results` (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 = {
    "companies": [
        "greenhouse:stripe",
        "lever:leverdemo",
        "ashby:ashby"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pretty_theory/ats-job-board-api").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": [
        "greenhouse:stripe",
        "lever:leverdemo",
        "ashby:ashby",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pretty_theory/ats-job-board-api").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": [
    "greenhouse:stripe",
    "lever:leverdemo",
    "ashby:ashby"
  ]
}' |
apify call pretty_theory/ats-job-board-api --silent --output-dataset

```

## MCP server setup

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

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/oxVc9Zd2OZp8g9hvd/builds/sUyDNdqztqGe1G0pn/openapi.json
