Skip to content

Levels.fyi API: Get company salaries by level

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 (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 family in words, for example software engineer.

product manager

Company, requiredcompany

Company name, for example Google.

Meta

Location optionallocation

Country or location shown by Levels.fyi, for example United States or India.

United States (default)

Output

From a run on Oct 31, 2026, shortened for this page.
{  "role": "Product Manager",  "levels": [    {      "page_url": "https://www.levels.fyi/companies/meta/salaries/product-manager/levels/rotational-product-manager-rpm",      "level_name": "L3",      "data_points": 34,      "typical_title": "Rotational Product Manager (RPM)",      "bonus_per_year": 12000,      "stock_per_year": 33000,      "base_salary_per_year": 129000,      "median_total_pay_per_year": 166000    },    {      "page_url": "https://www.levels.fyi/companies/meta/salaries/product-manager/levels/l4-product-manager",      "level_name": "L4",      "data_points": 14,      "typical_title": "L4 Product Manager",      "bonus_per_year": 25000,      "stock_per_year": 55000,      "base_salary_per_year": 176000,      "median_total_pay_per_year": 266000    },    {      "page_url": "https://www.levels.fyi/companies/meta/salaries/product-manager/levels/l5-product-manager",      "level_name": "L5",      "data_points": 37,      "typical_title": "L5 Product Manager",      "bonus_per_year": 32000,      "stock_per_year": 140000,      "base_salary_per_year": 220000,      "median_total_pay_per_year": 390000    }  ],  "company": "Meta",  "currency": "USD",  "location": "United States"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
levels.fyi/get_company_salaries
Returns
company, role, location, currency, levels (level name, typical title, median total pay, base, stock, bonus, data points, page 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/get_company_salaries with the inputs above.

Ask your agent

  • What's the median total comp at each level for software engineers at Google in the United States?
  • Show me the base, stock, and bonus breakdown by level for product managers at Meta according to levels.fyi
  • How much does a data scientist make at each career level at Amazon in India, in rupees?
  • I'm interviewing at Stripe for a senior software engineer role — what's the typical pay per level there so I can benchmark my offer?
  • Pull the levels.fyi median compensation ladder for hardware engineers at Apple in Canada
  • 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/compare_company_pay
  • 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
  • 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
  • Lists open jobs on a company's Lever job board, with optional team, location and workplace filters.

    jobs.lever.co/list_company_jobs
  • Looks up a company on Indeed and returns its overall employee rating, number of ratings, category ratings and CEO approval.

    indeed.com/get_company_reviews