> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Glassdoor company salaries

> Returns a company's salary data by job title as JSON: `basePay` and `totalPay` percentiles (P10, P25, P50, P75, P90), `currency`, `salaryCount` and `mostRecent`, plus company meta (rating, industry, size) and `numPages`. Give `company` an employer id (e.g. 9079), a Glassdoor company URL, or a name; optionally filter with `job_title` and collect up to `max_results` rows across pages.



## OpenAPI

````yaml /api-reference/openapi.json post /salaries/glassdoor
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /salaries/glassdoor:
    post:
      tags:
        - Plugins
      summary: Scrape Glassdoor company salaries
      description: >-
        Returns a company's salary data by job title as JSON: `basePay` and
        `totalPay` percentiles (P10, P25, P50, P75, P90), `currency`,
        `salaryCount` and `mostRecent`, plus company meta (rating, industry,
        size) and `numPages`. Give `company` an employer id (e.g. 9079), a
        Glassdoor company URL, or a name; optionally filter with `job_title` and
        collect up to `max_results` rows across pages.
      operationId: glassdoor_salaries_search_salaries_glassdoor_post
      parameters:
        - name: company
          in: query
          required: true
          schema:
            type: string
            description: >-
              Employer id (e.g. '9079'), a Glassdoor company URL, or a company
              name (name is resolved best-effort).
            title: Company
          description: >-
            Employer id (e.g. '9079'), a Glassdoor company URL, or a company
            name (name is resolved best-effort).
        - name: job_title
          in: query
          required: false
          schema:
            type: string
            description: Filter to job titles containing this text, e.g. 'engineer'.
            title: Job Title
          description: Filter to job titles containing this text, e.g. 'engineer'.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            maximum: 600
            minimum: 1
            description: How many job-title salary rows to collect across pages.
            default: 20
            title: Max Results
          description: How many job-title salary rows to collect across pages.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Exit-IP country (ISO-2). Defaults to a US exit for Glassdoor.
            title: Proxy Country
          description: Exit-IP country (ISO-2). Defaults to a US exit for Glassdoor.
      responses:
        '200':
          description: JSON with a `salaries` array plus company meta and totals.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters or unresolvable company.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: Blocked by Glassdoor or no salary island returned.
        '504':
          description: Fetch timed out.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````