Levels.fyi Scraper [$3/1K💰] | Salary & Comp Data avatar

Levels.fyi Scraper [$3/1K💰] | Salary & Comp Data

Pricing

from $2.80 / 1,000 results

Go to Apify Store
Levels.fyi Scraper [$3/1K💰] | Salary & Comp Data

Levels.fyi Scraper [$3/1K💰] | Salary & Comp Data

Scrape Levels.fyi compensation bands by company, role, level and location with p10–p90 total comp, base, stock and bonus, sample counts and source URLs. Build salary benchmarks and hiring datasets from live public data.

Pricing

from $2.80 / 1,000 results

Rating

0.0

(0)

Developer

Ahmed Jasarevic

Ahmed Jasarevic

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Levels.fyi Scraper

Scrape Levels.fyi compensation data — salary bands by company, role, level and location with p10–p90 total comp, base, stock, bonus and sample counts — from the site's public salary pages.

Build A Tech Salary Benchmark Dataset

  • Compare total compensation across companies, roles, levels and locations
  • Pull p10–p90 bands for total comp, base, stock and bonus
  • Track sample counts and median years of experience behind every band
  • Build salary-benchmarking products, recruiting offers or comp-analytics dashboards
  • Join every row to its canonical Levels.fyi source URL for citation

How It Works

How the Levels.fyi Scraper turns company salary pages into a dataset of compensation bands by company, role, level and location.

The Actor collects publicly available Levels.fyi compensation data and normalizes it into one schema. Provide company, role or exact page URLs; it reads the published salary pages, follows the company index when needed and writes one row per role, level, offer sample or benchmark.

  • overview mode returns the role-by-level matrix with medians and sample counts.
  • full mode adds p10–p90 bands for total comp, base, stock and bonus.
  • discoverFromSitemap enables bulk discovery across companies.

Coverage

  • Company salary pages provide the role and level matrix.
  • Company × role × location pages add percentile bands.
  • Role benchmark pages show top-paying companies and locations.
  • Published company indexes support bulk discovery.

Scrape Salary Bands By Company, Role, Level And Location

At least one starting point is required: companies, jobFamilies or startUrls. There is no default company in this version.

  • companies — company slugs or Levels.fyi URLs, such as google, meta, jp-morgan-chase or https://www.levels.fyi/companies/google/salaries/software-engineer.
  • jobFamilies — role slugs or URLs, such as software-engineer, product-manager or data-scientist. Leave empty to collect every role the company reports; the Actor reads the company index first (one extra pass per company).
  • locations — location slugs such as united-states, new-york-city-area, san-francisco-bay-area or india. Empty uses the site default (United States). One page is read per role × location.
  • detail — full (default) collects every role page with p10–p90 bands for total comp, base, stock and bonus plus per-level labels. overview is a single-pass company matrix with medians and sample counts only.
  • startUrls — exact Levels.fyi URLs: company salary pages, company × role pages, location pages or role benchmark pages (/t/{role}).
  • discoverFromSitemap — use the published company index to bulk-collect companies until maxItems rows are reached. Combine it with jobFamilies to collect one role across many companies.
  • maxItems — hard cap on dataset rows. Default 2000.
  • maxConcurrency — pages processed in parallel. Default 3.

In full mode with an empty jobFamilies list, the company index is used only to discover role slugs, so rows are never duplicated.

Compare Total Compensation, Base, Stock And Bonus

One flat dataset; rowType tells you what a row represents.

  • role — the median band for one company × role × location: totalCompValue (median), baseValue, stockValue, bonusValue, firstYearTotalComp and the full percentile ladder totalCompP10…P90, baseP10…P90, stockP10…P90, bonusP10…P90, plus sampleCount, totalSubmissions, medianBasis, medianLevel, medianTitle, medianLocation, employmentType, workArrangement, stockType, yearsExperienceMin/Max and dataDate.
  • level — one band per level: level (e.g. L4, E5, IC3), levelSlug, levelLabels, levelOrder, levelSecondaryName, levelDescription, levelPercentOfWorkforce, levelPageUrl, totalCompValue (average), baseValue, stockValue, bonusValue, commissionValue, totalCompBasis: "average", sampleCount, sampleCountAvgBasis, yoeAvg and yoeMedian.
  • offer_sample — optional anonymized total-comp points from a level's distribution chart: totalCompValue, isRedacted, level, company, jobFamily. These are distribution points, not full offer records; there is no base/stock split and no date.
  • job_family — a site-wide role benchmark from /t/{role}: p50 and the full p10–p90 ladder, averageTotalComp, sampleCount, topPayingCompanies and topPayingLocations.

Common columns on every row: company, companySlug, companyId, industry, companyType, employeeCount, hqCity, hqState, website, careerPage, jobFamily, jobFamilySlug, location, locationSlug, locationType, locationState, locationCountry, countryCode, currency, sourceUrl and scrapedAt.

All figures are in the row's currency (Levels.fyi converts; USD by default). Location coverage varies by company and role — bands are only published where enough submissions exist, so a city page can legitimately have fewer levels than the national one.

Input

FieldTypeDefaultDescription
companiesarray—Company slugs or Levels.fyi URLs.
jobFamiliesarray—Role slugs or URLs. Empty collects every role the company reports.
locationsarrayUnited StatesLocation slugs. One page per role × location.
detailstringfullfull for percentiles and per-level bands; overview for a single-pass company matrix.
includeOfferSamplesbooleanfalseEmit anonymized total-comp points from each level's distribution chart.
startUrlsarray—Exact Levels.fyi company, role, location or benchmark URLs.
discoverFromSitemapbooleanfalseUse the company index for bulk discovery until maxItems rows are collected.
sitemapUrlstringcompanies-sitemap-0.xmlCompany index source used when bulk discovery is enabled.
maxItemsinteger2000Hard cap on dataset rows. Free users are capped at 10.
maxConcurrencyinteger3Pages processed in parallel.
proxyobjectdisabledStandard Apify proxy configuration.

Example — a whole company matrix in the cheapest mode:

{ "companies": ["google"], "detail": "overview" }

Example — one role across two companies and two locations:

{
"companies": ["google", "meta"],
"jobFamilies": ["software-engineer"],
"locations": ["united-states", "new-york-city-area"],
"detail": "full",
"maxItems": 500
}

Example — every role a company reports, with level bands:

{ "companies": ["stripe"], "detail": "full", "maxItems": 500 }

Example — site-wide benchmark for one role:

{ "startUrls": ["https://www.levels.fyi/t/product-manager"] }

Output

One row per band, level, offer sample or role benchmark.

{
"rowType": "level",
"company": "Google",
"companySlug": "google",
"jobFamily": "Software Engineer",
"jobFamilySlug": "software-engineer",
"level": "L4",
"levelLabels": ["L4", "Senior Software Engineer"],
"location": "United States",
"locationSlug": "united-states",
"totalCompValue": 276000,
"baseValue": 178000,
"stockValue": 78000,
"bonusValue": 20000,
"commissionValue": null,
"totalCompBasis": "average",
"sampleCount": 1200,
"yoeMedian": 5,
"currency": "USD",
"sourceUrl": "https://www.levels.fyi/companies/google/salaries/software-engineer/levels/l4",
"scrapedAt": "2026-10-26T09:00:00.000Z"
}
Field groupFields
IdentityrowType, company, companySlug, companyId, jobFamily, jobFamilySlug, level, levelLabels, location, locationSlug
CompensationtotalCompValue, baseValue, stockValue, bonusValue, commissionValue, totalCompBasis, firstYearTotalComp
PercentilestotalCompP10…totalCompP90, baseP10…baseP90, stockP10…stockP90, bonusP10…bonusP90
SamplessampleCount, totalSubmissions, sampleCountAvgBasis, yoeAvg, yoeMedian, dataDate
Companyindustry, companyType, employeeCount, hqCity, hqState, website, careerPage
Metacurrency, sourceUrl, scrapedAt

Pricing

This Actor uses pay-per-event pricing:

  • $0.003 per dataset row — about $3 per 1,000 rows
  • $0.00005 per Actor start

overview mode can return a whole company matrix in one pass, but billing is per row, not per page. A 2,000-row run costs about $6.00 in event charges plus platform usage. Free users are capped at 10 rows; paying users get the full maxItems. Memory use is 256 MB, so compute cost is minimal.

Schedule Salary Benchmark Monitoring

  • Quarterly comp refresh — re-run your company list each quarter and diff totalCompValue against your last snapshot.
  • Offer calibration — pull one role and level across peer companies before making an offer.
  • Market maps — combine companies, jobFamilies and locations to build a role × city matrix.
  • Bulk discovery — enable discoverFromSitemap with one jobFamilies value to collect that role across many companies.
  • Exports — send rows to Google Sheets, BigQuery, Snowflake or an internal comp dashboard through the Apify API.

FAQ

Is there an official Levels.fyi API?

Yes. Levels.fyi sells API, CLI and MCP access at levels.fyi/api-access for teams that need a contract, SLA or licensed bulk data. This Actor reads the public salary pages instead, which is useful for ad-hoc research, prototypes and teams that do not need a commercial agreement.

Why do I need to provide a company, role or URL?

This version has no default company. At least one of companies, jobFamilies or startUrls must be set; otherwise the Actor has no starting point and stops with a clear error. Provide a company slug, a role slug or an exact Levels.fyi URL in every run.

Why are some percentiles or levels missing?

Levels.fyi publishes a band only when enough submissions exist. A city page can have fewer levels than the national page, and some levels have no p10–p90 breakdown. Missing values are null, not zero.

Why does a city page show "United States" as the location?

The Actor uses the page's published location when it is available and otherwise the site default. Some city pages display the country label in their data; the Actor preserves the published location rather than guessing.

What is the difference between role and level rows?

A role row is the median band for one company × role × location. A level row is one compensation band per level, using the site's average basis. Use role for a headline number and level for level-by-level comparisons.

Are offer_sample rows full offer records?

No. They are anonymized total-compensation points from a level's published distribution chart. They carry no base/stock split, no dates and no tenure. The full offer table is login-gated and is not scraped.

Can I get a free preview?

Yes. Free Apify users receive the first 10 rows of a run; paying users receive the full maxItems allowance.

For AI Agents & LLM Apps

Returns Levels.fyi compensation bands as one row per role, level, offer sample or job-family benchmark.

Minimal input:

{ "companies": ["google"], "detail": "overview", "maxItems": 50 }

Role comparison:

{ "companies": ["google", "meta"], "jobFamilies": ["software-engineer"], "detail": "full", "maxItems": 100 }

Role benchmark:

{ "startUrls": ["https://www.levels.fyi/t/product-manager"] }

Output fields: rowType, company, companySlug, companyId, jobFamily, jobFamilySlug, level, levelLabels, levelSlug, levelOrder, location, locationSlug, totalCompValue, baseValue, stockValue, bonusValue, commissionValue, totalCompBasis, firstYearTotalComp, percentile fields (totalCompP10…P90, baseP10…P90, stockP10…P90, bonusP10…P90), sampleCount, totalSubmissions, yoeAvg, yoeMedian, dataDate, currency, sourceUrl, scrapedAt.

Behaviors an agent should know:

  • At least one of companies, jobFamilies or startUrls is required; there is no default company.
  • detail: "overview" returns medians and sample counts without base/stock/bonus splits.
  • jobFamilies: [] collects every role the company reports and adds one company-index pass per company.
  • locations: [] uses the site default (United States), not every location.
  • maxItems is a hard row cap; free users are capped at 10 rows.
  • Billing: $0.003 per row plus a $0.00005 start event.

This Actor is independent and is not affiliated with, endorsed by or sponsored by Levels.fyi. It reads only publicly reachable salary pages that Levels.fyi serves to any visitor; it does not bypass a login, paywall or CAPTCHA, and it does not submit salary data or change any account state. Levels.fyi's robots.txt allows the pages used here and asks that quoted figures link back to the canonical page; every row includes sourceUrl for that purpose. Compensation figures are user-submitted estimates, not guarantees. You are responsible for complying with Levels.fyi's terms of use and applicable law when you store, republish or commercialize the data. For contractually licensed, SLA-backed bulk data, use the official Levels.fyi API.

SEO Keywords

levels fyi scraper, levels.fyi scraper, levels fyi salary data, levels.fyi api, compensation benchmark data, tech salary dataset, total compensation data, salary bands by level, levels fyi salaries, software engineer salary data, salary percentile data, compensation analytics, levels fyi csv, salary benchmarking tool, tech compensation dataset, company salary data, level salary bands, stock bonus compensation, salary research api, compensation market data