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

Glassdoor Company Benefits API Documentation

GET https://scrappa.co/api/glassdoor/companies/benefits

Glassdoor Company Benefits API Documentation Get the benefit ratings of one Glassdoor company by category: for each benefit the average rating (1 to 5), the number of ratings, the number of comments and whether the employer verified the benefit, plus the total number of benefit reviews. These are aggregates only: the comment texts are not available. An unknown employer id returns a 404 error that is not billed. Costs 1 credit per successful request. Failed requests are not billed.

Glassdoor Company Benefits API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/glassdoor/companies/benefits
Auth header
x-api-key
Cost
1 credit/request
employer_id = 1234567890
Response preview
200 OK
{
    "data": {
        "company": "Google",
        "location": "United States",
        "categories": [
            {
                "id": 1,
                "name": "Insurance, Health & Wellness",
                "benefits": [
                    {
                        "id": 1,
                        "name": "Health Insurance",
                        "rating": 4.62,
                        "verified": true,
...

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.

employer_id integer Required

Glassdoor employer id from the search or autocomplete endpoints. Example: 9079.

Example value 1234567890

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": {
        "company": "Google",
        "location": "United States",
        "categories": [
            {
                "id": 1,
                "name": "Insurance, Health & Wellness",
                "benefits": [
                    {
                        "id": 1,
                        "name": "Health Insurance",
                        "rating": 4.62,
                        "verified": true,
                        "ratings_count": 865,
                        "comments_count": 865
                    },
                    {
                        "id": 2,
                        "name": "Dental Insurance",
                        "rating": 4.47,
                        "verified": true,
                        "ratings_count": 154,
                        "comments_count": 154
                    },
                    {
                        "id": 4,
                        "name": "Flexible Spending Account (FSA)",
                        "rating": 4.54,
                        "verified": false,
                        "ratings_count": 24,
                        "comments_count": 24
                    }
                ]
            },
            {
                "id": 2,
                "name": "Financial & Retirement",
                "benefits": [
                    {
                        "id": 14,
                        "name": "Pension Plan",
                        "rating": 3.73,
                        "verified": false,
                        "ratings_count": 15,
                        "comments_count": 15
                    },
                    {
                        "id": 13,
                        "name": "401K Plan",
                        "rating": 4.72,
                        "verified": true,
                        "ratings_count": 401,
                        "comments_count": 401
                    },
                    {
                        "id": 20,
                        "name": "Retirement Plan",
                        "rating": 4.57,
                        "verified": true,
                        "ratings_count": 221,
                        "comments_count": 221
                    }
                ]
            }
        ],
        "employer_id": 9079,
        "total_benefit_reviews": 8646
    },
    "meta": {
        "billable": true,
        "endpoint_family": "company_benefits"
    },
    "success": true
}

Errors

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

422

Validation Error

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

{
    "errors": {
        "employer_id": [
            "The employer id field is required."
        ]
    },
    "message": "The request validation failed"
}
404

Company Not Found

The Glassdoor employer id does not exist. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "company_benefits"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Glassdoor company was not found."
    },
    "success": false
}
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": "company_benefits"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "The Glassdoor API is temporarily unavailable. Please retry."
    },
    "success": false
}
503

Upstream Blocked

Glassdoor blocked every try. This response is not billable.

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

Service Unavailable

Glassdoor could not be reached. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "company_benefits"
    },
    "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.