{
  "openapi": "3.0.1",
  "info": {
    "title": "Glassdoor Scraper — Reviews, Salaries, Jobs & Interviews",
    "description": "Scrape Glassdoor at scale: company search, overview, reviews, salaries, interviews, jobs & salary estimates. 9 operations, one clean JSON dataset. Built for HR-tech, employer branding, recruiting intel and compensation benchmarking. The complete employer-intelligence bundle.",
    "version": "1.0",
    "x-build-id": "EG0fzVKApZb7bUjUf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~glassdoor-data-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-glassdoor-data-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/sian.agency~glassdoor-data-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-glassdoor-data-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/sian.agency~glassdoor-data-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-glassdoor-data-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",
        "required": [
          "operation"
        ],
        "properties": {
          "operation": {
            "title": "🎯 Operation — what do you want to scrape?",
            "enum": [
              "companySearch",
              "companyOverview",
              "companyReviews",
              "companyJobs",
              "companySalaries",
              "companySalariesV2",
              "companyInterviews",
              "jobSearch",
              "salaryEstimation"
            ],
            "type": "string",
            "description": "🎯 **PICK ONE OPERATION PER RUN.** Each run produces one clean dataset matching the chosen mode.\n\n- **🔎 Company Search** — find employers by name/keyword (returns the `companyId` you need for the others)\n- **🏢 Company Overview** — full company profile: ratings, sub-ratings, CEO, size, HQ, competitors\n- **⭐ Company Reviews** — paginated employee reviews (pros, cons, rating, employment status)\n- **💼 Company Jobs** — jobs posted by a specific company (~40/page)\n- **💵 Company Salaries (role lookup)** — targeted comp for ONE role at a company (base / bonus / additional pay)\n- **📊 Company Salaries (bulk)** — paginated comp across ALL roles at a company (base / cash bonus / stock bonus)\n- **🗣️ Company Interviews** — interview questions, difficulty, outcome and process\n- **🔍 Job Search** — search jobs across Glassdoor by query + location\n- **📈 Salary Estimation** — salary estimate for a role + location (no company needed)\n\n💡 **TIP:** Run **Company Search** first to discover a `companyId`, then drill into Overview, Reviews, Salaries, Jobs, and Interviews per company.",
            "default": "companySearch"
          },
          "query": {
            "title": "🔎 Search Query",
            "type": "string",
            "description": "🔎 **Required for `Company Search` and `Job Search`.**\n\n- For **Company Search**: an employer name or keyword (e.g. `apple`, `goldman sachs`, `stripe`).\n- For **Job Search**: a job query (e.g. `software engineer`, `product manager`).\n\n⚠️ **Ignored** for the company-detail operations."
          },
          "companyId": {
            "title": "🏢 Company ID",
            "type": "string",
            "description": "🏢 **Required for Overview, Reviews, Jobs, Salaries (both), and Interviews.**\n\nThe Glassdoor company (employer) ID — a number like `1138` (Apple).\n\n💡 **How to get it:** run **Company Search** first — the `companyId` field is returned for every result. It also appears in Glassdoor overview URLs: `.../Overview/Working-at-Apple-EI_IE1138...` → `1138`.\n\n⚠️ **Ignored** for Company Search, Job Search, and Salary Estimation."
          },
          "jobTitle": {
            "title": "💵 Job Title",
            "type": "string",
            "description": "💵 **Required for `Company Salaries (role lookup)` and `Salary Estimation`.** Optional for `Company Salaries (bulk)` and `Company Interviews` to filter by role.\n\nA job title to look up compensation for (e.g. `Software Engineer`, `Product Manager`, `Data Scientist`).\n\n⚠️ Ignored for Search, Overview, Reviews, and Company Jobs."
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "📍 **Required for `Job Search` and `Salary Estimation`.** Optional for Company Jobs / Salaries / Interviews to localize results.\n\nA free-form location (e.g. `New York`, `San Francisco, CA`, `London`). Pair with **Location Type** below to scope to city / state / country.\n\n⚠️ Ignored for Company Search and Overview."
          },
          "locationType": {
            "title": "🌐 Location Type",
            "enum": [
              "ANY",
              "CITY",
              "STATE",
              "COUNTRY"
            ],
            "type": "string",
            "description": "How to interpret the **Location** value. `ANY` (default), `CITY`, `STATE`, or `COUNTRY`. Applies to Job Search, Salary Estimation, and the optional location filters on Company Jobs / Salaries / Interviews.",
            "default": "ANY"
          },
          "domain": {
            "title": "🌍 Glassdoor Domain",
            "enum": [
              "www.glassdoor.com",
              "www.glassdoor.co.uk",
              "www.glassdoor.ca",
              "www.glassdoor.com.au",
              "www.glassdoor.de",
              "www.glassdoor.fr",
              "www.glassdoor.es",
              "www.glassdoor.it",
              "www.glassdoor.nl",
              "www.glassdoor.ie",
              "www.glassdoor.co.in",
              "www.glassdoor.com.br",
              "www.glassdoor.com.mx",
              "www.glassdoor.sg"
            ],
            "type": "string",
            "description": "🌍 Which Glassdoor regional site to query. Defaults to `www.glassdoor.com` (US). Localizes employer data, salaries, and jobs.",
            "default": "www.glassdoor.com"
          },
          "limit": {
            "title": "🔢 Results limit (Company / Job Search)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Optional. Number of results to return for `Company Search` (1–100, default 10) and per-call for `Job Search` (default 10). Ignored for other operations.",
            "default": 10
          },
          "reviewSort": {
            "title": "↕️ Review Sort Order",
            "enum": [
              "POPULAR",
              "MOST_RECENT",
              "HIGHEST_RATING",
              "LOWEST_RATING"
            ],
            "type": "string",
            "description": "Sort order for `Company Reviews`. `POPULAR` (default), `MOST_RECENT`, `HIGHEST_RATING`, `LOWEST_RATING`. Ignored for other operations.",
            "default": "POPULAR"
          },
          "reviewLanguage": {
            "title": "🗣️ Review Language",
            "enum": [
              "en",
              "fr",
              "nl",
              "de",
              "pt",
              "es",
              "it"
            ],
            "type": "string",
            "description": "Optional. For `Company Reviews` — restrict reviews to a language. Default `en`.",
            "default": "en"
          },
          "employmentStatuses": {
            "title": "👔 Employment Status (Reviews)",
            "enum": [
              "",
              "REGULAR",
              "INTERN",
              "PART_TIME",
              "CONTRACT",
              "FREELANCE"
            ],
            "type": "string",
            "description": "Optional. For `Company Reviews` — filter by reviewer's employment status. `REGULAR`, `INTERN`, `PART_TIME`, `CONTRACT`, or `FREELANCE`. Leave blank for all.",
            "default": ""
          },
          "onlyCurrentEmployees": {
            "title": "✅ Only Current Employees (Reviews)",
            "type": "boolean",
            "description": "Optional. For `Company Reviews` — only return reviews from current employees.",
            "default": false
          },
          "extendedRatingData": {
            "title": "📊 Extended Rating Data (Reviews)",
            "type": "boolean",
            "description": "Optional. For `Company Reviews` — include extended rating breakdown data in the response.",
            "default": false
          },
          "jobSort": {
            "title": "↕️ Company-Jobs Sort Order",
            "enum": [
              "MOST_RELEVANT",
              "MOST_RECENT"
            ],
            "type": "string",
            "description": "Sort order for `Company Jobs`. `MOST_RELEVANT` (default) or `MOST_RECENT`. Ignored for other operations.",
            "default": "MOST_RELEVANT"
          },
          "jobFunction": {
            "title": "🧩 Job Function Filter",
            "enum": [
              "ANY",
              "ADMINISTRATIVE",
              "ARTS_AND_DESIGN",
              "BUSINESS",
              "CONSULTING",
              "CUSTOMER_SERVICES_AND_SUPPORT",
              "EDUCATION",
              "ENGINEERING",
              "FINANCE_AND_ACCOUNTING",
              "HEALTHCARE",
              "HUMAN_RESOURCES",
              "INFORMATION_TECHNOLOGY",
              "LEGAL",
              "MARKETING",
              "MILITARY_AND_PROTECTIVE_SERVICES",
              "OPERATIONS",
              "PRODUCT_AND_PROJECT_MANAGEMENT",
              "RESEARCH_AND_SCIENCE",
              "RETAIL_AND_FOOD_SERVICES",
              "SALES",
              "SKILLED_LABOR_AND_MANUFACTURING",
              "TRANSPORTATION"
            ],
            "type": "string",
            "description": "Optional. For `Company Jobs` and `Company Interviews` — filter by job function (e.g. `ENGINEERING`, `BUSINESS`, `CONSULTING`). Default `ANY`.",
            "default": "ANY"
          },
          "maxAgeDays": {
            "title": "📅 Max Job Age (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. For `Company Jobs` — only return jobs posted within this many days. `0` = no limit (default).",
            "default": 0
          },
          "salarySort": {
            "title": "↕️ Salaries (bulk) Sort Order",
            "enum": [
              "MOST_SALARIES",
              "HIGH_TO_LOW",
              "MOST_RECENT"
            ],
            "type": "string",
            "description": "Sort order for `Company Salaries (bulk)`. `MOST_SALARIES` (default), `HIGH_TO_LOW`, `MOST_RECENT`. Ignored for other operations.",
            "default": "MOST_SALARIES"
          },
          "yearsOfExperience": {
            "title": "📈 Years of Experience",
            "enum": [
              "ALL",
              "LESS_THAN_ONE",
              "ONE_TO_THREE",
              "FOUR_TO_SIX",
              "SEVEN_TO_NINE",
              "TEN_TO_FOURTEEN",
              "ABOVE_FIFTEEN"
            ],
            "type": "string",
            "description": "Optional. For `Company Salaries (role lookup)` and `Salary Estimation` — scope the estimate by experience band. Default `ALL`.",
            "default": "ALL"
          },
          "interviewSort": {
            "title": "↕️ Interview Sort Order",
            "enum": [
              "POPULAR",
              "MOST_RECENT",
              "OLDEST",
              "EASIEST",
              "MOST_DIFFICULT"
            ],
            "type": "string",
            "description": "Sort order for `Company Interviews`. `POPULAR` (default), `MOST_RECENT`, `OLDEST`, `EASIEST`, `MOST_DIFFICULT`. Ignored for other operations.",
            "default": "POPULAR"
          },
          "pageSize": {
            "title": "🔢 Interviews per page",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Optional. For `Company Interviews` — number of interviews per page (default 10).",
            "default": 10
          },
          "receivedOfferOnly": {
            "title": "🎁 Received Offer Only (Interviews)",
            "type": "boolean",
            "description": "Optional. For `Company Interviews` — only return interviews where the candidate received an offer.",
            "default": false
          },
          "easyApplyOnly": {
            "title": "⚡ Easy Apply Only (Job Search)",
            "type": "boolean",
            "description": "Optional. For `Job Search` — only return jobs with Easy Apply enabled.",
            "default": false
          },
          "remoteOnly": {
            "title": "🏠 Remote Only (Job Search)",
            "type": "boolean",
            "description": "Optional. For `Job Search` — only return remote jobs.",
            "default": false
          },
          "minCompanyRating": {
            "title": "⭐ Min Company Rating (Job Search)",
            "type": "string",
            "description": "Optional. For `Job Search` — only return jobs from companies with at least this Glassdoor rating (e.g. `4`). Leave blank for no filter.",
            "default": ""
          },
          "reviewQuery": {
            "title": "🔍 Keyword filter (Reviews)",
            "type": "string",
            "description": "Optional. For `Company Reviews` — keyword to filter review text. Leave blank for no filter.",
            "default": ""
          },
          "maxPages": {
            "title": "📄 Max pages to fetch",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "📄 **Applies to paginated operations** (Reviews, Company Jobs, Salaries bulk, Interviews, Job Search). Ignored for single-record operations (Company Search, Overview, Salaries role lookup, Salary Estimation).\n\n- Reviews / Salaries (bulk) / Interviews: ~10 rows per page\n- Company Jobs: ~40 jobs per page\n- Job Search: ~10 jobs per page (cursor-paginated)\n\n💡 **TIP:** Start small (1–3 pages) to preview before scaling. Pagination stops automatically at the last page.\n\n⚠️ Hard cap: 50 pages to prevent runaway runs.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}