# Tech Salary Scraper: AI Pay from Greenhouse, Lever & Ashby (`victormario/ai-pay-index`) Actor

Real salary benchmarks (p25/median/p75) for AI and tech roles, computed live from the pay ranges 249+ employers publish in their own job posts. By role, seniority, location or company. No login, no personal data.

- **URL**: https://apify.com/victormario/ai-pay-index.md
- **Developed by:** [Victormario Egbele](https://apify.com/victormario) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 salary benchmark rows

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

## Tech Salary Scraper: AI & Tech Pay Ranges from Greenhouse, Lever & Ashby

**Get real salary benchmarks (p25 / median / p75) for AI and tech roles, computed live from the pay ranges 249+ employers publish in their own job posts.** One run takes about a minute and costs a few cents. No login or proxies.

> Example from 2026-11-10: **ML engineer, San Francisco: median $260k** (p25 $212k, p75 $315k), from 72 postings at 32 companies.

- **Live:** every run reads the companies' public job boards at that moment.
- **Employer-published ranges,** not self-reported salaries.
- **Honest statistics:**
  - every row shows its sample size and employer count;
  - market rows need at least 3 employers;
  - p10/p90 are only returned when a group has 20+ postings.
- **No personal data.** It only reads official public job-board APIs.

### What you get

**Salary benchmarks** (default). This is a real row from a test run over 10 companies on 2026-11-10:

```json
{
  "roleFamily": "ai-engineer", "location": "San Francisco", "currency": "USD", "compType": "base",
  "sampleSize": 60, "companies": 8,
  "p10": 220000, "p25": 238500, "p50": 285750, "p75": 318500, "p90": 362950,
  "topPayers": [{ "company": "Anthropic", "p50": 362500, "n": 11 }, { "company": "Perplexity", "p50": 312500, "n": 6 }],
  "topCompanyShare": 0.42, "asOf": "2026-11-10"
}
```

**Individual postings with pay** (`"mode": "postings"`). These are real rows from 2026-11-10, with annual figures in USD:

| Company | Title | Location | Annual min | Annual max |
|---|---|---|---|---|
| Anthropic | Performance Engineer | San Francisco | 280,000 | 850,000 |
| Anthropic | Principal Engineer, Privacy | Remote | 485,000 | 625,000 |
| Wayve | Distinguished Software Architect | SF Bay Area | 500,000 | 600,000 |
| Anthropic | Staff Software Engineer, Code RL | San Francisco | 405,000 | 625,000 |

Every posting row also includes the role family, seniority, currency, base vs on-target earnings (OTE), and a link to the posting.

### Input examples

These times and row counts were measured on 2026-11-10. The cost is at the planned prices; the Actor is **free during launch**.

| Goal | Input | Time | Rows | Planned cost |
|---|---|---|---|---|
| AI, ML and research pay everywhere (default) | `{"roles":["ml-engineer","ai-engineer","research-engineer"]}` | ~60 s | 20 | ~$0.40 |
| AI and ML pay in San Francisco by seniority | `{"roles":["ml-engineer","ai-engineer"],"locations":["San Francisco"],"groupBy":"role-seniority"}` | ~90 s | 6 | ~$0.12 |
| One company's pay bands | `{"companies":["OpenAI"],"groupBy":"company-role"}` | ~10 s | 24 | ~$0.48 |
| Top-paying engineering postings | `{"mode":"postings","roles":["software-engineer"],"maxItems":100}` | ~80 s | 100 | ~$0.10 |
| Your own target companies | `{"customBoards":[{"name":"Acme","ats":"greenhouse","token":"acme"}],"groupBy":"company-role"}` | ~5 s | varies | — |

Naming companies makes a run much faster. Names match loosely, so "Open AI" finds OpenAI.

**Role families:**

- **Engineering:** `software-engineer`, `ml-engineer`, `ai-engineer`, `research-engineer`, `infrastructure-engineer`, `security-engineer`, `solutions-engineer`, `engineering-manager`
- **Research and data:** `research-scientist`, `data-scientist`, `data-engineer`, `data-analyst`
- **Product and design:** `product-manager`, `technical-program-manager`, `designer`
- **Go-to-market:** `sales`, `partnerships`, `customer-success`, `marketing`
- **Business:** `recruiting`, `finance`, `legal`, `operations`, `policy-comms`, `strategy`, `support`
- **Anything else:** `other`

### Pricing

**Free during launch.** Planned pricing, charged per result delivered to your dataset:

- **Salary benchmark row:** $0.02
- **Job posting with pay:** $0.001

You'll never pay for empty runs, unreadable job boards or skipped companies. Set a maximum cost per run in Apify Console, and the run stops as soon as it's reached.

### Common uses

- **Recruiters and HR:** check a pay range against what peer companies publish today.
- **Candidates and career coaches:** know the market before an offer conversation.
- **Analysts and journalists:** track AI pay by role and city.
- **AI agents:** call it as a tool to answer "what does an ML engineer in New York make?"

### How the numbers are made

1. Read each company's public job board (Greenhouse, Lever or Ashby). Many employers publish pay ranges because US pay-transparency laws in CA, NY, WA, CO, IL and other states require it.
2. Extract the published range from the structured pay field or the posting text. Detect hourly and monthly pay and annualize it (hourly ×2080, monthly ×12). Keep the currency as published.
3. When a posting lists several geographic pay zones, use the zone matching the posting's location. If none matches, use the median zone, never simply the highest.
4. Classify the title into a role family and seniority level.
5. Count a job reposted for several offices once. Report sales on-target earnings (OTE) separately from base pay. Skip board entries that aren't jobs, such as grant forms and talent pools.
6. Compute percentiles of the range midpoints.

### Limitations

- **Coverage:** 249 mostly US-headquartered AI, tech and fintech companies on Greenhouse, Lever or Ashby. Companies on Workday and other systems aren't included, and some (e.g. Stripe, Braze) don't publish ranges through their API.
- **Outside the US**, pay is often not published, so samples there are small.
- **Base pay only:** posted ranges exclude equity and bonuses, except OTE for sales roles.
- **Big employers can dominate:** check `companies` and `topCompanyShare` before quoting a figure as "the market".
- **Run failures:** if more than half the job boards can't be read (an outage), the run fails with a clear message and nothing is charged.

### FAQ

**Is this legal?** Yes. It only uses the public job-board APIs that employers provide so their jobs can be embedded and shared. It collects no personal data and needs no login.

**How fresh is the data?** It's live: every run reads the boards at that moment.

**Can I add companies?** Yes, under **Extra job boards**. The token is the board name in the careers URL: `boards.greenhouse.io/acme`, `jobs.lever.co/acme` or `jobs.ashbyhq.com/acme`.

# Actor input Schema

## `mode` (type: `string`):

<b>benchmarks</b>: salary percentiles per group (one row per role × seniority × location, or per company). <b>postings</b>: every individual job posting that publishes a pay range, normalized and annualized. Cost: about $0.02 per benchmark row or $0.001 per posting row (free during launch). A postings run over the full catalog can return thousands of rows, so set Maximum results.

## `groupBy` (type: `string`):

How benchmark rows are grouped. Market groupings require at least 3 employers per row. Company groupings return one employer's own pay bands.

## `roles` (type: `array`):

Leave empty for all. Values: software-engineer, ml-engineer, ai-engineer, research-engineer, research-scientist, data-scientist, data-engineer, infrastructure-engineer, security-engineer, solutions-engineer, engineering-manager, product-manager, technical-program-manager, designer, data-analyst, sales, partnerships, customer-success, marketing, recruiting, finance, legal, operations, policy-comms, strategy, support, other.

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

Leave empty for all. Matched as text, e.g. 'San Francisco', 'New York', 'London', 'Remote'.

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

Leave empty for all. Values: intern, junior, unspecified, senior, staff, principal, lead, manager, director, executive. 'unspecified' means the title has no level.

## `companies` (type: `array`):

Leave empty to cover every company in the built-in list (249+ AI and tech employers, about 1–2 minutes). Naming a few companies makes the run much faster. Names are matched loosely, so "Open AI" finds OpenAI.

## `customBoards` (type: `array`):

Add companies not in the built-in list. Each item: {"name": "Acme", "ats": "greenhouse" | "lever" | "ashby", "token": "acme"}. The token is the board name in the company's careers URL, e.g. boards.greenhouse.io/<b>acme</b>.

## `currency` (type: `string`):

Only include pay published in this currency, e.g. USD, GBP, EUR, CAD. Leave empty for all.

## `minSampleSize` (type: `integer`):

Benchmark rows with fewer postings are skipped. p10/p90 are only returned at 20 or more.

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

Cap on rows returned and charged. Benchmarks are sorted by sample size, postings by pay. Example: 500 posting rows ≈ $0.50; 500 benchmark rows ≈ $10 (most benchmark runs return far fewer).

## Actor input object example

```json
{
  "mode": "benchmarks",
  "groupBy": "role-location",
  "roles": [
    "ml-engineer",
    "ai-engineer",
    "research-engineer"
  ],
  "customBoards": [],
  "minSampleSize": 5,
  "maxItems": 500
}
```

# Actor output Schema

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

One row per salary benchmark (percentiles, sample size, employers, top payers) or per job posting with pay, depending on the chosen mode.

## `runSummary` (type: `string`):

Counts for the run: companies read, job boards that failed, postings scanned, rows available and rows delivered.

# 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 = {
    "roles": [
        "ml-engineer",
        "ai-engineer",
        "research-engineer"
    ],
    "customBoards": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("victormario/ai-pay-index").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 = {
    "roles": [
        "ml-engineer",
        "ai-engineer",
        "research-engineer",
    ],
    "customBoards": [],
}

# Run the Actor and wait for it to finish
run = client.actor("victormario/ai-pay-index").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 '{
  "roles": [
    "ml-engineer",
    "ai-engineer",
    "research-engineer"
  ],
  "customBoards": []
}' |
apify call victormario/ai-pay-index --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,victormario/ai-pay-index"
        }
    }
}
```

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/DgkKQWA3L9pg40PCp/builds/UsCNFpzf4HpU04Ac0/openapi.json
