# Ambitionbox Salary Scraper (`getdataforme/ambitionbox-salary-scraper`) Actor

Extract salary insights from AmbitionBox for targeted companies. This Apify Actor provides reliable, structured JSON data on compensation trends, using residential proxies for undetected scraping....

- **URL**: https://apify.com/getdataforme/ambitionbox-salary-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Automation, Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 33 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $9.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Ambitionbox Salary Scraper

### Introduction

The Ambitionbox Salary Scraper is a powerful Apify Actor designed to extract detailed salary information from AmbitionBox, India's leading platform for company reviews and employee insights. By targeting specific companies, this tool provides valuable data on compensation trends, helping businesses, researchers, and job seekers make informed decisions. It ensures reliable, structured data extraction with minimal setup, delivering insights into salary ranges, roles, and more.

### Features

- **Targeted Scraping**: Extracts salary data specifically for user-specified companies on AmbitionBox.
- **High Reliability**: Uses residential proxies to avoid detection and ensure consistent data retrieval.
- **Customizable Limits**: Allows setting maximum requests per crawl to control usage and costs.
- **Structured Output**: Delivers clean, JSON-formatted data ready for analysis or integration.
- **Fast and Efficient**: Optimized for quick crawls, handling multiple pages seamlessly.
- **Error-Resilient**: Built-in handling for common scraping challenges like rate limits and page changes.
- **Apify Integration**: Fully compatible with Apify's ecosystem for easy scheduling and storage.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| companyName | string | Yes | The name of the company to scrape salary data for, typically in slug format (e.g., "federal-bank"). | "federal-bank" |
| proxyConfiguration | object | No | Configures proxy servers to hide the scraper's origin, using Apify's proxy service with residential groups by default. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} |
| maxRequestsPerCrawl | integer | No | Limits the number of HTTP requests made during the crawl to manage resources. | 10 |

### Example Usage

#### Input JSON

```json
{
  "companyName": "federal-bank",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  },
  "maxRequestsPerCrawl": 10
}
```

#### Output JSON

```json
[
  {
    "companyId": 201128,
    "companyName": "federal-bank",
    "jobProfileId": 1140,
    "jobProfileName": "Probationary Officer",
    "urlName": "probationary-officer",
    "minExperience": 0,
    "maxExperience": 2,
    "minCtc": 1095140,
    "maxCtc": 1800000,
    "avgCtc": 1460187,
    "typicalMinCtc": 1387178,
    "typicalMaxCtc": 1533196,
    "dataPoints": 365,
    "jobsCount": 0,
    "salaryPageUrl": "https://www.ambitionbox.com/salaries/federal-bank-salaries"
  },
  {
    "companyId": 201128,
    "companyName": "federal-bank",
    "jobProfileId": 313,
    "jobProfileName": "Relationship Manager",
    "urlName": "relationship-manager",
    "minExperience": 0,
    "maxExperience": 6,
    "minCtc": 200000,
    "maxCtc": 400000,
    "avgCtc": 327759,
    "typicalMinCtc": 308771,
    "typicalMaxCtc": 346747,
    "dataPoints": 299,
    "jobsCount": 0,
    "salaryPageUrl": "https://www.ambitionbox.com/salaries/federal-bank-salaries"
  }
]
```

### Use Cases

- **Market Research**: Analyze salary trends across industries to benchmark compensation.
- **Competitive Intelligence**: Compare salaries at rival companies for strategic hiring.
- **HR Planning**: Assist HR teams in setting competitive pay scales.
- **Job Seekers**: Help individuals research fair salaries for negotiations.
- **Academic Research**: Gather data for studies on labor markets and economic trends.
- **Business Automation**: Integrate salary data into dashboards for automated reporting.

### Installation and Usage

1. Search for "Ambitionbox Salary Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters as needed.
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The output is an array of JSON objects, each representing a job profile's salary data for the requested company. Key fields include:

- `companyId`: AmbitionBox's internal ID for the company.
- `companyName`: The company slug that was scraped.
- `jobProfileId`: AmbitionBox's internal ID for the job profile.
- `jobProfileName`: Job title or position.
- `urlName`: URL-friendly slug for the job profile.
- `minExperience` / `maxExperience`: Years of experience range for this profile.
- `minCtc` / `maxCtc`: Minimum and maximum annual CTC (in INR).
- `avgCtc`: Average annual CTC (in INR).
- `typicalMinCtc` / `typicalMaxCtc`: Typical CTC range reported for this profile (in INR).
- `dataPoints`: Number of salary data points contributing to this profile.
- `jobsCount`: Number of open jobs currently listed for this profile.
- `salaryPageUrl`: The AmbitionBox salary page the data was sourced from.

This structured format allows for easy parsing and analysis in tools like Excel or databases.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

# Actor input Schema

## `companyName` (type: `string`):

Company name to scrape salary data for (e.g., federal-bank)

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## `maxItems` (type: `integer`):

Maximum number of items to scrape.

## Actor input object example

```json
{
  "companyName": "federal-bank",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxItems": 10
}
```

# 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 = {
    "companyName": "federal-bank",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/ambitionbox-salary-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 = {
    "companyName": "federal-bank",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/ambitionbox-salary-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 '{
  "companyName": "federal-bank",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/ambitionbox-salary-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/ambitionbox-salary-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/Pw4eFjQ39ZoflDCyK/builds/81r5pmsIbNOSfbvNf/openapi.json
