# Glassdoor Salaries Scraper (`thescrappa/glassdoor-salaries-scraper`) Actor

Get Glassdoor salaries by job title: employer, mean base pay, mean additional pay and total pay from the 10th to the 90th percentile, with currency and pay period. Search many job titles in one run, for all companies or one employer ID.

- **URL**: https://apify.com/thescrappa/glassdoor-salaries-scraper.md
- **Developed by:** [Scrappa](https://apify.com/thescrappa) (community)
- **Categories:** Jobs, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 94.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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.
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?

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

## Glassdoor Salaries Scraper

Get what companies pay for a job title, as reported on Glassdoor. Each row is one employer with the matched job title, mean base pay, mean additional pay and total pay at the 10th, 25th, 50th, 75th and 90th percentile, plus currency and pay period. Search many job titles in one run, for all companies or for one employer.

### What data can you extract?

| Field | Type | Description |
| --- | --- | --- |
| `job_title` | String | Job title as Glassdoor matched it. |
| `job_title_id` | Integer or null | Glassdoor ID of the job title. |
| `employer_id` | Integer or null | Glassdoor employer ID of the company. |
| `employer_name` | String or null | Name of the company that pays the salary. |
| `employer_rating` | Number or null | Overall Glassdoor rating of the company, from 1 to 5. |
| `employer_url` | String or null | Glassdoor overview page of the company. |
| `currency` | String | Three-letter currency code of the pay figures. |
| `pay_period` | String | Pay period of the figures, for example ANNUAL or HOURLY. |
| `base_pay_mean` | Number or null | Mean base pay, as a number in the row currency. |
| `additional_pay_mean` | Number or null | Mean additional pay such as bonus or commission. |
| `total_pay_p10` | Number or null | Total pay at the 10th percentile. |
| `total_pay_p25` | Number or null | Total pay at the 25th percentile. |
| `total_pay_median` | Number or null | Median total pay (50th percentile). |
| `total_pay_p75` | Number or null | Total pay at the 75th percentile. |
| `total_pay_p90` | Number or null | Total pay at the 90th percentile. |
| `search` | Object | The search entry from your input that found this salary. |
| `scraped_at` | String | UTC date and time when this record was collected. |

### Use cases

- HR teams can benchmark their pay for a role against named competitors.
- Recruiters can quote realistic salary ranges to candidates and hiring managers.
- Job seekers can compare what different companies pay for the same title.
- Analysts can build compensation datasets by role and employer.

### How to use

1. Add one entry per job title to `searches`, for example `{"job_title": "data analyst"}`.
2. Optional: set `employer_id` to get salaries at one company only.
3. Set `maxResults` to the number of employers you want for each job title.
4. Start the run. Each employer gives one dataset row with the pay figures.

```json
{
  "searches": [
    {
      "job_title": "data analyst"
    }
  ],
  "maxResults": 25
}
```

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `searches` | Array\<object> | Yes | Salary searches to run, one job title per entry. An entry can also set its own employer ID. |
| `searches[].job_title` | string | Yes per entry | Job title to get salaries for, for example software engineer or data analyst. |
| `searches[].employer_id` | string | No | Only salaries at this company, for example 9079 for Google. Find it after E or IE in the Glassdoor company link. Leave empty for all companies. |
| `employer_id` | string | No | Only salaries at this company, for example 9079 for Google. Find it after E or IE in the Glassdoor company link. Leave empty for all companies. |
| `maxResults` | integer | No | Maximum salary rows to save for each job title. Glassdoor returns 25 employers per page. |
| `maxPages` | integer | No | Maximum pages to request for each batch entry. |

### Output example

```json
{
  "job_title": "Product Designer",
  "job_title_id": 28741,
  "employer_id": 871234,
  "employer_name": "Northwind Fintech Inc.",
  "employer_rating": 4.2,
  "employer_url": "https://www.glassdoor.com/Overview/Working-at-EI_IE871234.htm",
  "currency": "USD",
  "pay_period": "ANNUAL",
  "base_pay_mean": 131250.5,
  "additional_pay_mean": 14820.75,
  "total_pay_p10": 112400,
  "total_pay_p25": 128900.25,
  "total_pay_median": 146300,
  "total_pay_p75": 165750.5,
  "total_pay_p90": 189200,
  "search": {
    "job_title": "data analyst"
  },
  "scraped_at": "2026-10-01T12:00:00Z"
}
```

### Pricing

$0.375 per 1,000 results on the Apify Free plan, $0.34 on Bronze, $0.31 on Silver and $0.30 on Gold and higher plans. Apify saves one dataset item per result and applies the Actor’s per-result price to saved items.

Pagination follows the source response. Set **maxPages** per batch entry and **maxResults** for each entry.

### FAQ

#### Is scraping this information legal?

Rules depend on the source, location, data type, and intended use. Check applicable laws and source terms, and make sure your workflow follows privacy and data protection requirements.

#### What limits apply?

Submit up to 100 batch entries per run. Use **maxResults** to cap saved items for each entry and **maxPages** to limit pages for each entry. Results also depend on source availability and your Scrappa API plan.

#### Can I start runs through the Apify API?

Yes. Send a POST request to `https://api.apify.com/v2/acts/thescrappa~glassdoor-salaries-scraper/runs` with your Actor input, or use an Apify client library. Read the output from the run dataset.

#### Can I connect the results to other tools?

Yes. Apify integrations and APIs can pass dataset results to Make, Zapier, n8n, Google Sheets, and other data workflows.

#### What happens when one input fails?

The Actor logs a short source error and continues with the remaining entries. Transient rate limits and gateway errors are retried; if every entry fails, the run reports an error.

#### Which country are the salaries for?

Glassdoor reports them for its default market, the United States, in the currency shown in each row.

#### What is the difference between base and total pay?

Base pay is the fixed salary. Total pay adds additional pay such as bonus, commission and profit sharing.

### Related Scrappa Actors

- [Glassdoor Jobs Scraper](https://apify.com/thescrappa/glassdoor-jobs-scraper)
- [Glassdoor Reviews Scraper](https://apify.com/thescrappa/glassdoor-reviews-scraper)
- [Kununu Salary by Job Title Scraper](https://apify.com/thescrappa/kununu-salary-scraper)
- [Kununu Company Salaries Scraper](https://apify.com/thescrappa/kununu-company-salaries-scraper)

# Actor input Schema

## `searches` (type: `array`):

Salary searches to run, one job title per entry. An entry can also set its own employer ID.

## `employer_id` (type: `string`):

Only salaries at this company, for example 9079 for Google. Find it after E or IE in the Glassdoor company link. Leave empty for all companies.

## `maxResults` (type: `integer`):

Maximum salary rows to save for each job title. Glassdoor returns 25 employers per page.

## `maxPages` (type: `integer`):

Maximum pages to request for each batch entry.

## Actor input object example

```json
{
  "searches": [
    {
      "job_title": "data analyst"
    }
  ],
  "maxResults": 25,
  "maxPages": 40
}
```

# Actor output Schema

## `results` (type: `string`):

All results from this run in the default dataset.

# 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 = {
    "searches": [
        {
            "job_title": "data analyst"
        }
    ],
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrappa/glassdoor-salaries-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 = {
    "searches": [{ "job_title": "data analyst" }],
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("thescrappa/glassdoor-salaries-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 '{
  "searches": [
    {
      "job_title": "data analyst"
    }
  ],
  "maxResults": 25
}' |
apify call thescrappa/glassdoor-salaries-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrappa/glassdoor-salaries-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/RFPAqbyjLkNMaRtkT/builds/gcPqodeSB2rEanauj/openapi.json
