Skip to content

Levels.fyi API: Compare company pay

Compares Levels.fyi's published median yearly pay (total, base, stock, bonus) for one role across 2 to 10 companies in a location, ranked by median total pay. Components are null where the site does not publish them; companies with no data come last with a note.

levels.fyi (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Levels.fyi.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Role, requiredrole

Job title or family, for example "product manager".

product manager

Location optionallocation

Location to compare, for example "United States" or "Canada". Defaults to United States.

United States (default)

Companies, requiredcompanies

Names of 2 to 10 companies to compare, for example ["Google", "Meta", "Amazon"].

  • Google
  • Meta
  • Amazon

List of text 2 to 10 items.

Output

From a run on Oct 31, 2026.
{  "role": "Product Manager",  "currency": "USD",  "location": "United States",  "companies": [    {      "link": "https://www.levels.fyi/companies/meta/salaries/product-manager/locations/united-states",      "note": null,      "rank": 1,      "company": "Meta",      "median_bonus": 31000,      "median_base_salary": 208000,      "median_stock_per_year": 300000,      "median_total_pay_per_year": 539000    },    {      "link": "https://www.levels.fyi/companies/google/salaries/product-manager/locations/united-states",      "note": null,      "rank": 2,      "company": "Google",      "median_bonus": 50000,      "median_base_salary": 235000,      "median_stock_per_year": 200000,      "median_total_pay_per_year": 485000    },    {      "link": "https://www.levels.fyi/companies/amazon/salaries/product-manager/locations/united-states",      "note": null,      "rank": 3,      "company": "Amazon",      "median_bonus": null,      "median_base_salary": 205000,      "median_stock_per_year": 150000,      "median_total_pay_per_year": 355000    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
levels.fyi/compare_company_pay
Returns
role, location, currency, companies (rank, median total, base, stock, bonus, note, link)

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method levels.fyi/compare_company_pay with the inputs above.

Ask your agent

  • Compare median total compensation for software engineers at Google, Meta, Amazon, and Apple in the United States, ranked highest to lowest
  • On levels.fyi, how does data scientist pay at Shopify, RBC, and Microsoft stack up in Canada? I need base, stock, and bonus broken out
  • Which pays product managers more in the US: Stripe, Airbnb, Uber, Netflix, or Salesforce? Show the median yearly total and its components
  • I have offers from Nvidia and AMD for a hardware engineer role. Pull the levels.fyi median base, stock, and bonus for both in the United States
  • Rank median pay for UX designers in the United Kingdom across Spotify, Deliveroo, Monzo, Revolut, Google, and Meta
  • Returns Levels.fyi's published 50th-percentile annual pay (total, base, stock, bonus) for each career level at a company and role, optionally in a location, in the location's currency.

    levels.fyi/get_company_salaries
  • Lists the companies on the Levels.fyi leaderboard for a job role and location, ranked by median yearly total pay (all levels). The public leaderboard shows up to 50 companies per selection.

    levels.fyi/list_top_paying_companies
  • Shows an employer's average annual base salary and its common jobs, with salary ranges, from PayScale public research pages.

    payscale.com/get_company_pay
  • Gets annual salaries by role at an Indian company from AmbitionBox, ordered by number of reports, plus annual averages by experience band when a job title is supplied.

    ambitionbox.com/get_company_salaries
  • Lists open jobs on a company's Lever job board, with optional team, location and workplace filters.

    jobs.lever.co/list_company_jobs
  • Gets typical pay for a job title from PayScale research pages. You can narrow it to a country and a city.

    payscale.com/get_salary
  • Finds the typical pay for a job title in the United States or a U.S. city or state on Indeed's public salary pages, with the number of reported salaries, the last update date, and the top-paying cities and companies when shown.

    indeed.com/get_salary
  • Searches Remote OK jobs by role or skill. Results can be filtered by listed region and by minimum annual USD salary.

    remoteok.com/search_jobs