Levels.fyi Salary Scraper — 5 Percentiles · No Login
Pricing
$10.00 / 1,000 salary record scrapeds
Levels.fyi Salary Scraper — 5 Percentiles · No Login
Pulls base, equity, bonus and total comp for any company+role on Levels.fyi, each broken into 10th/25th/median/75th/90th percentiles. Direct URL mode too. No login. $0.01 per record, free up to 10 per run.
Why use this scraper
Levels.fyi is the go-to crowd-sourced database of real tech compensation, broken down by company, role, and level, but its site only lets you view one company+role page at a time, with no bulk export. If you are a recruiter benchmarking an offer, a comp team building a pay-band model, or a candidate preparing for a negotiation, clicking through Levels.fyi page by page and copying numbers by hand does not scale past a handful of lookups.
This actor takes a company and role (or a direct Levels.fyi salary page URL) and returns the full compensation breakdown as one structured record: base salary, equity, bonus, and total compensation, each split into 10th, 25th, median, 75th, and 90th percentiles, plus the sample size behind the numbers and the years-of-experience range they cover. No login, no CAPTCHA, no browser rendering required on your end.
Overview
You give the actor a company slug and a role slug (both as used in Levels.fyi's own URLs), or a direct salary page URL, and it fetches the structured compensation data for that exact company+role combination, the same numbers Levels.fyi's own page displays. A single run returns one record per company+role pair, typically in a few seconds, since the actor talks to Levels.fyi's own data source rather than rendering and scraping the visual page.
Each record includes the company and role names, the sample size behind the percentiles (so you know how much real data backs the numbers), industry, the years-of-experience range covered, primary location, and four separate compensation breakdowns (total comp, base salary, equity, bonus), each with its own currency and five percentile points. Because the sample size travels with every record, you can tell at a glance whether a given company+role combination is backed by a thin handful of self-reported data points or a few hundred, which matters when you are deciding how much weight to give the numbers in a real negotiation or benchmarking exercise.
Supported inputs
- Company slug (
company) — the company slug as used on levels.fyi, e.g.google,amazon,meta. - Role slug (
role) — the role slug as used on levels.fyi, e.g.software-engineer,product-manager,data-scientist. Defaults tosoftware-engineer. - Direct Levels.fyi URLs (
startUrls) — optional: one or more full Levels.fyi salary page URLs (e.g.https://www.levels.fyi/companies/google/salaries/software-engineer) to scrape directly. When set, this overridescompany/role, and you can list several URLs to pull multiple company+role combinations in one run.
Use cases
- Recruiters and comp teams benchmarking a specific offer against market data for the same company, role, and experience level before finalizing a package.
- Candidates preparing for salary negotiation who want the actual percentile breakdown for their target company and role instead of a single average number.
- People analytics teams building a compensation dataset across a portfolio of companies and roles, refreshed on a schedule.
- Startup founders and HR teams setting pay bands for a new role by pulling percentile data from several comparable companies in one batch (via
startUrls). - Research and journalism on pay trends for specific tech roles, tracking how median and top-percentile comp shifts over time for the same company+role pair.
How it works
The actor calls the structured data source behind Levels.fyi's own salary pages for the company+role combination (or direct URL) you specify, the same data Levels.fyi's page renders when you visit it in a browser. Because the actor reads the structured compensation data directly rather than parsing the rendered page's HTML and chart elements, it keeps returning the same fields regardless of how Levels.fyi styles or lays out the page visually.
Input configuration
Example 1 — company + role (uses the default role if omitted):
{"company": "google","role": "software-engineer"}
Example 2 — a different company and role combination:
{"company": "amazon","role": "product-manager"}
Example 3 — direct URL mode, one or more Levels.fyi salary pages at once:
{"startUrls": ["https://www.levels.fyi/companies/google/salaries/software-engineer","https://www.levels.fyi/companies/meta/salaries/software-engineer"]}
Output sample
Real item from a production run against this actor (October 2026), unedited:
{"company": "Google","role": "Software Engineer","sampleSize": 198,"industry": "Tech","yearsExperienceMin": 0,"yearsExperienceMax": 30,"location": "United States","totalComp": {"currency": "USD","percentile10": 177500,"percentile25": 221000,"median": 282523,"percentile75": 400000,"percentile90": 512000},"baseSalary": {"currency": "USD","percentile10": 148000,"percentile25": 165000,"median": 200000,"percentile75": 230000,"percentile90": 250000},"equity": {"currency": "USD","percentile10": 30000,"percentile25": 40000,"median": 76000,"percentile75": 170000,"percentile90": 232000},"bonus": {"currency": "USD","percentile10": null,"percentile25": null,"median": 22000,"percentile75": 40000,"percentile90": 56125},"url": "https://www.levels.fyi/companies/google/salaries/software-engineer","scrapedAt": "2026-10-26T09:25:51.937Z"}
Note that bonus percentile10 and percentile25 can be null, as shown above, when too few reported data points at that company+role carried a bonus for Levels.fyi to compute a reliable lower percentile; the actor reports exactly what Levels.fyi has, nothing inferred.
Key output fields
| Field | Type | Description |
|---|---|---|
company / role | string | Company and role names as displayed on Levels.fyi. |
sampleSize | integer | Number of individual data points backing the percentiles. |
industry | string | Industry Levels.fyi has on file for the company. |
yearsExperienceMin / yearsExperienceMax | integer | Years-of-experience range covered by the sample. |
location | string | Primary location the data represents. |
totalComp | object | Total compensation: currency + 5 percentile points (10/25/median/75/90). |
baseSalary | object | Base salary only, same percentile structure. |
equity | object | Equity compensation only, same percentile structure. |
bonus | object | Bonus compensation only, same percentile structure (can include null at low percentiles). |
url | string | The Levels.fyi salary page the data came from. |
Pricing
Pay-per-event pricing, billed only on results you actually receive:
| Event | Price |
|---|---|
| Salary record scraped | $0.01 per company+role record returned |
Free-tier users can pull up to 10 records per run at no charge. 1,000 records cost $10.00.
What makes this richer than the competition
Two other Levels.fyi salary scrapers on the Apify Store, by usage in the last 30 days:
memo23/levels-fyi-salary-scraper("levels.fyi Salary Scraper — Tech Compensation Data") — a dedicated Levels.fyi salary scraper from one of the Store's most active publishers.shhh_lab/levels-fyi-salary-scraper("Levels Fyi Salary Scraper") — another direct competitor covering the same salary data.
This actor splits total compensation into base, equity, and bonus as three separate percentile breakdowns in the same call, rather than returning only a single blended total-comp number, and supports batching several company+role pages in one run through startUrls, so a comp team can pull a whole benchmark set without one run per page.
Notes & limitations
- Percentile data reflects whatever sample Levels.fyi currently has for that company+role; very small or niche roles can have a small
sampleSizeand wider uncertainty. bonusandequitypercentiles can benullat the lower end when too few data points reported that component; this is Levels.fyi's own data gap, not a scraping error.- The actor returns Levels.fyi's self-reported crowd-sourced data; it does not independently verify any individual submission.
startUrlsmust be valid Levels.fyi salary page URLs in thelevels.fyi/companies/<company>/salaries/<role>format; unrelated URLs are not supported.- The actor does not break numbers down further by internal level or band (e.g. "L5" versus "L6") beyond what Levels.fyi's own page for that company+role exposes; if Levels.fyi only publishes a blended figure across levels for a given role, that is what the actor returns.
- A company or role slug that does not exist on Levels.fyi (a typo, or a company Levels.fyi has no data for) will not silently return a placeholder; it simply has no matching page to read, so check the slug against the Levels.fyi URL first if a lookup comes back empty.
FAQ
Where do I find a company's or role's slug?
It's the path segment in the Levels.fyi URL itself: for levels.fyi/companies/google/salaries/software-engineer, the company slug is google and the role slug is software-engineer.
Can I pull data for several companies in one run?
Yes, use startUrls with one full Levels.fyi salary page URL per company+role combination you want.
Why is bonus.percentile10 sometimes null?
Because Levels.fyi did not have enough reported bonus data points at that company+role to compute a reliable 10th-percentile figure. The actor never fills this in with an estimate.
Does this cover non-engineering roles? Yes, any role slug that exists on Levels.fyi works, including product, design, data science, and other tracks Levels.fyi covers.
How current is the data? As current as Levels.fyi's own page for that company+role at the time you run the actor, since the actor reads the same data source live on each run.
For AI Agents & LLM Apps
This actor is available as an MCP server for agent frameworks that support the Model Context Protocol, at mcp.apify.com, and can be called directly from code without touching the Apify console.
Example direct API call (run-sync-get-dataset-items, returns the dataset items in one request):
curl "https://api.apify.com/v2/acts/XdufaKHWegutuV6i6/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-H "Content-Type: application/json" \-d '{"company": "amazon", "role": "data-scientist"}'
Disclaimer
Levels.fyi is a trademark of its respective owner. This actor is an independent tool built against Levels.fyi's public salary data and is not affiliated with, endorsed by, or sponsored by Levels.fyi.
SEO Keywords
Levels.fyi scraper, tech salary scraper, compensation data API, salary percentile scraper, Levels.fyi API, tech comp benchmarking, salary negotiation data, scrape total compensation.