# AmbitionBox Company Benefits Scraper (`hgservices/ambitionbox-company-benefits-scraper`) Actor

Scrape employee benefits data from any company on AmbitionBox.com — benefit categories, availability votes, and overall benefits rating. Structured JSON output via API, MCP, or Console.

- **URL**: https://apify.com/hgservices/ambitionbox-company-benefits-scraper.md
- **Developed by:** [Harish Garg](https://apify.com/hgservices) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 scraped benefits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## AmbitionBox Company Benefits Scraper — Extract Employee Benefits Data from AmbitionBox.com

### What does AmbitionBox Company Benefits Scraper do?

**AmbitionBox Company Benefits Scraper** extracts structured employee benefits data from [AmbitionBox.com](https://www.ambitionbox.com), India's leading employer review platform. It collects **benefit categories, availability votes, and overall benefits ratings** for any company listed on the site. The output is clean JSON, ready for analysis or integration.

Use it through the **Apify Console**, the **Apify API**, or **MCP integration** for AI agents (Claude, GPT, custom agents). Schedule runs to track how company benefits change over time.

### Why scrape AmbitionBox company benefits?

- **Employer benchmarking** — Compare benefit offerings (health insurance, work from home, gym, child care, etc.) across companies.
- **Recruitment strategy** — Identify which benefits competitors offer and which gaps to fill in your own package.
- **HR analytics** — Measure employee sentiment on specific benefits through vote counts.
- **Market research** — Feed benefits data into consulting reports, investment analysis, or competitive intelligence.
- **Career research** — Help job seekers compare non-salary perks before they accept an offer.

### How to scrape AmbitionBox benefits data

1. Go to the AmbitionBox Company Benefits Scraper page on Apify.
2. Select companies from the **Popular Companies** dropdown (175+ pre-loaded), type custom company slugs, or paste direct AmbitionBox benefits URLs.
3. Click **Start** to run the Actor.
4. Download the results in JSON, CSV, Excel, or HTML format from the Output tab.

#### Use via API

Call the Actor through the [Apify API](https://docs.apify.com/api/v2) to integrate benefits data into your applications.

```json
{
    "companySlugs": ["tcs", "infosys", "wipro"]
}
```

#### Use via MCP (for AI agents)

AI agents and tools (such as Claude, GPT, or custom agents) can call this Actor through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). The MCP integration lets AI agents extract AmbitionBox benefits as part of larger workflows — for example, to compare employee perks across employers or answer questions about company culture.

### Input

The Actor accepts these input parameters:

| Parameter | Type | Required | Description |
|---|---|---|---|
| `startUrls` | array | No | Direct AmbitionBox benefits URLs (e.g. `https://www.ambitionbox.com/benefits/tcs-benefits`). |
| `companySlugs` | array | No | Select from 175+ popular Indian companies (TCS, Infosys, Wipro, Amazon, Google, etc.). |
| `customSlugs` | array | No | Type any company slug not in the popular list. The slug is the URL path segment (e.g. `tcs` from `ambitionbox.com/benefits/tcs-benefits`). |

You must provide at least one company source (`startUrls`, `companySlugs`, or `customSlugs`).

### Output

The Actor stores results in the default dataset. Each row is one benefit item with its vote counts and availability status. You can download the dataset in various formats such as JSON, CSV, HTML, or Excel.

#### Output example

```json
{
    "id": "health_insurance",
    "companyName": "TCS",
    "companySlug": "tcs",
    "categoryName": "Health & Insurance",
    "benefitName": "Health Insurance",
    "available": true,
    "availableCount": 8542,
    "unavailableCount": 312,
    "notSureCount": 205,
    "totalCount": 9059,
    "overallBenefitsRating": 3.8,
    "url": "https://www.ambitionbox.com/benefits/tcs-benefits"
}
```

### Data fields

| Field | Type | Description |
|---|---|---|
| `id` | string | Unique benefit identifier on AmbitionBox |
| `companyName` | string | Company name |
| `companySlug` | string | Company URL slug |
| `categoryName` | string | Benefit category (e.g. "Health & Insurance", "Work-Life Balance") |
| `benefitName` | string | Specific benefit name (e.g. "Health Insurance", "Work From Home") |
| `available` | boolean | Whether the benefit is reported as available by the majority of voters |
| `availableCount` | number | Number of employees who reported the benefit is available |
| `unavailableCount` | number | Number of employees who reported the benefit is not available |
| `notSureCount` | number | Number of employees who were not sure about the benefit |
| `totalCount` | number | Total number of votes on this benefit |
| `overallBenefitsRating` | number | The company's overall benefits rating (out of 5) |
| `url` | string | Source page URL |

### How much does it cost to scrape AmbitionBox benefits?

The Actor uses pay-per-event pricing with two event types:

- **`company-search`** — One event per unique company you scrape (charged upfront).
- **`results-scraped`** — One event per benefit record saved to the dataset.

Check the Pricing tab on the Actor page for current per-event rates.

**Example:** A typical company has 30–50 benefit items across all categories. Scraping 10 companies produces roughly 300–500 records.

### Tips for best results

- **Start with one company** — Run a single company first to review the output before you scale up.
- **Use the Popular Companies dropdown** — It covers 175+ well-known companies and is the fastest way to get started.
- **Find any company's slug** — Visit the company on AmbitionBox.com. The slug is the path segment before `-benefits` (e.g. `tcs` from `ambitionbox.com/benefits/tcs-benefits`).
- **Combine with other Actors** — Use the output alongside the AmbitionBox Salaries Scraper, Glassdoor, or Indeed scrapers for a complete employer profile.
- **Schedule recurring runs** — Use Apify's scheduling feature to track benefit changes quarterly or annually.

### FAQ and support

**Is it legal to scrape AmbitionBox?**
This Actor extracts publicly available data from AmbitionBox.com. Use the data responsibly and in compliance with applicable laws and the website's Terms of Service.

**What companies can I scrape?**
Any company listed on AmbitionBox.com. The dropdown includes 175+ popular companies for convenience. You can scrape any other company by providing its URL or slug.

**How do I find a company's slug?**
Go to the company's benefits page on AmbitionBox.com. The slug is the part before `-benefits` in the URL. For example, in `ambitionbox.com/benefits/tcs-benefits`, the slug is `tcs`.

**What do the vote counts mean?**
Each benefit has three vote types: `availableCount` (employees who confirm the benefit exists), `unavailableCount` (employees who say it does not), and `notSureCount` (employees who are uncertain). The `available` boolean reflects the majority vote. Higher `totalCount` values indicate more reliable data.

**Can I schedule recurring runs?**
Yes. Use Apify's scheduling feature to run the Actor on a weekly, monthly, or custom schedule. This is useful for tracking how company benefits evolve over time.

**I found a problem or need a custom solution.**
Open an issue in the Issues tab on the Actor page. For custom scraping needs, contact the developer.

# Actor input Schema

## `startUrls` (type: `array`):

Direct AmbitionBox benefits URLs to scrape (e.g. https://www.ambitionbox.com/benefits/tcs-benefits). The Actor detects the company from the URL automatically.

## `companySlugs` (type: `array`):

Select from a curated list of ~175 well-known companies. The Actor builds the benefits URLs automatically.

## `customSlugs` (type: `array`):

Type any company slug not in the Popular Companies list. The slug is the URL path segment, e.g. for ambitionbox.com/benefits/tcs-benefits the slug is "tcs".

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ambitionbox.com/benefits/tcs-benefits"
    }
  ],
  "companySlugs": [
    "abb"
  ],
  "customSlugs": [
    "pvr-cinemas"
  ]
}
```

# Actor output Schema

## `benefits` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.ambitionbox.com/benefits/tcs-benefits"
        }
    ],
    "companySlugs": [
        "abb"
    ],
    "customSlugs": [
        "pvr-cinemas"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hgservices/ambitionbox-company-benefits-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.ambitionbox.com/benefits/tcs-benefits" }],
    "companySlugs": ["abb"],
    "customSlugs": ["pvr-cinemas"],
}

# Run the Actor and wait for it to finish
run = client.actor("hgservices/ambitionbox-company-benefits-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.ambitionbox.com/benefits/tcs-benefits"
    }
  ],
  "companySlugs": [
    "abb"
  ],
  "customSlugs": [
    "pvr-cinemas"
  ]
}' |
apify call hgservices/ambitionbox-company-benefits-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hgservices/ambitionbox-company-benefits-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/XvDnneT3drNRcQg2j/builds/JpBjKZTUN49QCR1S9/openapi.json
