# 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.

- Page: https://fous.com/methods/ambitionbox.com/get-company-salaries
- Method: `ambitionbox.com/get_company_salaries`, version 1
- Website: ambitionbox.com
- Returns: company, currency, roles with average/min/max salary, experience range and report count, average salary by experience
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `company` | string | yes | `"Infosys"` | Company name, such as Infosys. |
| `job_title` | string | no |  | Optional role name, such as Software Engineer. |
| `max_results` | integer | no | `100` | Most-reported roles to return, such as 25. Default 25. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "company": "Infosys",
  "max_results": 100
}
```

Its output:

```json
{
  "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": []
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
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}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## 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.

## Input schema

```json
{
  "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

```json
{
  "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"
          }
        }
      }
    }
  }
}
```

## See more

- [AmbitionBox API: Get company reviews](https://fous.com/methods/ambitionbox.com/get-company-reviews.md): Looks 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.
- [PayScale API: Get company pay](https://fous.com/methods/payscale.com/get-company-pay.md): Shows an employer's average annual base salary and its common jobs, with salary ranges, from PayScale public research pages.
- [Levels.fyi API: Get company salaries by level](https://fous.com/methods/levels.fyi/get-company-salaries.md): 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.
- [Indeed API: Get salary for a job title](https://fous.com/methods/indeed.com/get-salary.md): 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.
- [PayScale API: Get salary for a job title](https://fous.com/methods/payscale.com/get-salary.md): Gets typical pay for a job title from PayScale research pages. You can narrow it to a country and a city.
- [H1BData API: Search H-1B salary filings](https://fous.com/methods/h1bdata.info/search-salaries.md): Searches 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.
- [Levels.fyi API: Compare company pay](https://fous.com/methods/levels.fyi/compare-company-pay.md): 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.
- [ZipRecruiter API: Get salary for a job title](https://fous.com/methods/ziprecruiter.com/get-salary.md): Looks 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.
- [All AmbitionBox methods](https://fous.com/methods/ambitionbox.com.md)
