AmbitionBox API: Get company salaries
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.
Unofficial. Not affiliated with or endorsed by AmbitionBox.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Company, required
company Company name, such as Infosys.
Infosys
- Job Title optional
job_title Optional role name, such as Software Engineer.
Not set
- Max Results optional
max_results Most-reported roles to return, such as 25.
100
Whole number from 1 to 100. Default
25.
Input as JSON
{ "company": "Infosys", "max_results": 100}Output
{ "roles": [ { "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/technology-analyst" , "job_title": "Technology Analyst", "salaries_reported": 48380, "average_salary_text": "₹6.9 Lakhs", "average_salary_per_year": 692637, "maximum_salary_per_year": 1004554, "minimum_salary_per_year": 463879, "maximum_experience_years": 7, "minimum_experience_years": 2 }, { "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/senior-systems-engineer" , "job_title": "Senior Systems Engineer", "salaries_reported": 41980, "average_salary_text": "₹4.5 Lakhs", "average_salary_per_year": 445144, "maximum_salary_per_year": 642984, "minimum_salary_per_year": 240000, "maximum_experience_years": 4, "minimum_experience_years": 1 }, { "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/system-engineer" , "job_title": "System Engineer", "salaries_reported": 34788, "average_salary_text": "₹3.9 Lakhs", "average_salary_per_year": 390087, "maximum_salary_per_year": 600000, "minimum_salary_per_year": 220000, "maximum_experience_years": 4, "minimum_experience_years": 0 } ], "company": "Infosys", "currency": "INR", "average_salary_by_experience": []}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"ambitionbox.com/get_company_salaries","input":{"company":"Infosys","max_results":100}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "ambitionbox.com/get_company_salaries" , "input": { "company": "Infosys", "max_results": 100 }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "ambitionbox.com/get_company_salaries" , "input": { "company": "Infosys", "max_results": 100 } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run ambitionbox.com/get_company_salaries# with {"company":"Infosys","max_results":100}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "company" ], "properties": { "company": { "type": "string", "description": "Company name, such as Infosys." }, "job_title": { "type": "string", "description": "Optional role name, such as Software Engineer." }, "max_results": { "type": "integer", "default": 25, "maximum": 100, "minimum": 1, "description": "Most-reported roles to return, such as 25." } }}Output schema
{ "type": "object", "required": [ "company", "currency", "roles", "average_salary_by_experience" ], "properties": { "roles": { "type": "array", "items": { "type": "object", "required": [ "job_title", "average_salary_per_year", "average_salary_text", "minimum_salary_per_year", "maximum_salary_per_year", "minimum_experience_years", "maximum_experience_years", "salaries_reported", "page_url" ], "properties": { "page_url": { "type": "string" }, "job_title": { "type": "string" }, "salaries_reported": { "type": "integer" }, "average_salary_text": { "type": [ "string", "null" ] }, "average_salary_per_year": { "type": [ "number", "null" ] }, "maximum_salary_per_year": { "type": [ "number", "null" ] }, "minimum_salary_per_year": { "type": [ "number", "null" ] }, "maximum_experience_years": { "type": [ "number", "null" ] }, "minimum_experience_years": { "type": [ "number", "null" ] } } } }, "company": { "type": "string" }, "currency": { "type": "string" }, "average_salary_by_experience": { "type": "array", "items": { "type": "object", "required": [ "minimum_experience_years", "maximum_experience_years", "average_salary_per_year", "salaries_reported", "page_url" ], "properties": { "page_url": { "type": "string" }, "salaries_reported": { "type": "integer" }, "average_salary_per_year": { "type": "number" }, "maximum_experience_years": { "type": "number" }, "minimum_experience_years": { "type": "number" } } } } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
ambitionbox.com/get_company_salaries- Returns
- company, currency, roles with average/min/max salary, experience range and report count, average salary by experience
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 ambitionbox.com/get_company_salaries with the inputs above.
Ask your agent
- What do Data Analysts at TCS earn per year, and how does pay change with years of experience?
- Pull the top 10 most-reported roles at Wipro with their average, min, and max annual salaries from AmbitionBox.
- I'm interviewing at Zomato for a Product Manager role — what's the typical annual package in INR broken down by experience?
- List salary ranges for the 50 most common job titles at HCLTech, including how many people reported each.
- Check AmbitionBox for Senior Software Engineer pay at Flipkart, including averages for 3-5 and 6-10 years of experience.
See more
All AmbitionBox methodsLooks up a company on AmbitionBox and returns its employee review count, overall and category ratings, and up to five common likes and dislikes. Summaries may be unavailable for some companies.
ambitionbox.com/get_company_reviewsShows an employer's average annual base salary and its common jobs, with salary ranges, from PayScale public research pages.
payscale.com/get_company_payReturns 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_salariesFinds 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_salaryGets typical pay for a job title from PayScale research pages. You can narrow it to a country and a city.
payscale.com/get_salarySearches H-1B labor condition filings by employer, job title, city and year. Returns salary statistics across all matched filings and the highest-paid filings with case status.
h1bdata.info/search_salariesCompares 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_payLooks up ZipRecruiter's salary page for a job title in the United States or one US state and returns typical pay, the percentile range and the top-paying cities. Only salary pages that exist publicly are returned.
ziprecruiter.com/get_salary