{
  "openapi": "3.0.1",
  "info": {
    "title": "Glassdoor Interview & Salary Benchmarks Scraper",
    "description": "Collect Glassdoor interview reports and salary benchmarks for any company: candidate questions, process, difficulty, offer outcome, pay ranges, medians and employer summaries.",
    "version": "1.0",
    "x-build-id": "2QCK7Gkkj3ruoURlJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xyrelith-data~glassdoor-interviews-salaries-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xyrelith-data-glassdoor-interviews-salaries-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/xyrelith-data~glassdoor-interviews-salaries-scraper/runs": {
      "post": {
        "operationId": "runs-sync-xyrelith-data-glassdoor-interviews-salaries-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/xyrelith-data~glassdoor-interviews-salaries-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-xyrelith-data-glassdoor-interviews-salaries-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": [
          "companies"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "interviews",
              "salaries"
            ],
            "type": "string",
            "description": "interviews collects candidate interview reports, questions and process details. salaries collects pay estimates by job title with base, bonus, stock and total-pay percentiles.",
            "default": "interviews"
          },
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "Company names, Glassdoor employer ids, or Glassdoor company URLs. Examples: Google, 9079, https://www.glassdoor.com/Interview/Google-Interview-Questions-E9079.htm.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Glassdoor site",
            "enum": [
              "US",
              "GB",
              "CA",
              "DE",
              "FR",
              "AU",
              "IN",
              "IE",
              "NL",
              "ES",
              "IT",
              "NZ",
              "BR"
            ],
            "type": "string",
            "description": "Country site used for company-name lookup and for salary currency/region. A full company URL overrides this for that company.",
            "default": "US"
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Hard cap on interview or salary records across all companies. Summary and status rows are additional.",
            "default": 100
          },
          "maxPerCompany": {
            "title": "Maximum records per company",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Cap per company. Set to 0 for no per-company cap (the global maximum still applies).",
            "default": 0
          },
          "includeCompanySummary": {
            "title": "Include company summary",
            "type": "boolean",
            "description": "Add one company-level row with totals, distributions and freshness for each company.",
            "default": true
          },
          "jobTitle": {
            "title": "Job title",
            "type": "string",
            "description": "Interview job-title keyword or salary job-title search, such as software engineer or registered nurse. Leave empty for all titles.",
            "default": ""
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, state/region, metro area or country, such as New York, NY, London or Germany. Resolved automatically through Glassdoor's location search.",
            "default": ""
          },
          "interviewSort": {
            "title": "Sort interviews by",
            "enum": [
              "mostRecent",
              "oldest",
              "relevance",
              "mostDifficult",
              "easiest"
            ],
            "type": "string",
            "description": "Order in which Glassdoor returns interview reports.",
            "default": "mostRecent"
          },
          "experience": {
            "title": "Interview experience",
            "enum": [
              "any",
              "positive",
              "neutral",
              "negative"
            ],
            "type": "string",
            "description": "Keep only reports with this candidate sentiment.",
            "default": "any"
          },
          "difficulty": {
            "title": "Interview difficulty",
            "enum": [
              "any",
              "veryEasy",
              "easy",
              "average",
              "difficult",
              "veryDifficult"
            ],
            "type": "string",
            "description": "Keep only reports with this difficulty rating.",
            "default": "any"
          },
          "outcome": {
            "title": "Interview outcome",
            "enum": [
              "any",
              "accepted",
              "declined",
              "noOffer"
            ],
            "type": "string",
            "description": "Keep only reports with this offer outcome.",
            "default": "any"
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Only interview reports posted on or after this date, in YYYY-MM-DD format. Leave empty for all dates.",
            "default": ""
          },
          "salarySort": {
            "title": "Sort salaries by",
            "enum": [
              "popular",
              "highestPay",
              "lowestPay",
              "mostReports",
              "mostRecent"
            ],
            "type": "string",
            "description": "Order in which Glassdoor returns salary rows.",
            "default": "popular"
          },
          "payPeriod": {
            "title": "Pay period",
            "enum": [
              "any",
              "annual",
              "hourly",
              "monthly"
            ],
            "type": "string",
            "description": "Keep only salary rows with this reported period. Glassdoor may return mixed periods, so the actor filters the rows after reading them.",
            "default": "any"
          },
          "jobFamily": {
            "title": "Job family",
            "enum": [
              "any",
              "1001",
              "1002",
              "1003",
              "1004",
              "1005",
              "1006",
              "1007",
              "1008",
              "1009",
              "1010",
              "1011",
              "1012",
              "1013",
              "1014",
              "1015",
              "1016",
              "1017",
              "1018",
              "1019",
              "1020",
              "1021",
              "1022",
              "1023"
            ],
            "type": "string",
            "description": "Restrict salaries to one Glassdoor job family.",
            "default": "any"
          },
          "experienceYears": {
            "title": "Experience band",
            "enum": [
              "any",
              "lessThanOne",
              "oneToThree",
              "fourToSix",
              "sevenToNine",
              "tenToFourteen",
              "aboveFifteen"
            ],
            "type": "string",
            "description": "Return one scoped salary estimate for a job title and this years-of-experience band. Requires a job title.",
            "default": "any"
          },
          "includeJobFamilyBreakdown": {
            "title": "Include job-family breakdown",
            "type": "boolean",
            "description": "Add job-title counts for all 23 Glassdoor job families to the salary company summary. Costs 23 extra requests per company.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}