# Salary Data API: Benchmarks from Job Postings (`dealmahal/salary-benchmarks-from-job-postings`) Actor

Salary benchmarks from real published pay in live job postings at 11,000+ companies: median, 25th and 75th percentile, min, max and sample size per role, country and currency. Never estimated. Each benchmark includes example postings with links. $0.01 per benchmark.

- **URL**: https://apify.com/dealmahal/salary-benchmarks-from-job-postings.md
- **Developed by:** [Dealmahal Tools](https://apify.com/dealmahal) (community)
- **Categories:** Jobs, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 salary benchmark

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/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 Data API: Benchmarks from Job Postings

**Get salary benchmarks built only from pay that employers actually published** in live job postings across 11,000+ company career sites. For each role and country you get the median, 25th and 75th percentile, minimum, maximum, sample size, number of companies and example postings with links. **Nothing is estimated.**

> **In one line:** Input: role keywords, optional location. Output: one benchmark per role, country, currency and pay period. Price: $0.01 per benchmark. Free preview: `countOnly`.

**Try it now:** click **Try for free**, then **Start**. The prefilled input finishes in seconds. Apify's free plan includes $5 of monthly usage, enough for about **500 benchmarks** with this tool.

### Key facts

| | |
|---|---|
| **Method** | Midpoint of every published pay range, grouped by role, country, currency and period |
| **Source** | Published pay in live postings at 11,000+ companies (job-board pay fields and explicit ranges in job text) |
| **Evidence** | Up to 5 example postings with links in every benchmark |
| **Freshness** | Updated every night: busiest companies nightly, every company at least every 2 days |
| **Price** | $0.01 per benchmark, lower on Scale and Business plans. Free previews with `countOnly` |
| **Login or API key** | None needed |
| **Personal data** | None returned |
| **Export** | JSON, CSV, Excel, XML, HTML, API, MCP for AI agents |

### Who uses it

- **HR and compensation teams** checking offers against the live market.
- **Recruiters** answering "what does this role pay?" with evidence.
- **Job seekers and career apps** showing real pay ranges.
- **AI agents** that need cited salary data instead of guesses.

### Ready-made examples

Each example opens with the input already filled in. Results and costs are from real runs.

| Example | Real result | Cost on the Free plan |
|---|---|---|
| [US tech salaries](https://apify.com/dealmahal/salary-benchmarks-from-job-postings/examples/us-tech-salary-benchmarks) | 7 benchmarks in 10 s | $0.07 |
| [Sales and customer success salaries](https://apify.com/dealmahal/salary-benchmarks-from-job-postings/examples/sales-salary-benchmarks) | 22 benchmarks in 10 s | $0.22 |
| [Pay by seniority level](https://apify.com/dealmahal/salary-benchmarks-from-job-postings/examples/salary-by-seniority) | 20 benchmarks in 11 s | $0.20 |

### How to use Salary Data API

1. Click **Try for free** and sign in to Apify or create a free account (no credit card needed).
2. Fill in the fields you need. Every field is optional except where noted, and each one explains itself.
3. Optional: turn on **Count only** for a free preview of how many results match.
4. Click **Start**. Results appear in seconds in the **Output** tab.
5. Download as Excel, CSV or JSON, or connect Google Sheets, Make, Zapier, n8n, Slack or a webhook.
6. To repeat it, save the input as a task and add a schedule (for example daily at 7:00).

### Input

The smallest useful input:

```json
{"titleKeywords": ["software engineer"]}
```

A fuller example (us tech salaries):

```json
{"titleKeywords": ["software engineer", "data engineer", "product manager", "data scientist", "designer"], "locations": ["US"], "minSamples": 5}
```

All input fields:

| Field | Type | What it does |
|---|---|---|
| `titleKeywords` | array | **Roles to benchmark.** One benchmark per role keyword found in job titles. Example: \["data engineer", "product manager"]. Empty groups by seniority level instead. |
| `locations` | array | **Location contains any of.** Keep jobs whose location matches any entry. Accepts city, country or code: "India", "IN", "Bangalore", "London", "UK", "US", "Remote". Common spellings are matched together (Bangalore and Bengaluru). |
| `seniority` | array | **Seniority levels.** Keep only these levels, read from the job title: intern, entry, mid, senior, staff, lead, manager, director, vp, executive. Example: \["senior", "staff"]. Empty means all. |
| `remoteOnly` | boolean | **Remote jobs only.** If true, keeps only jobs the company marks as remote. Default false. |
| `postedWithinDays` | integer | **Posted within the last N days.** Whole number from 0 to 365. 0 means no date limit. When set, jobs without a posting date are skipped. Default 0. |
| `maxResults` | integer | **Maximum benchmarks to return.** Maximum benchmarks to return and charge. 0 means no limit. Default 50. |
| `countOnly` | boolean | **Count only (free preview).** If true, returns nothing and charges nothing: the status message shows how many benchmarks are available. Default false. |
| `minSamples` | integer | **Minimum postings per benchmark.** Only return benchmarks based on at least this many postings with published pay. Default 3. |

### Output

A real record from the example "US tech salaries" (run on 2026-12-04):

```json
{
  "recordType": "salary_benchmark",
  "id": "benchmark:software engineer:US:USD:year",
  "role": "software engineer",
  "country": "US",
  "currency": "USD",
  "period": "year",
  "sampleSize": 2920,
  "companies": 339,
  "min": 12500,
  "p25": 188100,
  "median": 222000,
  "p75": 263000,
  "max": 975000,
  "salarySources": {
    "description": 2074,
    "job_board": 846
  },
  "exampleJobs": [
    {
      "companyName": "1X",
      "title": "Senior Technical Recruiter - Software Engineering",
      "salaryText": "$110K – $186K • Offers Equity",
      "jobUrl": "https://jobs.ashbyhq.com/1x/1147901f-b444-4473-825f-21d12e435bc1"
    },
    {
      "companyName": "AiPrise",
      "title": "Software Engineer III - Senior Engineer",
      "salaryText": "$185K – $230K • Offers Bonus",
      "jobUrl": "https://jobs.ashbyhq.com/aiprise/baa40656-f1a6-449d-bae1-959a386b87d4"
    }
  ],
  "method": "Midpoint of each published pay range; only jobs that publish pay; at least 3 companies per benchmark; nothing estimated.",
  "generatedAt": "2026-12-04T03:00:55+00:00"
}
```

Every output field:

| Field | Description |
|---|---|
| `recordType` | Always "salary_benchmark". |
| `role` | Role keyword the benchmark is for (or seniority level when no keywords given). |
| `country` | Country code from the postings (benchmarks with an ambiguous country are skipped). |
| `currency` | Currency of the published pay. |
| `period` | year, month or hour. |
| `sampleSize` | Number of postings with published pay in this group. |
| `companies` | Distinct companies in the sample (at least 3, or minSamples if lower). |
| `min` | Lowest range midpoint. |
| `p25` | 25th percentile of range midpoints. |
| `median` | Median of range midpoints. |
| `p75` | 75th percentile of range midpoints. |
| `max` | Highest range midpoint. |
| `salarySources` | Counts by where pay was published: job_board field or description text. |
| `exampleJobs` | Up to 5 postings in the sample with pay and link. |
| `method` | How the statistics were computed. |
| `generatedAt` | When generated (ISO 8601). |

### How much does it cost?

You pay only for the benchmarks you receive. No compute charges, no monthly fee from us.

| Apify plan | Price |
|---|---|
| Free and Starter | $0.01 per benchmark |
| Scale | $0.008 per benchmark |
| Business | $0.006 per benchmark |

- **Free:** count-only previews, duplicates, filtered-out results.
- **No charge on bad input:** if the input cannot work, the run stops before any charge and tells you what to fix.
- **Spending cap:** `maxResults` limits how many benchmarks a run returns and charges. You can also set a maximum cost per run in Apify, and the run stops exactly there.
- **Free plan:** Apify's $5 monthly credit covers about 500 benchmarks.

### Use it from AI agents (MCP)

AI assistants such as Claude, ChatGPT, Cursor and VS Code can run this tool through the Apify MCP server. Add this server URL, sign in to Apify, and ask in plain words:

```
https://mcp.apify.com?tools=dealmahal/salary-benchmarks-from-job-postings
```

- "What is the median salary for a data engineer in the US, based on real job postings?"
- "Compare published pay for product managers and software engineers in the US."
- "Give me salary benchmarks by seniority level for US jobs."

Built for agents: every input and output field is documented, inputs accept plain words ("India", "Stripe", "senior"), the smallest useful input is one field, invalid input fails fast before any charge with a message saying what to fix, and `countOnly` lets an agent check the size and cost of a request for free.

### Use it from your code (API)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("dealmahal/salary-benchmarks-from-job-postings").call(run_input={"titleKeywords": ["software engineer"]})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('dealmahal/salary-benchmarks-from-job-postings').call({"titleKeywords": ["software engineer"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```bash
curl -X POST "https://api.apify.com/v2/acts/dealmahal~salary-benchmarks-from-job-postings/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"titleKeywords": ["software engineer"]}'
```

### FAQ

#### Where does the pay data come from?

Only from pay the employer published: the job board's pay field, or an explicit range in the job text such as "$150,000 - $180,000" or "12-18 LPA". Implausible values are dropped. Nothing is estimated or modelled.

#### Why do some countries have few benchmarks?

Pay transparency differs by country. US states such as California, New York and Colorado require published ranges, so US data is deepest. Use **Minimum postings per benchmark** to control quality.

#### Can I benchmark by seniority?

Yes. Leave **Roles to benchmark** empty and you get one benchmark per seniority level.

#### Is it legal?

It reads only official public feeds that the job systems publish for other websites to use, and it returns no personal data. As with any data, use it for a legitimate purpose and follow the laws that apply to you. It is not affiliated with or endorsed by Greenhouse, Lever, Ashby, Workable or Personio.

#### How fresh is the data?

The built-in company list is updated every night: the busiest companies every night and every company at least every 2 days. Companies you name directly are read live at run time.

#### Is there a free version?

Yes in practice: Apify's free plan includes $5 of usage every month, enough for about 500 benchmarks. Count-only previews are always free.

#### Something does not work. What do I do?

Check the run's status message first: it says what happened and what to change. If that does not help, open an issue on the **Issues** tab with a link to your run and we will answer quickly.

### Other DealMahal hiring data tools

All built on the same daily hiring index, same field names, same responsible-data rules.

| If you need | Use |
|---|---|
| Jobs from named companies or by keyword across all five job systems | [ATS Jobs Scraper API: Greenhouse, Lever, Ashby](https://apify.com/dealmahal/greenhouse-lever-ashby-jobs) |
| A list of companies hiring for a role or skill (sales and recruiting leads) | [Companies Hiring Now: Hiring Intent Leads API](https://apify.com/dealmahal/companies-hiring-now) |
| Jobs from companies hiring on Workable | [Workable Jobs Scraper & API: 5,000+ Companies](https://apify.com/dealmahal/workable-jobs-api) |
| Jobs from companies hiring on Personio (Germany and Europe) | [Personio Jobs Scraper & API: Career Sites](https://apify.com/dealmahal/personio-jobs-api) |
| Salary benchmarks from published pay | [Salary Data API: Benchmarks from Job Postings](https://apify.com/dealmahal/salary-benchmarks-from-job-postings) (this tool) |

### Data sources and responsible use

- **Official public feeds only:** Greenhouse, Lever and Ashby job-board APIs, Personio XML feeds that employers switch on for use on other websites, and Workable's public jobs feed documented for job boards and partners. Job portals are never scraped. Workday, SmartRecruiters, LinkedIn, Indeed and others are deliberately not used.
- **No personal data:** names, emails and phone numbers are never returned.
- **Polite by design:** one request per second per job system, honest identification, daily refresh.
- **Opt-out:** employers can ask to be excluded at dealmahal.official@gmail.com. Do not use this data to train AI models.

# Actor input Schema

## `titleKeywords` (type: `array`):

One benchmark per role keyword found in job titles. Example: \["data engineer", "product manager"]. Empty groups by seniority level instead.

## `locations` (type: `array`):

Keep jobs whose location matches any entry. Accepts city, country or code: "India", "IN", "Bangalore", "London", "UK", "US", "Remote". Common spellings are matched together (Bangalore and Bengaluru).

## `seniority` (type: `array`):

Keep only these levels, read from the job title: intern, entry, mid, senior, staff, lead, manager, director, vp, executive. Example: \["senior", "staff"]. Empty means all.

## `remoteOnly` (type: `boolean`):

If true, keeps only jobs the company marks as remote. Default false.

## `postedWithinDays` (type: `integer`):

Whole number from 0 to 365. 0 means no date limit. When set, jobs without a posting date are skipped. Default 0.

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

Maximum benchmarks to return and charge. 0 means no limit. Default 50.

## `countOnly` (type: `boolean`):

If true, returns nothing and charges nothing: the status message shows how many benchmarks are available. Default false.

## `minSamples` (type: `integer`):

Only return benchmarks based on at least this many postings with published pay. Default 3.

## Actor input object example

```json
{
  "titleKeywords": [
    "data engineer",
    "product manager",
    "software engineer"
  ],
  "remoteOnly": false,
  "postedWithinDays": 0,
  "maxResults": 20,
  "countOnly": false,
  "minSamples": 3
}
```

# Actor output Schema

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

One salary benchmark (role, country, currency, period) per record.

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

Counts and notes about your input.

# 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 = {
    "titleKeywords": [
        "data engineer",
        "product manager",
        "software engineer"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("dealmahal/salary-benchmarks-from-job-postings").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 = {
    "titleKeywords": [
        "data engineer",
        "product manager",
        "software engineer",
    ],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("dealmahal/salary-benchmarks-from-job-postings").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 '{
  "titleKeywords": [
    "data engineer",
    "product manager",
    "software engineer"
  ],
  "maxResults": 20
}' |
apify call dealmahal/salary-benchmarks-from-job-postings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dealmahal/salary-benchmarks-from-job-postings"
        }
    }
}
```

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/sPYmKkRaMENTx8j89/builds/pbiNTY0aFMLI9YJOD/openapi.json
