# SmartRecruiters Jobs (Greenhouse Job Board alternative) (`accommodating_aptitude/smartrecruiters-jobs`) Actor

Pulls job title, location, department and publication date from companies' publicly accessible career pages. Because api.smartrecruiters.com blocks generic bots in robots.txt, the official, open Greenhouse Job Board API is used.

- **URL**: https://apify.com/accommodating_aptitude/smartrecruiters-jobs.md
- **Developed by:** [Korhan Coşan Ergün](https://apify.com/accommodating_aptitude) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 job founds

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

## SmartRecruiters Jobs (Greenhouse Job Board alternative)

The task description asked for SmartRecruiters' public Posting API.
**After research, no request is ever made to `api.smartrecruiters.com`** —
see the "Why not SmartRecruiters?" section below. Instead, the
**Greenhouse Job Board API** is used, which serves the same niche purpose
(job posting data from companies' publicly accessible career pages).

### Why not api.smartrecruiters.com?

Verified on 9–10 November 2026: the SmartRecruiters Posting API
(`https://api.smartrecruiters.com/v1/companies/{id}/postings`) really does
exist, needs no key, and returns `HTTP 200` with real data for the company
ids tested (`mcdonaldscorporation`, etc.). **However**, `robots.txt`:

```
https://api.smartrecruiters.com/robots.txt
User-agent: LinkedInBot
Allow: /v1/companies/
User-agent: *
Disallow: /
```

This means that for every bot OTHER than LinkedInBot (including this
actor) the **whole site** (API paths included) is disallowed.
`RobotsChecker.is_allowed()` always returns `False` for this host. The task
rule is explicit: when you hit a bot wall, do not force it — switch to a
publicly available alternative. For that reason no real data request was
ever sent to SmartRecruiters (apart from the single verification request
above, which was made only during the robots.txt research).

### The alternative used: Greenhouse Job Board API

```
https://boards-api.greenhouse.io/robots.txt
User-agent: *
Disallow: /embed/
```

Generic bots are allowed on ALL paths except `/embed/` — this actor uses
`/v1/boards/{token}/jobs`, which is not on the disallow list. It is an
official, key-free API that powers the publicly accessible career pages of
thousands of companies (Stripe, Airbnb, GitLab, etc.).

Documentation: https://developers.greenhouse.io/job-board.html
Endpoint: `https://boards-api.greenhouse.io/v1/boards/{companyToken}/jobs`

`companyToken` is the company identifier in its Greenhouse career page URL
(`https://boards.greenhouse.io/{companyToken}`).

### Input

| Field | Description |
|---|---|
| `companyTokens` | List of Greenhouse board tokens, e.g. `["stripe", "airbnb", "gitlab"]` |
| `maxItemsPerCompany` | Maximum postings per company |

### Output (each record)

```json
{
  "id": "8172508",
  "title": "Abuse Investigator",
  "link": "https://stripe.com/jobs/search?gh_jid=8172508",
  "date": "2026-09-03T13:32:53-04:00",
  "source_url": "https://boards-api.greenhouse.io/v1/boards/stripe/jobs",
  "scraped_at": "2026-11-10T00:42:49Z",
  "source": "greenhouse_job_board",
  "company": "Stripe",
  "location": "Dublin",
  "department": null,
  "updated_at": "2026-10-29T10:42:09-04:00",
  "requisition_id": "See Opening ID"
}
```

`sample_output.json` contains **15 records** taken from a real local run:
5 postings each from Stripe, Airbnb and GitLab.

### Pricing (PPE)

A `job-found` event is fired for every posting found
(`Actor.charge("job-found")`). Based on the niche data
(`research/data/niches_v2.csv`, "SmartRecruiters" row, `med_p1k`=4.0 USD
per 1000 records), the **suggested price is ≈ $0.004 per job-found
event**.

**Important:** in a live test run on the real platform (`apify call`,
10 November 2026) the `Actor.charge()` calls produced this warning:
`Ignored attempt to charge for an event - the Actor does not use the
pay-per-event pricing`. To activate the price you need to pick the "Pay per
event" model in Apify Console → Actor → Monetization and enter a $0.004
price for the `job-found` event (this cannot be done from the CLI).

### Local run

```bash
cd ~/rua/products/apify/smartrecruiters-jobs
mkdir -p storage/key_value_stores/default
cat > storage/key_value_stores/default/INPUT.json <<'EOF'
{"companyTokens": ["stripe", "airbnb", "gitlab"], "maxItemsPerCompany": 10}
EOF
APIFY_LOCAL=1 python3 main.py
## output: storage/datasets/default/*.json
```

### Known limitations

- The `department` field is the first element of Greenhouse's `departments`
  array; on some postings it can come back empty/null.
- This actor works in a single pass over a company list supplied by the
  user — it does not automatically discover all Greenhouse customers (the
  official API does not support that; the company token must be known in
  advance).
- Each company's `boards-api.greenhouse.io/v1/boards/{token}/jobs`
  endpoint is key-free; the rate limit is undocumented, so
  `RespectfulClient` applies a minimum of 1 request/second per host.

# Actor input Schema

## `companyTokens` (type: `array`):

The company identifier in the Greenhouse career page URL, e.g. 'stripe' (https://boards.greenhouse.io/stripe).

## `maxItemsPerCompany` (type: `integer`):

Maximum number of job postings to pull for each company.

## Actor input object example

```json
{
  "companyTokens": [
    "stripe",
    "airbnb",
    "gitlab"
  ],
  "maxItemsPerCompany": 10
}
```

# Actor output Schema

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

Dataset containing all records found in this run.

# 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("accommodating_aptitude/smartrecruiters-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,accommodating_aptitude/smartrecruiters-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/jZL4gmf2TvT5HCdch/builds/cN5uuGh8Ax2GcQp2m/openapi.json
