# AmbitionBox API

> AmbitionBox returns company salary and employee review data, available as a workflow and API.

AmbitionBox returns company salaries by role and experience band; provide a company name and optionally a job title. AmbitionBox returns employee review counts, ratings, likes, and dislikes; provide a company name.

- Page: https://fous.com/workflows/ambitionbox
- Handle: `@ambitionbox`
- Category: [Jobs](https://fous.com/workflows/category/jobs)
- Source website: https://ambitionbox.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with AmbitionBox.

## Methods

### Get company reviews

Operation `get_company_reviews`, version 1. 1 credit per call.

Get a company’s employee review count, overall and category ratings, and up to five common likes and dislikes on AmbitionBox. Summaries may be unavailable for some companies.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `company` | string | yes | `"Tata Consultancy Services"` | The company name to look up, such as Tata Consultancy Services. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "company"
  ],
  "properties": {
    "company": {
      "type": "string",
      "description": "The company name to look up, such as Tata Consultancy Services.",
      "examples": [
        "Tata Consultancy Services",
        "Infosys"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "company": "Tata Consultancy Services"
    },
    {
      "company": "Infosys"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `salary` | number or null | `2.4` |  |
| `company` | string | `"TCS"` |  |
| `promotions` | number or null | `2.2` |  |
| `common_likes` | array or null |  |  |
| `job_security` | number or null | `3.7` |  |
| `overall_rating` | number or null | `3.2` |  |
| `common_dislikes` | array or null |  |  |
| `company_culture` | number or null | `3.2` |  |
| `ambitionbox_link` | string | `"https://www.ambitionbox.com/reviews/tcs-reviews"` |  |
| `number_of_reviews` | integer or null | `122543` |  |
| `skill_development` | number or null | `3.1` |  |
| `work_life_balance` | number or null | `3.5` |  |
| `work_satisfaction` | number or null | `3` |  |

**Example input**

```json
{
  "company": "Tata Consultancy Services"
}
```

**Example output**

```json
{
  "salary": 2.4,
  "company": "TCS",
  "promotions": 2.2,
  "common_likes": null,
  "job_security": 3.7,
  "overall_rating": 3.2,
  "common_dislikes": [
    "Low Pay, Slow Promotions",
    "Toxic Work Culture"
  ],
  "company_culture": 3.2,
  "ambitionbox_link": "https://www.ambitionbox.com/reviews/tcs-reviews",
  "number_of_reviews": 122543,
  "skill_development": 3.1,
  "work_life_balance": 3.5,
  "work_satisfaction": 3
}
```

### Get company salaries

Operation `get_company_salaries`, version 1. 1 credit per call.

Get annual salaries by role at an Indian company, ordered by number of reports, plus annual averages by experience band when a job title is supplied. Returns up to the requested number of roles; visitor verification can limit results to the first page. Some public page averages are hidden visually; lakhs labels are computed from the published figures.

**Input**

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

**Input schema**

```json
{
  "type": "object",
  "required": [
    "company"
  ],
  "properties": {
    "company": {
      "type": "string",
      "description": "Company name, such as Infosys.",
      "examples": [
        "Infosys",
        "Wipro"
      ]
    },
    "job_title": {
      "type": "string",
      "description": "Optional role name, such as Software Engineer.",
      "examples": [
        "Software Engineer"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 25,
      "maximum": 100,
      "minimum": 1,
      "description": "Most-reported roles to return, such as 25.",
      "x-fous-developer": true,
      "examples": [
        25
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "company": "Infosys",
      "job_title": "Software Engineer"
    },
    {
      "company": "Wipro",
      "max_results": 25
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `roles` | array |  |  |
| `roles[].page_url` | string | `"https://www.ambitionbox.com/salaries/infosys-salaries/software-engineer"` |  |
| `roles[].job_title` | string | `"Software Engineer"` |  |
| `roles[].salaries_reported` | integer | `14361` |  |
| `roles[].average_salary_text` | string or null | `"₹11.6 Lakhs"` |  |
| `roles[].average_salary_per_year` | number or null | `1159311` |  |
| `roles[].maximum_salary_per_year` | number or null | `1612282` |  |
| `roles[].minimum_salary_per_year` | number or null | `869483` |  |
| `roles[].maximum_experience_years` | number or null | `5` |  |
| `roles[].minimum_experience_years` | number or null | `1` |  |
| `company` | string | `"Infosys"` |  |
| `currency` | string | `"INR"` |  |
| `average_salary_by_experience` | array |  |  |
| `average_salary_by_experience[].page_url` | string | `"https://www.ambitionbox.com/salaries/infosys-salaries/software-engineer"` |  |
| `average_salary_by_experience[].salaries_reported` | integer | `1318` |  |
| `average_salary_by_experience[].average_salary_per_year` | number | `1005278` |  |
| `average_salary_by_experience[].maximum_experience_years` | number | `2` |  |
| `average_salary_by_experience[].minimum_experience_years` | number | `1` |  |

**Example input**

```json
{
  "company": "Infosys",
  "job_title": "Software Engineer"
}
```

**Example output**

```json
{
  "roles": [
    {
      "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/software-engineer",
      "job_title": "Software Engineer",
      "salaries_reported": 14361,
      "average_salary_text": "₹11.6 Lakhs",
      "average_salary_per_year": 1159311,
      "maximum_salary_per_year": 1612282,
      "minimum_salary_per_year": 869483,
      "maximum_experience_years": 5,
      "minimum_experience_years": 1
    }
  ],
  "company": "Infosys",
  "currency": "INR",
  "average_salary_by_experience": [
    {
      "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/software-engineer",
      "salaries_reported": 1318,
      "average_salary_per_year": 1005278,
      "maximum_experience_years": 2,
      "minimum_experience_years": 1
    },
    {
      "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/software-engineer",
      "salaries_reported": 8394,
      "average_salary_per_year": 1112012,
      "maximum_experience_years": 3,
      "minimum_experience_years": 2
    },
    {
      "page_url": "https://www.ambitionbox.com/salaries/infosys-salaries/software-engineer",
      "salaries_reported": 2444,
      "average_salary_per_year": 1218746,
      "maximum_experience_years": 4,
      "minimum_experience_years": 3
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@ambitionbox",
  "visibility": "public",
  "operation": "get_company_reviews",
  "version": 1,
  "input": {
    "company": "Tata Consultancy Services"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@ambitionbox\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_company_reviews\",\n  \"version\": 1,\n  \"input\": {\n    \"company\": \"Tata Consultancy Services\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@ambitionbox",
  "visibility": "public",
  "operation": "get_company_reviews",
  "version": 1,
  "input": {
    "company": "Tata Consultancy Services"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@ambitionbox","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare reported salaries across company roles
- Review salary averages across experience bands
- Compare employee ratings across categories
- Summarize common employee likes and dislikes
- Track company review counts

## FAQ

### Is Fous affiliated with AmbitionBox?

No. Fous is not affiliated with AmbitionBox. This workflow reads the public ambitionbox.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a AmbitionBox account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from ambitionbox.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### What salaries are reported for company roles?

Get company salaries returns reported salaries by role, ordered by report count. Provide a company name and optionally a job title.

### How do salaries vary by experience?

Get company salaries returns annual salary averages by experience band when you provide a company name and job title.

### What do employees say about a company?

Get company reviews returns review counts, overall and category ratings, and common likes and dislikes for a company.

## Related

- [Glassdoor API](https://fous.com/workflows/glassdoor.md): Employee reviews and company ratings.
- [PayScale API](https://fous.com/workflows/payscale.md): PayScale provides job and location salary research, skill pay effects when published, and employer average base salaries and common jobs where available.
- [Indeed API](https://fous.com/workflows/indeed.md): Indeed returns public first-page listings and details for available, unexpired jobs, company employee ratings and CEO approval when available, and typical pay from public salary pages.
- [Levels.fyi API](https://fous.com/workflows/levels-fyi.md): Levels.fyi returns published per-level median annual pay, rankings of up to 50 companies by role/location median total pay, and cross-company pay comparisons for 2–10 companies.
- [H1B Salary Database API](https://fous.com/workflows/h1b-salary-database.md): Search employer-filed H-1B salary and labor condition records.
- [ZipRecruiter API](https://fous.com/workflows/ziprecruiter.md): ZipRecruiter returns up to 100 public job listings per search and U.S. job-title pay ranges and top-paying cities where public salary pages exist.
- [Trustpilot API](https://fous.com/workflows/trustpilot.md): Trustpilot provides company ratings, reply and location details when available, recent public reviews, and company search results with ratings, review counts, categories, locations, and links.
- [Remote OK API](https://fous.com/workflows/remote-ok.md): Remote job postings from Remote OK.
- [All Jobs workflows](https://fous.com/workflows/category/jobs)
