Levels.fyi Salary Rankings Scraper avatar

Levels.fyi Salary Rankings Scraper

Under maintenance

Pricing

from $2.20 / 1,000 levels.fyi salary rankings scrapers

Go to Apify Store
Levels.fyi Salary Rankings Scraper

Levels.fyi Salary Rankings Scraper

Under maintenance

Collect public salary ranking records from Levels.fyi. Get ranked companies, locations, and related titles with median total compensation. Run with job title, location, and optional maxResults; no Levels.fyi login required. Pricing: $0.0022 per dataset item on the Free plan.

Pricing

from $2.20 / 1,000 levels.fyi salary rankings scrapers

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Extract public salary rankings for a job title and location from Levels.fyi's structured Markdown summary, including ranked companies, locations, and related titles with median total compensation. No Levels.fyi login or private account data is required; see Pricing for the per-result price.

  • Collect ranked rows with category, rank, entity, compensation, currency, job family, location, update date, and source page.
  • Compare top-paying companies when researching compensation benchmarks for a role.
  • Review top-paying locations when comparing markets for a job family.
  • Inspect related job-title rankings when exploring compensation across adjacent roles.

What you get

Each dataset row represents an entry from one of the public Levels.fyi summary tables: top-paying companies, top-paying locations, or top-paying titles. The rankings summarize compensation submissions and are not individual employee records.

FieldTypeDescription
record_typestringRanking category: top_company, top_location, or top_title.
rankintegerRank shown in the source table.
entitystringCompany, location, or related job title.
median_total_compensationnumberMedian total compensation parsed from the source table.
currencystringCurrency reported by the source page, such as USD.
job_familystringJob family selected for the salary page.
locationstringLocation selected for the salary page.
data_updated_atstringUpdate date reported in the source Markdown page.
urlstringSource page URL associated with the result.
sourcestringData source name: Levels.fyi.

The Actor builds a public Levels.fyi page from the supplied job title and location, fetches its structured Markdown summary, and extracts rows from the recognized ranking sections. The source page and source name are included in every result for attribution.

Note: Attribute derived data as Data source: Levels.fyi (https://www.levels.fyi) and follow the source site's data license.

Sample output

The sample below is shortened to one real record from the dataset sample.

{
"record_type": "top_company",
"rank": 1,
"entity": "Anthropic",
"median_total_compensation": 882500,
"currency": "USD",
"job_family": "Software Engineer",
"location": "United States",
"data_updated_at": "2026-10-09",
"url": "https://www.levels.fyi/t/software-engineer/locations/united-states",
"source": "Levels.fyi"
}

Pricing

You pay only for the events listed below. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

Event or exampleFree plan price
apify-default-dataset-item$0.0022 per event on the Free plan
apify-actor-start$0.00005 per event on the Free plan; charged once per GB of run memory, with a minimum of one event.
Worked examples1,000 x $0.0022 = $2.20 on the Free plan; 10,000 x $0.0022 = $22.00 on the Free plan for dataset-item events, before start events.

The Apify Free plan includes $5 of monthly platform usage credit. It covers 2,272 result events at these prices.

How to use

  1. Enter the job title and location to select a Levels.fyi salary page.
  2. Set maxResults to the maximum number of ranked rows to write; it defaults to 50.
  3. Optionally change proxyConfiguration. The proxy default (residential Apify Proxy, group RESIDENTIAL) comes from the input schema, so runs started from the form or API use it unless you change it; if proxyConfiguration is omitted from the input entirely, the Actor connects without a proxy.
  4. Run the Actor from your Apify account.
  5. Read the dataset rows and use record_type to distinguish companies, locations, and related titles. maxResults truncates one combined list in the order companies, locations, titles, so a small value returns only the first categories; the default 50 is meant to cover all three.
  6. Repeat the run through Apify Schedules; a weekly or monthly schedule is a reasonable starting point for refreshing compensation rankings.

Example input:

{
"jobTitle": "Software Engineer",
"location": "United States",
"maxResults": 50
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
jobTitleJob family used to construct the Levels.fyi salary page.Software Engineer
locationCountry or market text used to construct the Levels.fyi location path.United States
maxResultsMaximum number of ranked compensation rows to collect and write.50
proxyConfigurationApify proxy settings; can be switched off.Apify Proxy on, group RESIDENTIAL

jobTitle and location are required input fields. The Actor converts them into URL slugs that keep only a–z and 0–9, so each must contain at least one Latin letter (a–z) or digit; text in other alphabets alone is rejected.

Limits and edge cases

ConditionWhat you seeWhat to do
maxResults is greater than the number of rows parsed from the pageThe available rows are written, up to the requested maximum.Increase maxResults only when you want to allow more rows; the source page must contain them.
maxResults limits one combined listRows are written in the order top_company, then top_location, then top_title, and the list is cut at maxResults. A small value such as 10 may return only companies and some locations.Raise maxResults (for example to 50) to get every category.
maxResults is 0 or negativeThe Actor logs that no records were requested and returns without writing records.Use a value of at least 1; the input schema minimum is 1.
maxResults cannot be converted to an integerThe Actor falls back to 50.Supply an integer value explicitly.
The title or location has no Latin letter (a–z) or digitThe Actor raises an error: jobTitle and location must contain letters or numbers.Use a title and location with at least one Latin letter or digit.
The selected title and location do not have a supported public summary pageThe fetch or parsing error is reported instead of invented results.Check the title and location and select a supported public Levels.fyi summary page.
Levels.fyi returns an unexpected response instead of its public Markdown summaryThe Actor raises an unexpected-page error. The response must begin with a heading and mention Levels.fyi in its first 300 characters.Check access to the public page and try the run again with valid inputs.
No ranking rows could be parsed from the page, or the page's job family, location or currency cannot be readThe run fails with No salary ranking rows found on <page URL>.Check that the selected page contains the expected ranking tables and use a supported public summary page.
A single row has an unparseable compensation amount or an empty entityThat row is skipped; other rows are still written.No action needed unless every row is skipped, which ends in the failure above.
proxyConfiguration has useApifyProxy: true but no proxy configuration can be createdThe Actor raises an error that the Apify proxy configuration could not be created.Review the Apify proxy settings.
A request does not complete within the configured 45-second timeout or returns an HTTP errorThe fetch raises an error and the run does not proceed to dataset writes.Check the selected page and run again later.

FAQ

How much does it cost to scrape Levels.fyi salary rankings?

Each result row costs $0.0022 on the Free plan, so 1,000 x $0.0022 = $2.20 on the Free plan, plus one small start event per GB of run memory.

What does an empty result mean?

No dataset rows are written when maxResults is 0; if the page yields no parseable ranking rows, the run fails with an error instead of returning an empty dataset.

Why might the run not work?

The usual causes are a title or location with no Latin letters or digits, a Levels.fyi page that does not exist for that title and location, or a request that fails or exceeds the 45-second timeout.

What does each ranking row represent?

A row represents a ranked company, location, or related job title from the selected public compensation summary. Its median total compensation comes from compensation submissions summarized by the source; it is not an individual employee record.

This Actor accesses the public Levels.fyi structured Markdown summary. Whether a particular use is legal or allowed depends on the source terms, the source site's data license, and applicable law for your use case; review those requirements before using the data. This Actor does not provide a legal guarantee.