Levels.fyi Pay Leveling & Leaderboard Scraper avatar

Levels.fyi Pay Leveling & Leaderboard Scraper

Pricing

from $0.49 / 1,000 results

Go to Apify Store
Levels.fyi Pay Leveling & Leaderboard Scraper

Levels.fyi Pay Leveling & Leaderboard Scraper

Pull Levels.fyi pay data by company, role and level: base salary, stock, bonus and total compensation medians, individual submissions, percentile breakdowns, and top-paying company and location leaderboards.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

crawlyth forge

crawlyth forge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Features

Limited permissions

Share

Levels.fyi is a crowdsourced database of tech-industry pay, organized by company, job family (role) and internal level. This actor has eight entry points into that data — from a single company's full comp overview down to one specific company × role × level bucket, plus role and location leaderboards.

What this actor does

  • Company overview (byCompany) — every job family at a company with its median total compensation.
  • Company × role (byCompanyByRole) — per-level medians and, optionally, every individual salary submission behind them.
  • Company × role × level (byCompanyByRoleLevel) — a single level bucket plus its percentile breakdown.
  • Role landing (byRole) — top-paying companies and top-paying locations for one job family.
  • Role × location (byRoleLocation) — percentile breakdown and top-paying companies for a role in a specific place.
  • Company search, top-companies index, or any Levels.fyi URL — browse the company catalog, the locations/role index, or paste a URL and the actor figures out which page type it is.
  • Fields a record doesn't carry (e.g. no stock grant on a sales role, no percentile breakdown for a thin sample) are omitted rather than filled in.

Output per record

Every record carries recordType, scrapedAt, and (when relevant) url back to the source page. Fields vary by recordType:

  • companyOverview (mode=byCompany): company, companySlug, companyDescription, companyWebsite, companyYearFounded, companyEmployeeCount, companyTicker, companyLinkedIn, companyTwitter, companyHq, medianTotalCompensation, highestPayingJobFamily/highestPayingLevel/highestTotalCompensation, lowestPayingJobFamily/lowestTotalCompensation, jobFamilies[] (each with jobFamily, jobFamilySlug, and titles[] of {title, titleSlug, count, medianTotalCompensation})
  • levelAggregate (modes byCompanyByRole/byCompanyByRoleLevel): company, jobFamily, level, levelName, secondaryLevelName, count, countLast12Months, medianBaseSalary, medianTotalCompensation, medianBonus, medianStockGrant, medianCommission, currency, exchangeRate
  • salarySample (same modes, when includeSamples is on): uuid, company, title, jobFamily, level, focusTag, yearsOfExperience, yearsAtCompany, yearsAtLevel, offerDate, location, workArrangement, compPerspective, baseSalary, totalCompensation, stockGrant, bonus, firstYearTotalCompensation, firstYearStockGrant, firstYearBonus, salesComp, baseSalaryCurrency, stockGrantCurrency, bonusCurrency, stockType, salaryFormat, employmentType, education, gender, ethnicity, currency, exchangeRate, companyLogo
  • percentiles (modes byCompanyByRoleLevel/byRoleLocation): company, jobFamily, location, locationName, count, currency, plus percentile columns named baseSalary_<p>, totalComp_<p>, bonus_<p>, stockGrant_<p> (e.g. totalComp_p50, totalComp_p90)
  • topCompany (modes byRole/byRoleLocation): company, companySlug, jobFamily, location, medianTotalCompensation, companyLogo
  • topLocation (modes byRole/topCompanies): location, locationSlug, locationType, jobFamily, region, medianTotalCompensation
  • jobFamily (mode topCompanies): jobFamily, jobFamilySlug, category, jobFamilyIcon
  • company (mode searchCompanies): company, companySlug, fundingStage (for startups grouped by funding stage)

Input

FieldTypeDefaultDescription
modestringbyCompanyByRolebyCompany, byCompanyByRole, byCompanyByRoleLevel, byRole, byRoleLocation, searchCompanies, topCompanies, or byUrl
companystringgoogleCompany slug (modes byCompany/byCompanyByRole/byCompanyByRoleLevel)
rolestringsoftware-engineerJob-family slug (modes byCompanyByRole/byCompanyByRoleLevel/byRole/byRoleLocation)
levelstring–Level slug, company-specific, e.g. L4, E4 (mode=byCompanyByRoleLevel)
locationSlugstringsan-francisco-bay-areaLocation slug (mode=byRoleLocation)
urlstring–Any Levels.fyi URL to auto-route (mode=byUrl)
searchstring–Substring filter against the popular-companies list (mode=searchCompanies)
minTotalCompensationinteger–Drop records below this total compensation
maxTotalCompensationinteger–Drop records above this total compensation
minYearsOfExperienceinteger–Drop salary samples below this years of experience
maxYearsOfExperienceinteger–Drop salary samples above this years of experience
includeSamplesbooleantrueEmit individual salarySample records (modes byCompany/byCompanyByRole)
includeAggregatesbooleantrueEmit levelAggregate/percentile records
useResidentialProxyOnBlockbooleantrueRetry through an Apify proxy if the direct fetch is blocked
maxItemsinteger200Hard cap on emitted records (1–5000)

Example: full level breakdown for a company and role

{
"mode": "byCompanyByRole",
"company": "meta",
"role": "software-engineer",
"includeSamples": false,
"maxItems": 50
}

Example: individual submissions above a comp floor

{
"mode": "byCompanyByRole",
"company": "amazon",
"role": "data-scientist",
"includeSamples": true,
"includeAggregates": false,
"minTotalCompensation": 200000,
"maxItems": 100
}

Example: top-paying companies for a role in a region

{
"mode": "byRoleLocation",
"role": "product-manager",
"locationSlug": "europe",
"maxItems": 50
}

Example: scrape by a Levels.fyi URL directly

{
"mode": "byUrl",
"url": "https://www.levels.fyi/companies/openai/salaries/software-engineer"
}

Use cases

  • Salary benchmarking — pull company × role × level medians to set a competitive offer.
  • Offer negotiation — compare an individual offer against recent salarySample records at the same level.
  • Compensation research — track median total comp trends across companies for one job family.
  • Talent market mapping — use byRole/byRoleLocation leaderboards to see which employers pay the most for a role in a region.
  • Company due diligence — pull a companyOverview record for headcount, founding year and pay spread across job families.

FAQ

Do I need a Levels.fyi account or API key? No — every mode reads data the site serves to anonymous visitors.

Why are medianBaseSalary, medianBonus etc. sometimes missing from a levelAggregate record? Levels.fyi only reports a median for a pay component when it has at least one non-zero submission for it; a level with no bonus submissions simply won't have medianBonus.

What's the difference between levelAggregate and salarySample records? levelAggregate is one row per level with medians and counts. salarySample is one row per individual crowdsourced submission behind that level — turn includeSamples on to get both.

Why do percentile fields look like totalComp_p50? Levels.fyi returns percentile breakdowns as a set of named points (e.g. the 25th, 50th, 90th percentile); the actor keeps that structure as flat <metric>_<percentile> columns rather than guessing which percentiles always exist.

Can I filter by years of experience? Yes, on salarySample records, with minYearsOfExperience/maxYearsOfExperience. It has no effect on aggregate or leaderboard record types, which don't carry a per-person experience value.

What does mode=byUrl actually do? It inspects the URL's path (company page, company×role page, role page, role×location page, or companies index) and runs the matching scrape logic automatically, so you don't have to pick a mode yourself.

Is this affiliated with Levels.fyi? No. This is an independent, third-party actor built on Levels.fyi's publicly browsable pages.