# Greenhouse Jobs Scraper – Lever & Ashby ATS Jobs (`justaduck/greenhouse-lever-ashby-jobs`) Actor

Scrape every open job from Greenhouse, Lever (incl. EU) and Ashby career pages via official public job board APIs: title, department, location, remote/hybrid, posting date, salary range, description, apply URL. Filter by keyword, location, remote, date or salary; filtered-out jobs are not charged.

- **URL**: https://apify.com/justaduck/greenhouse-lever-ashby-jobs.md
- **Developed by:** [Justaduck](https://apify.com/justaduck) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 jobs scraper that also reads Lever and Ashby: give company codes or job board URLs and get every open job in one table.**

- **What you get:** one row per job with `title`, `departments`, `location`, `workplaceType` (remote / hybrid / onsite), `publishedAt`, salary range (`salaryMin`, `salaryMax`, `salaryCurrency`, `salaryInterval`) when the company publishes it, `descriptionText`, `applyUrl` and `sourceUrl`.
- **What it costs:** US$2.00 per 1,000 jobs plus US$0.00005 per run start. Jobs removed by your filters are not charged. Apify's free plan (US$5 of usage a month) covers about 2,500 jobs.
- **Try it:** Click **Start** on the prefilled form: it reads Linear's Ashby board and returns up to 20 jobs (at most US$0.04005) in a few seconds.

Get every open job a company publishes on **Greenhouse**, **Lever** (including Lever EU) or **Ashby**, straight from each ATS's official public job board API: `boards-api.greenhouse.io`, `api.lever.co` / `api.eu.lever.co` and `api.ashbyhq.com`. One run can mix all three. Each job comes with title, departments, location, workplace type, salary ranges (when the company publishes them), a clean plain-text description and a link back to the original posting.

- **Live data**: every run calls the official APIs; nothing comes from a cached database.
- **Fields copied, never guessed**: values come from the ATS's own fields. If the ATS has no value, you get `null`, not an AI estimate.
- **Optional filters, applied before anything is charged**: title keywords, location, workplace type (remote / hybrid / onsite), posted within N days and minimum yearly salary. Jobs that do not match are not returned and not charged.
- **No recruiter fields**: no recruiter or hiring-manager fields; emails and phone numbers inside descriptions are masked (best effort). Descriptions are the company's own text and may still name a contact person.

### How to use the Greenhouse jobs scraper

1. Open [this Actor on Apify Store](https://apify.com/justaduck/greenhouse-lever-ashby-jobs) and try it in Apify Console. A free Apify account is enough; no credit card is needed.
2. The input form is prefilled with a small example: it reads Linear's Ashby job board (`ashbyCompanies: ["linear"]`) and returns up to 20 jobs. Click **Start** to try it; it finishes in a few seconds.
3. Add your own **Greenhouse**, **Lever** or **Ashby company codes**, or paste **job board URLs** (the ATS is detected automatically). Optionally set **Title keywords**, **Locations**, **Workplace types**, **Posted within (days)** or **Minimum yearly salary**. Set **Max items** to cap the run and its cost.
4. Click **Start** and open the **Output** tab when the run finishes. Preview the jobs as a table, or export them as JSON, CSV or Excel.
5. To automate it, save the input as a task and **schedule** it, call the Actor through the **Apify API**, or send the results to Make, Zapier, n8n, Slack or a webhook with Apify **integrations**.

### Input

Give company codes per ATS, job board URLs, or both. Filters are optional; without them you get every open job on each board.

```json
{
  "greenhouseCompanies": ["stripe"],
  "leverCompanies": ["palantir"],
  "ashbyCompanies": ["linear"],
  "jobBoardUrls": ["https://jobs.eu.lever.co/seb", "https://job-boards.greenhouse.io/airtable"],
  "keywords": ["engineer", "designer"],
  "locations": ["New York", "London", "Remote"],
  "workplaceTypes": ["remote", "hybrid"],
  "postedWithinDays": 30,
  "minSalary": 150000,
  "salaryCurrency": "USD",
  "includeDescriptionHtml": false,
  "maxItems": 500
}
```

| Input | What it does |
|---|---|
| `greenhouseCompanies` | Greenhouse board tokens: `stripe` for `boards.greenhouse.io/stripe` |
| `leverCompanies` | Lever site names: `palantir` for `jobs.lever.co/palantir` (case-sensitive) |
| `ashbyCompanies` | Ashby job board names: `linear` for `jobs.ashbyhq.com/linear` |
| `jobBoardUrls` | Job board or job posting URLs. The ATS and company are detected from the URL: `boards.greenhouse.io/…`, `job-boards.greenhouse.io/…`, `jobs.lever.co/…`, `jobs.eu.lever.co/…` (Lever EU), `jobs.ashbyhq.com/…`. A single job posting URL returns that company's whole board. |
| `keywords` | Only jobs whose **title** contains at least one of these words or phrases (case-insensitive). Empty = no title filter. |
| `locations` | Only jobs whose location text (`location` or any entry of `locations`) contains at least one of these (case-insensitive, plain text: `US` also matches `Austin`). Empty = all locations. |
| `workplaceTypes` | Only jobs whose `workplaceType` is one of `remote`, `hybrid`, `onsite`. Greenhouse has no standard workplace field, so **no Greenhouse jobs are returned when this is set**; Lever jobs marked `unspecified` are left out too. Empty = all. |
| `postedWithinDays` | Only jobs whose `publishedAt` is within the last N days (N × 24 hours before the time the ATS server answered). Jobs without a publish date are left out when this is set. Empty = any date. |
| `minSalary` | Only jobs with a published salary range whose minimum, as a **yearly** amount, is at least this amount in `salaryCurrency` (monthly pay counts × 12). See the salary rule below. Empty = salary is ignored. |
| `salaryCurrency` | 3-letter currency code for `minSalary` (e.g. `USD`, `EUR`, `GBP`). Empty = `USD`. Used only together with `minSalary`. |
| `includeDescriptionHtml` | Also return `descriptionHtml`. Default `false` (plain text only, which keeps results small: one large company's board can be 15 MB of HTML). |
| `maxItems` | Stop after this many jobs in total. Empty = no limit. |

#### Filters

All filters are optional. Different filters are combined with AND; several values in one filter are combined with OR (`keywords: ["engineer", "designer"]` = title contains "engineer" or "designer"). Filtering happens before results are written, so **jobs that do not match are not returned and not charged**. The run summary (`SUMMARY`, under `notes`) says for each board how many jobs did not match, and how many of them were left out only because a value was missing (no publish date, no comparable salary).

- **Missing values are left out, not guessed.** When `postedWithinDays` is set, a job without a publish date is not returned. When `minSalary` is set, a job without a comparable salary is not returned.
- **Salary rule (`minSalary`):** a job matches when at least one of its `salaryRanges` has the currency `salaryCurrency`, a yearly or monthly pay period and a yearly minimum of `minSalary` or more. Yearly ranges (Lever `per-year-salary`, Ashby `1 YEAR`) are compared as they are; monthly ranges (Lever `per-month-salary`, Ashby `1 MONTH`) are multiplied by 12 first (a minimum of 4,500 per month counts as 54,000 per year). So every job returned is advertised as starting at that yearly amount or higher. The returned salary fields are not changed: a monthly salary is still shown per month. Not compared, and therefore left out: ranges in another currency (no exchange-rate conversion), hourly, daily or weekly pay (that would need an assumed number of working hours), ranges without a minimum, and all Greenhouse salaries (Greenhouse does not say whether an amount is per year or per hour; in our samples the same board lists yearly salaries and hourly intern pay side by side).
- **What "posted" means:** `publishedAt` as given by the ATS: Greenhouse `first_published`, Lever `createdAt` (when the posting was created in Lever), Ashby `publishedAt`.
- Invalid filter values (for example an unknown workplace type) are skipped and listed in the run summary. If a filter cannot be applied at all (every value invalid, `postedWithinDays` not a whole number from 1 to 3650, `minSalary` not above 0, `salaryCurrency` not a 3-letter code), the run stops before fetching anything, because running without that filter would return and charge for every job.

Codes or URLs that are wrong (company does not exist, URL is not a Greenhouse / Lever / Ashby board) are skipped; the run continues with the rest and lists every skipped input and why in the run summary (key-value store record `SUMMARY`). The run fails only if every input fails.

### Output

One item per job. Real example (Ashby, `linear`; description shortened here):

```json
{
  "ats": "ashby",
  "company": "linear",
  "companyName": null,
  "jobId": "12f8f208-0b9c-4569-bb3d-41c8a197029e",
  "title": "Senior / Staff Product Engineer",
  "departments": ["Product"],
  "team": "Engineering",
  "employmentType": "FullTime",
  "workplaceType": "remote",
  "location": "North America",
  "locations": ["North America"],
  "country": "United States",
  "publishedAt": "2026-03-04T02:08:44.483Z",
  "updatedAt": null,
  "salaryMin": 240000,
  "salaryMax": 320000,
  "salaryCurrency": "USD",
  "salaryInterval": "1 YEAR",
  "salaryRanges": [
    { "min": 240000, "max": 320000, "currency": "USD", "interval": "1 YEAR", "label": "US Remote" }
  ],
  "descriptionText": "At Linear, we're building the product development system for teams and agents. AI is fundamentally changing how software …",
  "applyUrl": "https://jobs.ashbyhq.com/linear/12f8f208-0b9c-4569-bb3d-41c8a197029e/application",
  "sourceUrl": "https://jobs.ashbyhq.com/linear/12f8f208-0b9c-4569-bb3d-41c8a197029e"
}
```

#### Fields

| Field | Type | Description |
|---|---|---|
| `ats` | string | `greenhouse`, `lever` or `ashby` |
| `company` | string | The company code you gave (or the one found in the URL) |
| `companyName` | string | null | Company display name. Greenhouse only (`company_name`); `null` for Lever and Ashby |
| `jobId` | string | The ATS's own job ID |
| `title` | string | null | Job title |
| `departments` | string\[] | Department names (Greenhouse may list several) |
| `team` | string | null | Team (Lever, Ashby); `null` for Greenhouse |
| `employmentType` | string | null | As written by the ATS, e.g. `Full-time` (Lever), `FullTime` (Ashby); `null` for Greenhouse |
| `workplaceType` | string | null | Lever and Ashby's own workplace field, lower-cased: `remote`, `hybrid`, `onsite` (Lever may say `unspecified`). Greenhouse has no standard field, so `null` |
| `location` | string | null | Main location text |
| `locations` | string\[] | All location texts (Lever `allLocations`; Ashby main + secondary locations) |
| `country` | string | null | Lever: country code (e.g. `US`). Ashby: country text from the posting address (e.g. `USA`). `null` for Greenhouse |
| `publishedAt` | string | null | ISO 8601 UTC. Greenhouse `first_published`, Lever `createdAt`, Ashby `publishedAt` |
| `updatedAt` | string | null | ISO 8601 UTC. Greenhouse only (`updated_at`) |
| `salaryMin` | number | null | Minimum of the first salary range |
| `salaryMax` | number | null | Maximum of the first salary range |
| `salaryCurrency` | string | null | Currency code of the first salary range |
| `salaryInterval` | string | null | Pay period as written by the ATS: Lever e.g. `per-year-salary`, Ashby e.g. `1 YEAR`; Greenhouse does not give one (`null`) |
| `salaryRanges` | object\[] | Every published salary range: `{ min, max, currency, interval, label }`. Greenhouse `pay_input_ranges` (cents converted to units), Lever `salaryRange`, Ashby salary components of each compensation tier. Empty when the company publishes no salary |
| `descriptionText` | string | null | Full job description as plain text; emails and phone numbers replaced by `[email removed]` / `[phone removed]` |
| `descriptionHtml` | string | null | Only with `includeDescriptionHtml: true`. Description HTML with emails and phone numbers removed (including `mailto:`/`tel:` links and addresses hidden in link parameters). If anything that looks like an email or phone number is still found after that, `descriptionHtml` is `null` for that job (the plain-text version is still returned) |
| `applyUrl` | string | null | Application page (Lever, Ashby); `null` for Greenhouse, whose posting page is the application page |
| `sourceUrl` | string | Link to the original job posting |

Leading and trailing spaces are trimmed from text fields. A run summary (jobs per input, skipped inputs and reasons, how many jobs were not returned because of `maxItems`) is saved to the key-value store as `SUMMARY`.

### Run time limit and scheduled runs

- **Time limit:** one run lasts at most 20 minutes. Results are written page by page as they arrive, so when the limit is reached everything already written is kept (and charged as usual). In the run summary (`SUMMARY` in the run's key-value store) the input that was running is marked `partial` ("time budget … more results are available") and inputs not reached are marked `not-run` (nothing charged for them).
- **Speed:** Each job board is one request (at most one per second per ATS; a large board downloads in 2–5 seconds), so about 100 large boards take 2–8 minutes. Split lists of more than about 250 large boards into several runs.
- **When the source fails:** a page that fails its format check is not written and the run ends as failed (results from earlier pages are kept); an input that keeps failing (timeouts, server errors) is marked `failed` or `partial`, and after 3 such inputs in a row the remaining inputs of that source are marked `not-run`.
- **Scheduled runs:** This Actor does not keep track of what earlier runs returned: every run returns all open jobs of the boards you list that match your filters (and charges for them). `postedWithinDays: 2` on a daily schedule keeps each run small. Today's results overlap with yesterday's: remove the jobs you already have by `ats` + `company` + `jobId`. A job missing from today's results was taken down.

### Pricing

Pay per event: **US$2.00 per 1,000 jobs** returned (US$0.002 per job) plus **US$0.00005 per run start**. Skipped inputs, duplicates and jobs removed by your filters are not charged.

| Example | Cost |
|---|---|
| One small company, 30 jobs | 30 × $0.002 + $0.00005 = **$0.06005** |
| 10 companies, 1,000 jobs | 1,000 × $0.002 + $0.00005 = **$2.00005** |

Discounts by Apify plan (per 1,000 results): Free $2.00, Bronze $1.80, Silver $1.60, Gold $1.40.

**Free plan:** Apify's free plan includes US$5 of prepaid usage every month (no credit card needed). With this Actor that is enough for about 2,500 jobs a month.

### FAQ

**Where does the data come from?** Only from the three official public job board APIs listed above. They are public and need no API key. No browser, no proxy, no login.

**Is this allowed?** Greenhouse, Lever and Ashby publish these APIs for public job board data and we found no terms that forbid reading them. That is not the same as permission from them, and no ATS has endorsed or authorized this Actor. We keep to one request per second per ATS and back off when an API asks us to (HTTP 429).

**Why is `workplaceType` empty for Greenhouse jobs?** Greenhouse has no standard workplace field (some companies add a custom one). We only fill fields the ATS provides as standard fields, so you never get a guessed value.

**Why is the salary empty?** The company did not publish a salary range for that job in its ATS. We do not estimate salaries.

**Can I filter by title, location, remote, posting date or salary?** Yes: `keywords`, `locations`, `workplaceTypes`, `postedWithinDays` and `minSalary` (see [Filters](#filters)). Filtered-out jobs are not charged. Greenhouse jobs have no workplace type and no pay period, so they never pass `workplaceTypes` or `minSalary`.

**Can I give a company name and let the Actor find its ATS?** Not in this version. Give the company code or paste its job board URL.

**My company's career page is on its own domain.** Open any job on it; if the job page or application link points to `greenhouse.io`, `lever.co` or `ashbyhq.com`, paste that URL. Greenhouse EU boards (`job-boards.eu.greenhouse.io`) are not supported yet.

**How do I find which ATS a company uses, and its company code?** Open any job on the company's careers page. If the job page or the "Apply" link points to one of these hosts, you have the ATS and the code (or just paste that URL into `jobBoardUrls`):

| Careers URL | ATS | Company code |
|---|---|---|
| `boards.greenhouse.io/stripe` or `job-boards.greenhouse.io/airtable` | Greenhouse | `stripe`, `airtable` (the "board token") |
| `jobs.lever.co/palantir` (or `jobs.eu.lever.co/…` for Lever EU) | Lever | `palantir` (the "site", case-sensitive) |
| `jobs.ashbyhq.com/linear` | Ashby | `linear` (the "job board name") |

**Which official endpoints does it read?** The public job board endpoints each ATS documents. For one or two companies you can call them yourself:

```bash
## Greenhouse Job Board API (content=true adds the description, departments and offices)
curl "https://boards-api.greenhouse.io/v1/boards/stripe/jobs?content=true"

## Lever Postings API (EU boards use api.eu.lever.co)
curl "https://api.lever.co/v0/postings/palantir?mode=json"

## Ashby Job Postings API (includeCompensation=true adds salary data)
curl "https://api.ashbyhq.com/posting-api/job-board/linear?includeCompensation=true"
```

The Actor is for when you need many boards in one schema: the three APIs name dates differently, shape salary differently (Greenhouse gives no pay period), and only Lever and Ashby have a workplace field. Official docs: [Greenhouse Job Board API](https://developers.greenhouse.io/job-board.html), [Lever Postings API](https://github.com/lever/postings-api), [Ashby Job Postings API](https://developers.ashbyhq.com/docs/public-job-posting-api).

**Do I need an API key for the Greenhouse, Lever or Ashby job board API?** No, not to read jobs. Greenhouse's docs require Basic Auth only for submitting applications, and Lever requires a key only for the application POST. This Actor needs no key from you either.

**Can I search all Greenhouse jobs without knowing the company?** Not with the official APIs: every endpoint is per board, so you need the company code or a board URL for each company.

**What happens if an ATS changes its API?** Every response is checked against the expected format first. If required fields are missing or have a different type, the run fails with "Source format changed" instead of returning wrong or half-filled data.

### What we do not return, and why

- **No recruiter or hiring-manager data.** None of the three APIs has a recruiter field in the job list, and we do not add one. Greenhouse's company-defined custom fields (`metadata`) are left out because companies can put anything in them, including people's names.
- **No emails or phone numbers from descriptions.** Job descriptions sometimes contain a recruiter's personal email or phone (in one sample, most emails in a bank's job ads were personal addresses). Emails and phone numbers in descriptions are replaced with `[email removed]` / `[phone removed]`, in both the text and the HTML version. In the HTML version, `mailto:`/`tel:` links are unlinked, addresses hidden in link parameters are removed, and if the cleaned HTML still seems to contain an email or phone number, `descriptionHtml` is returned as `null` for that job rather than risk leaking it. This is best effort: unusual spellings can slip through, and names written in the description (for example "contact Jane Doe") are not removed.
- **No application questions.** Greenhouse application forms (questions, EEOC / demographic questions) are not returned.
- **No equity values.** For Ashby only salary components are returned, not equity.

### Related Actors

Other company data Actors by the same author:

- **[SEC EDGAR Filings Scraper – 10-K, 8-K & Form 4](https://apify.com/justaduck/sec-edgar-filings)**: 10-K, 10-Q, 8-K, Form 4 and every other SEC filing for a list of tickers or CIK numbers. Use it for the SEC filings of public companies you track.
- **[Secretary of State Business Search – CO, CT & OR](https://apify.com/justaduck/secretary-of-state-business-search)**: official business registrations and newly registered companies in Colorado, Connecticut and Oregon. Use it to build a list of new companies to research.
- **[DNS Lookup in Bulk – MX, SPF, DMARC & DNS Records](https://apify.com/justaduck/bulk-dns-lookup)**: A, MX, TXT, SPF and DMARC records for a list of domains, with the mail provider behind each MX record. Use it to add the mail provider and SPF / DMARC records of each company domain.

# Actor input Schema

## `greenhouseCompanies` (type: `array`):

Board tokens, e.g. "stripe" for boards.greenhouse.io/stripe. Codes that do not exist are skipped and listed in the run summary.

## `leverCompanies` (type: `array`):

Site names, e.g. "palantir" for jobs.lever.co/palantir (case-sensitive). For Lever EU (jobs.eu.lever.co) paste the URL in "Job board URLs".

## `ashbyCompanies` (type: `array`):

Job board names, e.g. "linear" for jobs.ashbyhq.com/linear.

## `jobBoardUrls` (type: `array`):

Greenhouse, Lever (incl. jobs.eu.lever.co) or Ashby job board or job posting URLs, e.g. https://jobs.lever.co/palantir. The ATS and company are detected from the URL. Career pages on a company's own domain are not detected.

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

Only return jobs whose title contains at least one of these words or phrases (case-insensitive), e.g. "engineer" or "product manager". Leave empty to return every job.

## `locations` (type: `array`):

Only return jobs whose location text (main or any additional location) contains at least one of these (case-insensitive), e.g. "London" or "United States". Matching is plain text: "US" also matches "Austin". Leave empty for all locations.

## `workplaceTypes` (type: `array`):

Only return jobs with one of these workplace types (Lever and Ashby's own field). Greenhouse has no standard workplace field, so when this is set no Greenhouse jobs are returned. Leave empty for all.

## `postedWithinDays` (type: `integer`):

Only return jobs published in the last N days (publishedAt, counted as N × 24 hours before the ATS server's response time). Jobs without a publish date are left out when this is set. Leave empty for any date.

## `minSalary` (type: `integer`):

Only return jobs with a published salary range that starts at this yearly amount or more (in "Salary currency"). Monthly salaries count × 12. Jobs without a comparable salary are left out when this is set: no published salary, another currency, hourly, daily or weekly pay, or Greenhouse jobs (Greenhouse gives no pay period). Leave empty to ignore salary.

## `salaryCurrency` (type: `string`):

3-letter currency code for "Minimum yearly salary", e.g. USD, EUR, GBP. Empty = USD. Amounts in other currencies are not converted.

## `includeDescriptionHtml` (type: `boolean`):

Also return the description as HTML (descriptionHtml). The plain-text description is always returned. Emails and phone numbers are removed from both; mailto:/tel: links are unlinked. If the HTML still seems to contain an email or phone number after cleaning, descriptionHtml is left empty (null) for that job.

## `maxItems` (type: `integer`):

Maximum number of jobs to return in total. You pay only for jobs returned. Leave empty for no limit.

## Actor input object example

```json
{
  "ashbyCompanies": [
    "linear"
  ],
  "includeDescriptionHtml": false,
  "maxItems": 20
}
```

# Actor output Schema

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

One dataset item per result. Field descriptions are in the dataset schema.

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

SUMMARY record: per-input status, item counts and the reason for any skipped or failed input.

# 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 = {
    "ashbyCompanies": [
        "linear"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("justaduck/greenhouse-lever-ashby-jobs").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 = {
    "ashbyCompanies": ["linear"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("justaduck/greenhouse-lever-ashby-jobs").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 '{
  "ashbyCompanies": [
    "linear"
  ],
  "maxItems": 20
}' |
apify call justaduck/greenhouse-lever-ashby-jobs --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,justaduck/greenhouse-lever-ashby-jobs"
        }
    }
}
```

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/hqwnf0c8qBV2RH1B5/builds/BP9Sr6vZLiOW17odc/openapi.json
