# Ghost Job Detector for Lever & Greenhouse (`sourcewise/ghost-job-detector`) Actor

Scores companies on ghost-job risk by analyzing public Lever and Greenhouse job boards for stale postings, re-post frequency, and days open.

- **URL**: https://apify.com/sourcewise/ghost-job-detector.md
- **Developed by:** [Sourcewise](https://apify.com/sourcewise) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

## Ghost Job Detector for Lever & Greenhouse

Find out which companies leave job postings open for months. Ghost Job Detector reads the public Lever and Greenhouse job boards, flags postings open longer than your threshold, and gives each company a ghost-job risk score from 0 to 100.

Built for job seekers deciding where to apply, recruiters comparing how long rivals keep roles open, and researchers tracking hiring behavior.

Data comes from the public Lever and Greenhouse job board APIs. No login and no API keys are needed.

### Use cases

- **Job seekers:** skip or deprioritize companies whose postings sit open for months.
- **Recruiters and talent teams:** benchmark how long competitors keep roles open.
- **Researchers and journalists:** measure stale and repeated postings across many boards.
- **Weekly monitoring:** turn on "Only new since last run" to see only fresh flags.

### Input

- **Lever job board(s):** paste a link such as https://jobs.lever.co/spotify, or just the company name part such as linkedin. Add one or more.
- **Greenhouse job board(s):** paste a link from your browser, or just the company name part. Add one or more.
- **Ghost-job threshold (days):** postings open longer than this are flagged. Default is 60.
- **Only new since last run:** off by default. When on, the run returns only postings newly flagged or newly appearing since the previous run. A run with nothing new still succeeds.
- **maxItems:** caps the number of results in one run.

Example input:

{"leverSlugs":\["https://jobs.lever.co/spotify","linkedin"],"thresholdDays":60,"onlyNew":false,"maxItems":100}

### Output

Each result is one job posting. Fields include company, source (lever or greenhouse), jobId, title, location, department, postedAt, updatedAt, daysOpen, repostCount (postings on the same board with this exact title, including this one), url, isGhostJob (true when daysOpen is greater than thresholdDays), and company-level fields: ghostJobScore, totalPostings, ghostPostings, and avgDaysOpen.

Example output:

\[
{
"company": "spotify",
"source": "lever",
"jobId": "2a55d6c9-c564-443a-be3e-a3851db5a93b",
"title": "Account Executive - Commercial, Spotify Technology",
"location": "New York, NY",
"department": "Operations and Business Support",
"postedAt": "2026-10-23T15:00:40.768Z",
"updatedAt": "2026-10-23T15:00:40.768Z",
"daysOpen": 28,
"repostCount": 3,
"url": "https://jobs.lever.co/spotify/2a55d6c9-c564-443a-be3e-a3851db5a93b",
"isGhostJob": false,
"ghostJobScore": 55,
"totalPostings": 91,
"ghostPostings": 32,
"avgDaysOpen": 62
},
{
"company": "spotify",
"source": "lever",
"jobId": "2d67c471-9015-41c0-a041-b982ec4a14fd",
"title": "Account Executive - Commercial, Spotify Technology",
"location": "London",
"department": "Operations and Business Support",
"postedAt": "2026-10-23T21:51:17.203Z",
"updatedAt": "2026-10-23T21:51:17.203Z",
"daysOpen": 28,
"repostCount": 3,
"url": "https://jobs.lever.co/spotify/2d67c471-9015-41c0-a041-b982ec4a14fd",
"isGhostJob": false,
"ghostJobScore": 55,
"totalPostings": 91,
"ghostPostings": 32,
"avgDaysOpen": 62
}
]

### Pricing

About $2 per 1,000 results. You pay per result returned.

### Limits

- Only public Lever and Greenhouse job boards are read. A company without a public board returns no results.
- Dates are the ones the ATS publishes. The tool cannot see internal hiring decisions, so daysOpen is an age measure, not proof of intent.
- A high ghostJobScore is a risk signal to weigh alongside other information, not a verdict on any company.
- Results are capped by maxItems in each run.

### Example output

```json
[
  {
    "company": "spotify",
    "source": "lever",
    "jobId": "2a55d6c9-c564-443a-be3e-a3851db5a93b",
    "title": "Account Executive - Commercial, Spotify Technology",
    "location": "New York, NY",
    "department": "Operations and Business Support",
    "postedAt": "2026-10-23T15:00:40.768Z",
    "updatedAt": "2026-10-23T15:00:40.768Z",
    "daysOpen": 28,
    "repostCount": 3,
    "url": "https://jobs.lever.co/spotify/2a55d6c9-c564-443a-be3e-a3851db5a93b",
    "isGhostJob": false,
    "ghostJobScore": 55,
    "totalPostings": 91,
    "ghostPostings": 32,
    "avgDaysOpen": 62
  },
  {
    "company": "spotify",
    "source": "lever",
    "jobId": "2d67c471-9015-41c0-a041-b982ec4a14fd",
    "title": "Account Executive - Commercial, Spotify Technology",
    "location": "London",
    "department": "Operations and Business Support",
    "postedAt": "2026-10-23T21:51:17.203Z",
    "updatedAt": "2026-10-23T21:51:17.203Z",
    "daysOpen": 28,
    "repostCount": 3,
    "url": "https://jobs.lever.co/spotify/2d67c471-9015-41c0-a041-b982ec4a14fd",
    "isGhostJob": false,
    "ghostJobScore": 55,
    "totalPostings": 91,
    "ghostPostings": 32,
    "avgDaysOpen": 62
  }
]
```

# Actor input Schema

## `leverSlugs` (type: `array`):

Paste Lever job board links copied from your browser (e.g. https://jobs.lever.co/spotify), or just the company name part (e.g. spotify). One or more.

## `greenhouseSlugs` (type: `array`):

Paste Greenhouse job board links copied from your browser (e.g. https://job-boards.greenhouse.io/airbnb or https://boards.greenhouse.io/stripe), or just the company name part (e.g. stripe). One or more.

## `thresholdDays` (type: `integer`):

Flag postings open longer than this many days as potential ghost jobs. Default 60. Example: 60

## `onlyNew` (type: `boolean`):

Off by default. When on, output only postings that are newly flagged as ghost jobs or newly appeared since the previous run. Use for weekly monitoring. A run with nothing new still succeeds.

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

Stop after this many results (you pay per result).

## Actor input object example

```json
{
  "leverSlugs": [
    "https://jobs.lever.co/spotify",
    "linkedin"
  ],
  "thresholdDays": 60,
  "onlyNew": false,
  "maxItems": 100
}
```

# Actor output Schema

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

One item per result, with: company, source, jobId, title, location, department, postedAt, updatedAt, daysOpen, repostCount, url, isGhostJob, ghostJobScore, totalPostings, ghostPostings, avgDaysOpen.

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

How many results the run returned, and when it finished.

# 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 = {
    "leverSlugs": [
        "https://jobs.lever.co/spotify",
        "linkedin"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sourcewise/ghost-job-detector").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 = { "leverSlugs": [
        "https://jobs.lever.co/spotify",
        "linkedin",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sourcewise/ghost-job-detector").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 '{
  "leverSlugs": [
    "https://jobs.lever.co/spotify",
    "linkedin"
  ]
}' |
apify call sourcewise/ghost-job-detector --silent --output-dataset

```

## MCP server setup

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

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/drTlnq0dUYeSHaayQ/builds/SO3iYRV109gHrRVuv/openapi.json
