# Salary-Range-Only ATS Job Feed (`piksen_digital/salary-range-only-ats-job-feed`) Actor

A salary-first ATS scraper that targets major boards and drops any post missing explicit compensation. Standardizes hourly, monthly, or fragmented salary strings into uniform annualized minimum and maximum figures.

- **URL**: https://apify.com/piksen_digital/salary-range-only-ats-job-feed.md
- **Developed by:** [George Chapungu](https://apify.com/piksen_digital) (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.00 / 1,000 salary listings

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

## Salary-Range-Only ATS Job Feed

A high-signal data pipeline built for Apify that extracts and normalizes structured job postings from major ATS platforms (Greenhouse, Lever, Workday).

**This Actor filters out the noise: it returns only job listings that explicitly publish a transparent salary range.**

### 🎯 Value Proposition

- **Zero Noise:** Drops any listing missing explicit compensation details.
- **Unified Normalization:** Standardizes hourly, monthly, or fragmented salary quotes into uniform Annualized Min/Max figures.
- **Regulatory Compliance:** Ideal for building pay-transparency aggregators, recruiter feeds, and compensation analytics tools.

### 📁 Repository Structure

```
├── .actor/
│   ├── actor.json           # Apify manifest (points to input + dataset schemas)
│   ├── input_schema.json    # Input form definition rendered by Apify Console
│   └── dataset_schema.json  # Output fields + views rendered in the Output tab
├── .dockerignore
├── .gitignore
├── README.md
├── Dockerfile               # Production runtime container configuration
├── main.js                  # Core scraping orchestration
├── helpers.js               # Salary extraction & normalization logic
└── package.json
```

### 🛠️ Local Development & Testing

#### Prerequisites

Ensure you have the Apify CLI installed globally:

```
npm install -g apify-cli
```

#### Running Locally inside GitHub Codespaces

1. Clone the repository and navigate to the root directory.

2. Authenticate with your platform account:

   ```
   apify login
   ```

3. Run the actor locally to verify data streams:

   ```
   apify run
   ```

### 📈 Input Schema Configuration

The Input form in Apify Console is generated from `.actor/input_schema.json`. It accepts:

- **ATS Board or Job URLs** (`startUrls`): links to individual job postings **or** company job board pages (e.g. `https://boards.greenhouse.io/acme` or `https://jobs.lever.co/acme`). Board pages are automatically scanned and their job posting links are enqueued.
- **Maximum Paid Items** (`maxResults`): stop after this many listings (default `10`).
- **Default Currency Fallback** (`defaultCurrency`): used when no currency symbol is found on the page (default `USD`).

Example raw input:

```
{
    "startUrls": [
        { "url": "https://boards.greenhouse.io/acme" }
    ],
    "maxResults": 10,
    "defaultCurrency": "USD"
}
```

### 📤 Output Dataset

Each dataset item is a job listing with a verified transparent salary range:

| Field | Description |
| --- | --- |
| `url` | Source URL of the job posting |
| `title` | Job title as shown on the posting |
| `company` | Cleaned company name |
| `hasSalary` | Always `true`: the item passed the salary filter |
| `compensationType` | How the salary was quoted: `Base` or `Hourly` |
| `currency` | ISO currency code of the quoted range |
| `annualizedMin` | Normalized annualized minimum salary |
| `annualizedMax` | Normalized annualized maximum salary |
| `rawSalaryString` | Original salary text as found on the page |
| `scrapedAt` | ISO timestamp of extraction |

The Output tab in Apify Console renders two views defined in `.actor/dataset_schema.json`: **Salary listings** (default overview) and **Compensation details** (including the raw salary text and scrape timestamp).

> **Note:** Workday-hosted boards render client-side and require a headless browser, while this actor uses Cheerio (static HTML). Prefer Greenhouse and Lever URLs for best results.

# Actor input Schema

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

Paste links to specific postings OR a main company job board catalog.

## `maxResults` (type: `integer`):

The maximum number of transparent salary listings to output before stopping.

## `defaultCurrency` (type: `string`):

Fallback asset symbol if none is discovered on-page.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://jobs.lever.co/waabi/12c40987-656a-4ec3-9fc0-3c0801c74238"
    }
  ],
  "maxResults": 10,
  "defaultCurrency": "USD"
}
```

# Actor output Schema

## `salaryListings` (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 = {
    "startUrls": [
        {
            "url": "https://jobs.lever.co/waabi/12c40987-656a-4ec3-9fc0-3c0801c74238"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piksen_digital/salary-range-only-ats-job-feed").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 = { "startUrls": [{ "url": "https://jobs.lever.co/waabi/12c40987-656a-4ec3-9fc0-3c0801c74238" }] }

# Run the Actor and wait for it to finish
run = client.actor("piksen_digital/salary-range-only-ats-job-feed").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 '{
  "startUrls": [
    {
      "url": "https://jobs.lever.co/waabi/12c40987-656a-4ec3-9fc0-3c0801c74238"
    }
  ]
}' |
apify call piksen_digital/salary-range-only-ats-job-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piksen_digital/salary-range-only-ats-job-feed"
        }
    }
}
```

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/RRFM4o3daedTpd6ub/builds/KYaiYQ0eA1xpSU7TN/openapi.json
