Skip to content
Scrappa Get API key
Glassdoor API 1 credit/request

Glassdoor Salaries API Documentation

GET https://scrappa.co/api/glassdoor/salaries

Glassdoor Salaries API Documentation Retrieve salaries by job title, optionally for one employer: matched job title, employer, currency, pay period, mean base pay, mean additional pay and total pay percentiles (p10 to p90). The estimate block holds the market-wide estimate for the job title. A job title without matches returns an empty salaries list and is a successful response.

Glassdoor Salaries API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/glassdoor/salaries
Auth header
x-api-key
Cost
1 credit/request
job_title = example
Response preview
200 OK
{
    "data": {
        "page": 1,
        "estimate": {
            "base_pay": {
                "p10": 79398.15,
                "p25": 95601.32,
                "p50": 117531.09,
                "p75": 144491.27,
                "p90": 173978.32
            },
            "currency": "USD",
            "location": "United States",
            "job_title": "Software Engineer",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

3 optional filters available.

job_title string Required

Job title to search, 1 to 100 characters. Example: software engineer.

Example value example
employer_id integer Optional

Limit results to one Glassdoor employer id. Example: 9079.

Example value 1234567890
page integer Optional

Page number, 1 to 100. Defaults to 1.

Example value 1
limit integer Optional

Results per page, 1 to 25. Defaults to 10.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "page": 1,
        "estimate": {
            "base_pay": {
                "p10": 79398.15,
                "p25": 95601.32,
                "p50": 117531.09,
                "p75": 144491.27,
                "p90": 173978.32
            },
            "currency": "USD",
            "location": "United States",
            "job_title": "Software Engineer",
            "total_pay": {
                "p10": 99395.24,
                "p25": 121459.62,
                "p50": 152008.83,
                "p75": 192760.11,
                "p90": 237072.58
            },
            "confidence": "CONFIDENT",
            "pay_period": "ANNUAL",
            "salaries_count": 726735
        },
        "has_more": true,
        "salaries": [
            {
                "currency": "USD",
                "employer": {
                    "id": 9079,
                    "url": "https://www.glassdoor.com/Overview/Working-at-EI_IE9079.htm",
                    "name": "Google",
                    "rating": 4.4,
                    "logo_url": "https://media.glassdoor.com/sql/9079/google-squarelogo-1441130773284.png"
                },
                "job_title": "Software Engineer",
                "total_pay": {
                    "p10": 207909.08,
                    "p25": 251388.51,
                    "p50": 311695.65,
                    "p75": 396273.52,
                    "p90": 486503.67
                },
                "pay_period": "ANNUAL",
                "job_title_id": 4279,
                "base_pay_mean": 184722.83,
                "additional_pay_mean": 126972.82
            }
        ],
        "job_title": "software engineer",
        "total_pages": 8,
        "total_results": 15
    },
    "meta": {
        "billable": true,
        "endpoint_family": "salaries"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required query parameter is missing or invalid. No upstream call is made. This response is not billable.

{
    "errors": {
        "job_title": [
            "The job title field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Invalid Source Response

Glassdoor answered with a shape that no longer matches the documented contract. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "salaries"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "The Glassdoor API is temporarily unavailable. Please retry."
    },
    "success": false
}
503

Service Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "salaries"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Glassdoor API is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.