{
  "openapi": "3.0.1",
  "info": {
    "title": "Glassdoor Scraper API — Reviews, Salaries, Interviews & Jobs",
    "description": "Scrape Glassdoor from a company name alone: employee reviews with all six sub-ratings, CEO approval and tenure, salary percentiles with bonus share, real interview questions with difficulty and outcome, jobs with pay, and a profile scored against its industry average. No login.",
    "version": "0.1",
    "x-build-id": "uKTSQBEKH1KhpqCW0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trakk~glassdoor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trakk-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/trakk~glassdoor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trakk-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/trakk~glassdoor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trakk-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": {
          "keywords": {
            "title": "🔎 Job search keywords",
            "type": "array",
            "description": "Job titles or keywords to search on Glassdoor, e.g. \"software engineer\", \"nurse\".",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "🏢 Company names",
            "type": "array",
            "description": "Company names, e.g. \"Stripe\", \"Google\". Each name is matched to its Glassdoor employer page, which is what reviews, salaries, interviews and the company profile are read from. A job phrase such as \"software engineer\" matches no employer and is reported instead of guessed. Leave empty and any company name you put in the keywords field is used.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "Optional location for the job search — city, state, or country (e.g. \"New York, NY\")."
          },
          "startUrls": {
            "title": "🔗 Company reviews URLs",
            "type": "array",
            "description": "Glassdoor company reviews URLs, e.g. https://www.glassdoor.com/Reviews/Amazon-Reviews-E6036.htm",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "scrapeReviews": {
            "title": "💬 Scrape reviews from company URLs",
            "type": "boolean",
            "description": "For each company URL, collect employee reviews (ratings, sub-ratings, pros/cons, employer replies).",
            "default": true
          },
          "maxReviewsPerCompany": {
            "title": "Max reviews per company",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on reviews collected per company URL.",
            "default": 100
          },
          "reviewSort": {
            "title": "Review sort",
            "enum": [
              "relevance",
              "recent",
              "lowest"
            ],
            "type": "string",
            "description": "Ordering for collected reviews.",
            "default": "relevance"
          },
          "maxJobsPerSearch": {
            "title": "Max jobs per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on jobs collected per keyword search.",
            "default": 30
          },
          "scrapeSalaries": {
            "title": "💰 Scrape salaries",
            "type": "boolean",
            "description": "For each company URL, collect salary data by job title (base pay percentiles, count).",
            "default": false
          },
          "maxSalariesPerCompany": {
            "title": "Max salaries per company",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on salary rows per company URL.",
            "default": 50
          },
          "scrapeInterviews": {
            "title": "🎤 Scrape interviews",
            "type": "boolean",
            "description": "For each company URL, collect interview experiences (difficulty, outcome, questions).",
            "default": false
          },
          "maxInterviewsPerCompany": {
            "title": "Max interviews per company",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on interview rows per company URL.",
            "default": 50
          },
          "scrapeCompanyProfile": {
            "title": "🏢 Scrape company profile",
            "type": "boolean",
            "description": "For each company URL, add a company profile row (industry, revenue, size, HQ, stock).",
            "default": false
          },
          "sentiment": {
            "title": "🧠 Sentiment analysis",
            "type": "boolean",
            "description": "Add a sentiment score and label to each review.",
            "default": false
          },
          "minReviewRating": {
            "title": "⭐ Minimum review rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews rated at least this (1–5). Drops low-star noise."
          },
          "maxReviewRating": {
            "title": "Maximum review rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews rated at most this (1–5). Use with the minimum to target a band."
          },
          "currentEmployeesOnly": {
            "title": "Current employees only",
            "type": "boolean",
            "description": "Keep only reviews written by current employees, dropping former ones.",
            "default": false
          },
          "minReviewWords": {
            "title": "Minimum review length",
            "minimum": 0,
            "type": "integer",
            "description": "Drop one-word reviews. Keeps reviews with at least this many words in pros/cons/summary."
          },
          "reviewsWithinDays": {
            "title": "Reviews within the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only reviews published within this many days. 0 means any age."
          },
          "minJobSalary": {
            "title": "💵 Minimum job salary",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only jobs whose listed salary is at least this. Jobs without a salary are kept."
          },
          "jobLocationType": {
            "title": "Job location type",
            "enum": [
              "ANY",
              "REMOTE",
              "ONSITE",
              "HYBRID"
            ],
            "type": "string",
            "description": "Keep only jobs of this arrangement.",
            "default": "ANY"
          },
          "jobsWithinDays": {
            "title": "Jobs posted within the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only jobs posted within this many days. 0 means any age."
          },
          "minSalarySamples": {
            "title": "Minimum salary sample size",
            "minimum": 0,
            "type": "integer",
            "description": "Drop salary stats built on a tiny sample. Keeps rows backed by at least this many reports."
          },
          "interviewDifficulty": {
            "title": "Interview difficulty",
            "enum": [
              "ANY",
              "EASY",
              "MEDIUM",
              "HARD"
            ],
            "type": "string",
            "description": "Keep only interviews of this difficulty.",
            "default": "ANY"
          },
          "interviewsWithinDays": {
            "title": "Interviews within the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only interviews reported within this many days. 0 means any age."
          },
          "excludeKeywords": {
            "title": "🚫 Exclude keywords",
            "type": "array",
            "description": "Drop any record whose text contains one of these words (title, summary, pros, cons, description).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "htmlReport": {
            "title": "🖼️ Visual report",
            "type": "boolean",
            "description": "Build a shareable HTML report (jobs board + employer intelligence: ratings, sub-ratings, sentiment, salaries, pros/cons) saved to the key-value store as 'report'.",
            "default": true
          },
          "dedupe": {
            "title": "Remove duplicates",
            "type": "boolean",
            "description": "Save each job/review only once per run.",
            "default": true
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Global cap across jobs + reviews. 0 = unlimited.",
            "default": 200
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Glassdoor requires residential proxies (Cloudflare blocks datacenter). The default is tuned for reliable access.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "maxConcurrency": {
            "title": "Parallel sources",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Sources processed at once.",
            "default": 5
          },
          "maxRetries": {
            "title": "Request retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries for a failed request.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (s)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Maximum time for one request.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}