{
  "openapi": "3.0.1",
  "info": {
    "title": "Glassdoor Scraper - Company Reviews, Ratings & Interviews",
    "description": "Scrape any Glassdoor company: employee reviews with every sub-rating, pros, cons, advice and employer replies, the full rating breakdown, CEO approval and recommend %, interview experiences and difficulty, plus scored employer leads. Monitor mode pulls only new reviews. No login.",
    "version": "1.0",
    "x-build-id": "tri9JeMYxZAvnVaE0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~glassdoor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-glassdoor-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/scrapesage~glassdoor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-glassdoor-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/scrapesage~glassdoor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-glassdoor-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": {
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Look up companies by name - the actor resolves each to its Glassdoor employer page automatically. Example: <code>Google</code>, <code>Netflix</code>. Pasting a company URL below is more precise when several employers share a name.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Glassdoor company URLs",
            "type": "array",
            "description": "Paste one or more Glassdoor company URLs - any tab works (Overview, Reviews, Interviews, Salary, Jobs). The actor reads the employer ID from the URL. Example: <code>https://www.glassdoor.com/Reviews/Google-Reviews-E9079.htm</code>",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "employerIds": {
            "title": "Glassdoor employer IDs",
            "type": "array",
            "description": "Optional. Numeric Glassdoor employer IDs (the number after <code>-E</code> / <code>EI_IE</code> in a company URL), e.g. <code>9079</code> for Google.",
            "items": {
              "type": "string"
            }
          },
          "includeCompanyOverview": {
            "title": "Scrape company overview",
            "type": "boolean",
            "description": "Emit one company record per employer: overall rating, all six sub-ratings, CEO approval %, recommend-to-friend %, business-outlook %, the full 1-5 star rating distribution and the review counts. On runs with employer leads it also carries the website, headquarters, size and industry from the company’s Overview page, when Glassdoor answers it.",
            "default": true
          },
          "includeReviews": {
            "title": "Scrape reviews",
            "type": "boolean",
            "description": "Employee reviews with the overall rating, every sub-rating (work-life balance, culture & values, comp & benefits, career, senior leadership, diversity), recommend / CEO-approval / outlook verdicts, pros, cons, advice to management, job title, location, employment status, tenure, helpful counts, and the employer's official replies.",
            "default": true
          },
          "includeInterviews": {
            "title": "Scrape interviews",
            "type": "boolean",
            "description": "Interview experiences: difficulty, overall experience, outcome, how the interview was obtained and the full process description. Interview questions are included only when Glassdoor shows them, which it does for very few interviews today.",
            "default": false
          },
          "outputEmployerLeads": {
            "title": "Output employer leads",
            "type": "boolean",
            "description": "Emit one deduplicated employer-lead record per company - firmographics (website, size, industry, HQ), reputation (rating, recommend %, CEO approval), and a 0–100 lead score. Ideal for HR-tech, recruiting, employer-branding and comp-benchmarking prospecting.",
            "default": false
          },
          "enrichLeadEmails": {
            "title": "Enrich leads with website contacts",
            "type": "boolean",
            "description": "For each employer lead, crawl the company's own website (home + contact/about pages) for public contact emails, phone numbers and social links. Glassdoor never exposes emails - this is the only way to get them.",
            "default": false
          },
          "maxReviews": {
            "title": "Max reviews per company",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum reviews to scrape per company (0 = all available). Large employers have tens of thousands of reviews, and every page is fetched through an unblocking proxy, so a very large pull needs a longer run timeout.",
            "default": 100
          },
          "maxInterviews": {
            "title": "Max interviews per company",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum interview experiences per company (0 = up to 100).",
            "default": 0
          },
          "reviewsPageSize": {
            "title": "Reviews page size",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many reviews/interviews to request per API page (1–50). Larger pages mean fewer requests.",
            "default": 20
          },
          "reviewsSort": {
            "title": "Sort reviews by",
            "enum": [
              "recent",
              "helpful"
            ],
            "type": "string",
            "description": "Order in which reviews are collected. \"Most recent\" is best for monitoring; \"Most helpful\" surfaces the most-read reviews first.",
            "default": "recent"
          },
          "reviewLanguage": {
            "title": "Reviews language (ISO-3)",
            "type": "string",
            "description": "3-letter language filter for reviews, e.g. <code>eng</code>, <code>fra</code>, <code>deu</code>, <code>spa</code>. Use <code>all</code> for every language.",
            "default": "eng"
          },
          "employmentStatus": {
            "title": "Employee status filter",
            "enum": [
              "all",
              "current",
              "former"
            ],
            "type": "string",
            "description": "Limit reviews to current or former employees, or include both.",
            "default": "all"
          },
          "reviewsStartDate": {
            "title": "Only reviews on/after date",
            "type": "string",
            "description": "Only keep reviews published on or after this date (YYYY-MM-DD). Combined with \"Most recent first\", the actor stops paging once it reaches older reviews - ideal for incremental pulls."
          },
          "monitorMode": {
            "title": "Monitor mode - only new items",
            "type": "boolean",
            "description": "Remember reviews and interviews already seen in previous runs (stored in a named key-value store) and emit only items that are new since last time. Pair it with an Apify Schedule for an always-fresh feed - the Schedule decides WHEN to run, monitor mode decides WHICH items are new. They do not conflict.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Optional. Names the key-value store used to remember seen items in monitor mode. Use distinct keys to keep separate monitors apart. Defaults to <code>default</code>.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many companies to process in parallel.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Used only for the optional website-contact crawl (enrichLeadEmails): each company page is asked from the run’s own connection first and through this proxy only when it refuses. Glassdoor itself is always read through an unblocking proxy the actor manages, so this setting does not affect it.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "urlsFromFile": {
            "title": "Import URLs from a file",
            "type": "string",
            "description": "Paste a list of URLs (one per line), OR one link to a .txt/.csv file, Google Sheet or Google Drive file containing them. Lets you import many Start URLs at once instead of typing each. Google Sheet/Drive share links are handled automatically."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}