{
  "openapi": "3.0.1",
  "info": {
    "title": "Glassdoor Scraper — Company Reviews & Ratings",
    "description": "🔥 Up to 30% OFF! Glassdoor employer intelligence — no login. Company overview with the full 1-5 star rating distribution (per category), size, industry, HQ, plus latest reviews with pros/cons and employer replies. Monitor any company. ⚡",
    "version": "0.0",
    "x-build-id": "i1HQ3BeFxR2SjAKFs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bgfc97~glassdoor-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bgfc97-glassdoor-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/bgfc97~glassdoor-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bgfc97-glassdoor-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/bgfc97~glassdoor-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bgfc97-glassdoor-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "companyUrls": {
            "title": "Company Reviews page URLs",
            "type": "array",
            "description": "Glassdoor company Reviews page URLs, e.g. https://www.glassdoor.com/Reviews/Google-Reviews-E9079.htm . Also accepts Overview URLs. Optional if companyName is set — at least one of the two is required.",
            "items": {
              "type": "string"
            }
          },
          "companyName": {
            "title": "Company name to search (optional)",
            "type": "string",
            "description": "A plain company name (e.g. \"Google\" or \"Nubank\"). The actor searches Glassdoor and uses the best-matching employer's Reviews page. Optional if companyUrls is set — at least one of the two is required."
          },
          "maxReviews": {
            "title": "Max reviews per company",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of individual reviews to return per company. IMPORTANT: logged out, Glassdoor's current site exposes only the 3 most-recent full reviews per company (deep pagination, sorting and the GraphQL review API are all blocked to anonymous clients — getting hundreds of reviews requires a logged-in account, which this actor does NOT do). The full company-intelligence overview item is always returned in addition.",
            "default": 10
          },
          "includeReviews": {
            "title": "Include individual reviews",
            "type": "boolean",
            "description": "If true (default), output the individual review items in addition to the company overview. Set to false to get only the rich company-intelligence overview (ratings, firmographics, full rating distribution) and nothing else.",
            "default": true
          },
          "sort": {
            "title": "Review sort (best-effort)",
            "enum": [
              "RELEVANCE",
              "MOST_RECENT",
              "OLDEST",
              "HIGHEST_RATING",
              "LOWEST_RATING"
            ],
            "type": "string",
            "description": "Preferred sort for the returned reviews. Best-effort only: anonymous Glassdoor usually ignores review sorting, so this may not change which reviews come back.",
            "default": "RELEVANCE"
          },
          "language": {
            "title": "Language (optional)",
            "enum": [
              "",
              "en",
              "pt",
              "es",
              "fr",
              "de",
              "it",
              "nl"
            ],
            "type": "string",
            "description": "Preferred content language. Sent as the Accept-Language header so Glassdoor localises the page (UI strings and, where available, localised reviews).",
            "default": ""
          },
          "proxyCountry": {
            "title": "Proxy country (optional, e.g. US, BR, GB)",
            "type": "string",
            "description": "ISO country code for the Unblocker proxy (e.g. US, BR, GB, IN, CA, DE, FR). Leave empty to auto-pick from the target URL host (glassdoor.com.br -> BR, glassdoor.co.uk -> GB, else US)."
          },
          "proxyGroups": {
            "title": "Apify Proxy groups (advanced)",
            "type": "array",
            "description": "Apify Proxy groups to route requests through. Defaults to [\"UNBLOCKER\"], which solves Glassdoor's Cloudflare/anti-bot challenge on the proxy side and returns final HTML — this is what makes the scrape work without a captcha key or login. Change only if you know what you are doing.",
            "default": [
              "UNBLOCKER"
            ],
            "items": {
              "type": "string"
            }
          },
          "timeoutSecs": {
            "title": "Per-request timeout (seconds)",
            "minimum": 20,
            "maximum": 180,
            "type": "integer",
            "description": "How long to wait for each Unblocker HTTP request to return the rendered Glassdoor page, in seconds (20-180). The Unblocker solves the challenge server-side, so requests routinely take 20-60s.",
            "default": 90
          },
          "debugStoreHtml": {
            "title": "Debug: store the fetched HTML in the key-value store",
            "type": "boolean",
            "description": "When enabled, saves each company's fetched page HTML into the run's key-value store under debug-html-* keys, for inspecting Glassdoor's current structure if extraction returns nothing. Off by default.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}