# Greenhouse Job Scraper (`jobsapi/greenhouse-job-search-scraper`) Actor

Scrape public Greenhouse job boards and return normalized postings, locations, requirements, benefits, and application links.

- **URL**: https://apify.com/jobsapi/greenhouse-job-search-scraper.md
- **Developed by:** [Jobs API](https://apify.com/jobsapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 greenhouse career roles

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Jobs Search Scraper

This Actor reads public Greenhouse board data and emits complete, source-grounded job records. It uses the public `content=true` board API over ordinary direct HTTPS and does not log in, access candidate data, solve challenges, use a proxy, or change browser identity.

### Input

Use one or more of these functional fields:

- `boardUrls`: public `boards.greenhouse.io` or `job-boards.greenhouse.io` board URLs.
- `startUrls`: request-list objects containing public board URLs.
- `boardSlugs`: short board names such as `gitlab`.
- `query` / `keyword`: optional terms matched against the title, description, and departments.
- `location`: optional location substring matched against the location and offices.
- `maxJobs` / `maxItems`: maximum number of unique records.

Runtime, proxy, retry, timeout, user-agent, raw-payload, fixture, and debug controls are intentionally not public inputs. Requests are sequential, direct, and bounded by the Actor.

### Output

Each record retains the public posting identity and URLs, board and company information, locations, departments, offices, employment labels, publication dates, salary text when published, inferred source terms, readable HTML/text description, heading-based sections, responsibilities, requirements, qualifications, benefits, team information, and embedded Greenhouse application metadata. It also includes direct request receipts with HTTP status and SHA-256 response hashes, retrieval provenance, quality coverage, and a reconciled `meaningfulLeafCount`.

`applicationUrl` and `applyUrl` identify the public Greenhouse detail/application page. `applicationType` explains that the public page contains the embedded Greenhouse application form; candidate-entered values are never collected.

### Access policy

HTTP `401`, `403`, `429`, `451`, a visible challenge page, or a redirect to a login page is treated as a confirmed source barrier. The run stops without retrying or switching routes, records `BLOCKED_SOURCE_ACCESS` evidence in key-value storage, discards buffered-but-unwritten candidates, and reports `resultStatus: "SKIPPED"` when no Dataset rows were persisted. No bypass, alternate identity, proxy, stealth, or CAPTCHA interaction is attempted.

### Run status

The `status` in `OUTPUT` and `RUN_SUMMARY` describes the Actor process; `resultStatus` describes the extraction result. The values are intentionally separate:

- `SUCCEEDED` / `COMPLETE`: eligible records were written and the run had no recorded limitations.
- `SUCCEEDED` / `LIMITED`: eligible records were persisted, but a later request, Dataset, key-value-store, or finalization problem limited completion.
- `SUCCEEDED` / `SKIPPED`: a confirmed source barrier stopped the run before any Dataset row was persisted.
- `SUCCEEDED` / `DEFERRED`: the run finished but its zero-row result could not be verified as a source-authored empty result or access barrier.
- `FAILED` / `FAILED`: a fatal input, runtime, or storage/finalization failure occurred before any Dataset row was persisted.

Only complete, detail-verified Greenhouse jobs with matching identity/URLs, a successful board-response receipt, readable descriptions, and the existing `meaningfulLeafCount > 20` quality threshold enter the Dataset. Diagnostics, access receipts, and rejected candidates stay in key-value storage. Counts in `RUN_SUMMARY` are based on awaited successful Dataset writes, not candidate records.

### Local validation

These are offline checks that do not start the Actor or inspect local storage:

```text
npm test
npm run lint
npx --yes apify-cli validate-schema
```

`npm run validate:dataset` reads persisted local Dataset and key-value-store files; `apify run` writes them, and `apify run --purge` may delete prior local Actor data. Those storage-backed commands were not run for this lifecycle-only audit. The validator is updated to reconcile platform/result status pairs and actual persisted row/diagnostic counts when an explicitly scoped local run is available.

No fresh target-site/Chrome comparison, Actor run, or Cloud run was performed for this lifecycle update. Current source availability and data quality therefore remain unverified; an offline test or schema pass is not source-backed qualification evidence.

# Actor input Schema

## `boardUrls` (type: `array`):

Public boards.greenhouse.io or job-boards.greenhouse.io URLs.

## `startUrls` (type: `array`):

Compatibility alias accepting Apify request-list URL objects.

## `boardSlugs` (type: `array`):

Greenhouse board slugs, for example acme or example-company.

## `maxJobs` (type: `integer`):

Maximum unique job records across all boards.

## `query` (type: `string`):

Optional terms that must appear in the title, description, or department.

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

Optional location substring matched against the location and offices.

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

Compatibility alias for maxJobs.

## Actor input object example

```json
{
  "maxJobs": 100
}
```

# Actor output Schema

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

No description

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

No description

## `diagnostics` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("jobsapi/greenhouse-job-search-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("jobsapi/greenhouse-job-search-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 '{}' |
apify call jobsapi/greenhouse-job-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jobsapi/greenhouse-job-search-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/4dZT0sZ1WOeT0OZS2/builds/yZ5Rov663R4ErXtNr/openapi.json
