# Levels.fyi Salary Scraper - Base, Stock & Bonus (`parseforge/levels-fyi-scraper`) Actor

Scrapes Levels.fyi salary records for companies and job families. Returns base pay, stock, bonus, years of experience, and location in a flat row.

- **URL**: https://apify.com/parseforge/levels-fyi-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 55 total users, 6 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.99 / 1,000 result items

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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### Levels.fyi Salary Scraper

**Scrape Levels.fyi salary data for any company and job family, up to a million records per run.** Every record includes base pay, stock, bonus, years of experience, and location. No login or API key. Export to CSV, JSON, Excel, or XML.

**Low minimum charge:** $0.005 to start a run, rising to $0.02 from 4 October 2026, then you only pay for the results you get.

Levels.fyi publishes crowd-sourced compensation data for tech companies, but there is no official API and manual browsing is slow. This Actor reads the public salary pages directly, filtered by company and job family, and returns each compensation record in one fixed schema.

| Who uses it | What they scrape Levels.fyi for |
|---|---|
| Recruiters | Benchmarking offers against market pay for a role |
| Job seekers | Comparing compensation across companies before negotiating |
| Compensation analysts | Building salary datasets for internal pay bands |
| Market researchers | Tracking pay trends in the tech industry |

### What it does

This Actor collects Levels.fyi salary records by company, job family, or direct URL, and returns each one as a flat row.

- 🏢 **Company and job family filters:** scrape multiple companies and roles in one run, e.g. google, meta, microsoft for software-engineer.
- 🔗 **Direct URL mode:** paste any Levels.fyi salary page URL to scrape exactly that page.
- ⚡ **High throughput:** parallel requests with configurable concurrency up to 10.
- 📊 **Structured output:** every record is a flat row with base pay, stock, bonus, and more.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Levels.fyi data

**💰 Benchmark job offers.**

A recruiter scrapes Levels.fyi for software engineer salaries at Google, Meta, and Microsoft to see if their offer is competitive.

**📈 Track compensation trends.**

A market researcher runs the Actor monthly for data scientist roles across top tech companies to spot pay shifts.

**🤝 Prepare for negotiations.**

A job seeker scrapes salary data for product manager roles at their target companies to anchor their ask.

**🧮 Build internal pay bands.**

A compensation analyst collects Levels.fyi data for multiple job families to calibrate their company's salary ranges.

### Why choose this scraper

|  | What you get |
|---|---|
| **No official API** | Levels.fyi has no public API, so this Actor is the fastest way to get structured salary data. |
| **Crowd-sourced accuracy** | Data comes from real employee submissions, giving you market rates that job boards miss. |
| **Flexible targeting** | Scrape by company, job family, or exact URL, with up to a million records per run. |
| **Clean exports** | Get CSV, JSON, Excel, or XML files ready for analysis in any tool. |

### How it compares

This Actor focuses on salary data only, while the Levels.fyi Jobs Scraper targets job listings. Choose based on the data you need.

| Feature | ParseForge | Levels.fyi Jobs Scraper 📊 |
|---|---|---|
| Salary data (base, stock, bonus) | Yes | Not listed |
| Job listings | No | Yes |
| Filter by company | Yes | Not listed |
| Filter by job family | Yes | Not listed |
| Direct URL scraping | Yes | Not listed |
| Export to CSV, JSON, Excel, XML | Yes | Not listed |

### Configure the run

Drive the Actor from company slugs, job family slugs, and direct URLs, alone or together, and filters run as each page is read so only matching records reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "maxItems": 10,
  "companies": [
    "google",
    "meta",
    "microsoft"
  ],
  "jobFamilies": [
    "software-engineer"
  ]
}
```

A larger pull:

```json
{
  "maxItems": 200,
  "companies": [
    "google",
    "meta",
    "microsoft"
  ],
  "jobFamilies": [
    "software-engineer"
  ]
}
```

### Pricing

Pay-per-result: **$0.01599 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $1.60 |
| 1,000 results | $15.99 |
| 10,000 results | $159.90 |

#### Optional extras (from 4 October 2026)

Two opt-in blocks add company data to every row: a full company profile and pay benchmarks. Both come from the page already downloaded, both are off by default, and a block that does not come back is never charged. The per-result price does not change.

| Event | Price | Charged when |
|---|---|---|
| `apify-actor-start` | $0.02 per GB of run memory, one charge at the default 128 MB (replaces the current $0.005 start fee) | the run starts |
| `company-profile` | $0.03 per company page | `includeCompanyProfile` is on and the page returned the profile (website, HQ, employees, ticker, EIN, vesting schedule) |
| `pay-benchmarks` | $0.03 per company page | `includePayBenchmarks` is on and the page returned level averages or pay percentiles |

A company page is one company and job family pair, for example Google software engineers, and carries up to about 90 salary rows.

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Levels.fyi Salary Scraper](https://apify.com/parseforge/levels-fyi-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Levels.fyi through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/levels-fyi-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that your company and job family slugs are correct. They must match the URL slugs on Levels.fyi, e.g. 'software-engineer' not 'Software Engineer'. Also ensure the combination exists on the site.

**The Actor returns fewer records than Max records.**

Levels.fyi may not have that many salary submissions for your filters. Try broadening the job family or adding more companies.

**I get an error when using a Start URL.**

Make sure the URL is a valid Levels.fyi salary page, like https://www.levels.fyi/companies/google/salaries/software-engineer. Other page types may not work.

**The run is slow.**

Increase Max Concurrency up to 10 to speed up parallel requests, but be mindful of rate limits.

**Some fields are empty in the output.**

Not all salary records have every field filled. Empty fields mean the data was not provided on Levels.fyi for that record.

### FAQ

| Question | Answer |
|---|---|
| Does this Actor require a Levels.fyi account or API key? | No. It reads the public salary pages directly, so no login or API key is needed. |
| Can I scrape multiple companies at once? | Yes. Use the Companies input to list company slugs like google, meta, apple, and the Actor will scrape them all in one run. |
| What job families can I scrape? | Any job family slug that exists on Levels.fyi, such as software-engineer, product-manager, or data-scientist. Check the site for the exact slug. |
| How do I scrape a specific salary page? | Paste the full URL into the Start URL input. The Actor will scrape that page only, ignoring company and job family filters. |
| What data fields are returned? | Each record includes compensation details like base pay, stock, bonus, years of experience, and location, plus company and job family. See the sample output for the full schema. |
| Is there a limit on how many records I can scrape? | You can set Max records up to 1,000,000 per run. The default is 10. |
| Can I export the data to Excel or CSV? | Yes. The Actor supports CSV, JSON, Excel, and XML exports. |
| Does this Actor scrape job listings too? | No, this Actor focuses on salary data. For job listings, see the Levels.fyi Jobs Scraper. |
| How fast is the scraping? | You can set Max Concurrency up to 10 parallel requests to speed up large runs. |
| Is the data up to date? | The Actor scrapes live pages, so you get the latest salary submissions on Levels.fyi at the time of the run. |

### Next step

Each row carries the fields that these ParseForge jobs Actors take as input:

- **Open roles at the companies you benchmarked.** Take `company`, find its careers page and paste it into `careerSiteUrls` of [Career Site Jobs Scraper](https://apify.com/parseforge/career-site-jobs-scraper). You get every live opening with its posted salary range, ready to compare with `baseSalary` and `totalCompensation`.
- **Company rating and salary estimate.** Put `company` into `companyName` of [Glassdoor Jobs Scraper](https://apify.com/parseforge/glassdoor-jobs-scraper) to get that employer's Glassdoor rating, salary estimates and its other open roles.
- **Posted pay for the same role.** Put `company` and `title` into `searchQuery` of [Indeed Jobs Scraper](https://apify.com/parseforge/indeed-scraper) to see the salary ranges the employer publishes in its job ads.

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Levels.fyi, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `startUrl` (type: `string`):

Direct URL to a Levels.fyi company/salary page (e.g. https://www.levels.fyi/companies/google/salaries/software-engineer). If provided, companies and jobFamilies filters are ignored.

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

How many salary records to collect per run.

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

List of company slugs to scrape (e.g. google, meta, apple, microsoft, amazon). Used together with Job Families.

## `jobFamilies` (type: `array`):

List of job family slugs to scrape (e.g. software-engineer, product-manager, data-scientist).

## `maxConcurrency` (type: `integer`):

Maximum number of parallel requests

## `includeCompanyProfile` (type: `boolean`):

Adds a companyProfile block to every row: website, career page, LinkedIn, Crunchbase, HQ address and coordinates, employee count, ticker, EIN, revenue and valuation estimates, funding stage, vesting schedule, tags and aliases. It comes from the page already downloaded, so it needs no extra request. Charged once per company page, only for a page that returns it.

## `includePayBenchmarks` (type: `boolean`):

Adds a levelBenchmark block (average total, base, stock and bonus for the row's level, submission count, years of experience, level description) and a payPercentiles block (p10 to p90 for total compensation, base, stock and bonus) to every row. It needs no extra request. Charged once per company page, only for a page that returns it.

## Actor input object example

```json
{
  "maxItems": 10,
  "companies": [
    "google",
    "meta",
    "microsoft"
  ],
  "jobFamilies": [
    "software-engineer"
  ],
  "maxConcurrency": 5,
  "includeCompanyProfile": false,
  "includePayBenchmarks": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Overview of salary records with key fields

## `fullData` (type: `string`):

Complete dataset with all salary fields

# 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 = {
    "maxItems": 10,
    "companies": [
        "google",
        "meta",
        "microsoft"
    ],
    "jobFamilies": [
        "software-engineer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/levels-fyi-scraper").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 = {
    "maxItems": 10,
    "companies": [
        "google",
        "meta",
        "microsoft",
    ],
    "jobFamilies": ["software-engineer"],
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/levels-fyi-scraper").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 '{
  "maxItems": 10,
  "companies": [
    "google",
    "meta",
    "microsoft"
  ],
  "jobFamilies": [
    "software-engineer"
  ]
}' |
apify call parseforge/levels-fyi-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/levels-fyi-scraper"
        }
    }
}
```

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/FAOXriflJkR6OcPdS/builds/qAPpJ0ISR2vlj7gM3/openapi.json
