# Job Listing Freshness Checker — Greenhouse & Lever (`pietrofilippo/job-listing-freshness-checker`) Actor

Check existing job links against public boards and direct lookups, preserving your record IDs.

- **URL**: https://apify.com/pietrofilippo/job-listing-freshness-checker.md
- **Developed by:** [Pietro Filippo](https://apify.com/pietrofilippo) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 job checks

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

## Job Listing Freshness Checker

Check existing Greenhouse and Lever job records without replacing your collection pipeline. The Actor preserves each optional `recordId` and returns source evidence. Lever global and EU hosted URLs are supported.

### Input

```json
{"jobs":[{"recordId":"your-record","url":"https://job-boards.greenhouse.io/company/jobs/123"}]}
```

Replace the sample with real URLs. For custom career domains, provide `provider` (`greenhouse` or `lever`), `board` and `jobId`; Lever EU also needs `region: "eu"`. The custom domain is not fetched. Maximum 1,000 records, 50 boards and 250 source HTTP attempts per run.

### Output

- `listed`: ID appears in a complete public board response.
- `accessible_unlisted`: absent from that board, but a direct lookup succeeds. The listing may have changed between requests.
- `not_found`: after a successful complete board lookup, the direct endpoint returns 404 or 410. An incorrect ID can produce this too.
- `unknown`: invalid/unsupported input, incomplete response, outage, rate limit or resource cap. See `reason`.

Dataset rows include `recordId`, `originalUrl`, `provider`, `board`, `region`, `jobId`, `checkedAt`, `status`, `reason` and `evidenceUrl`. A `SUMMARY` record reports counts and requests. Export rows using Apify's dataset exports; no rows are deleted from your systems.

### Billing and limitations

Configured price: $1 per 1,000 successful checks, through the `job-checked` event, plus Apify's $0.00005 start event (one event at the default 256 MB memory). `unknown` results have no job-check charge; the start fee still applies. Repeated input records are separately processed/billed; board and direct requests are cached during a run. The Actor stops before additional work when the event spending limit is exhausted. Verify the current price in the Pricing tab.

This checks source availability, not whether a vacancy was filled or genuine. No login, paid proxy or AI inference is required. Small batches scattered across many boards can have higher platform costs; pricing remains subject to cloud benchmarking.

# Actor input Schema

## `jobs` (type: `array`):

1–1,000 URL strings or objects with url and recordId. Custom domains require provider, board and jobId. Maximum 50 boards per run.

## Actor input object example

```json
{
  "jobs": [
    {
      "provider": "greenhouse",
      "board": "webflow",
      "jobId": "1",
      "recordId": "example-invalid-id"
    }
  ]
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "jobs": [
        {
            "provider": "greenhouse",
            "board": "webflow",
            "jobId": "1",
            "recordId": "example-invalid-id"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pietrofilippo/job-listing-freshness-checker").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 = { "jobs": [{
            "provider": "greenhouse",
            "board": "webflow",
            "jobId": "1",
            "recordId": "example-invalid-id",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("pietrofilippo/job-listing-freshness-checker").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 '{
  "jobs": [
    {
      "provider": "greenhouse",
      "board": "webflow",
      "jobId": "1",
      "recordId": "example-invalid-id"
    }
  ]
}' |
apify call pietrofilippo/job-listing-freshness-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pietrofilippo/job-listing-freshness-checker"
        }
    }
}
```

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/Jinx4hyWL0AaGWGuT/builds/gyFe4txbFTZ7dTlec/openapi.json
