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

# /glassdoor/salaries/search

> Get Glassdoor (glassdoor.com) role-level salary estimates by job title: the overall pay distribution (base, additional and total pay percentiles) and the top-paying companies for that role with their own pay ranges.

**Price:** 10 credits per 20 results

**⚠️ Common errors:** 412: No salary data found for this role



## OpenAPI

````yaml /openapi/jobs.json post /api/glassdoor/salaries/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/glassdoor/salaries/search:
    post:
      tags:
        - /glassdoor
      summary: /glassdoor/salaries/search
      description: >-
        Get Glassdoor (glassdoor.com) role-level salary estimates by job title:
        the overall pay distribution (base, additional and total pay
        percentiles) and the top-paying companies for that role with their own
        pay ranges.


        **Price:** 10 credits per 20 results


        **⚠️ Common errors:** 412: No salary data found for this role
      operationId: __api_glassdoor_salaries_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GlassdoorSalariesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GlassdoorRoleSalaryReport'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GlassdoorSalariesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        role:
          type: string
          minLength: 1
        country:
          $ref: '#/components/schemas/GlassdoorCountry'
          default: us
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - role
        - count
    GlassdoorRoleSalaryReport:
      properties:
        '@type':
          type: string
          default: GlassdoorRoleSalaryReport
        role:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorRoleSalary'
            - type: 'null'
        top_paying_companies:
          items:
            $ref: '#/components/schemas/GlassdoorCompanySalary'
          type: array
          default: []
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    GlassdoorCountry:
      type: string
      enum:
        - us
        - gb
        - ca
        - de
    GlassdoorRoleSalary:
      properties:
        '@type':
          type: string
          default: GlassdoorRoleSalary
        job_title:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        salary_count:
          anyOf:
            - type: integer
            - type: 'null'
        total_pay:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorPayPercentiles'
            - type: 'null'
        base_pay:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorPayPercentiles'
            - type: 'null'
        additional_pay:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorPayPercentiles'
            - type: 'null'
      type: object
    GlassdoorCompanySalary:
      properties:
        '@type':
          type: string
          default: GlassdoorCompanySalary
        employer_id:
          anyOf:
            - type: string
            - type: 'null'
        employer_name:
          anyOf:
            - type: string
            - type: 'null'
        employer_rating:
          anyOf:
            - type: number
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        job_title:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        pay_period:
          anyOf:
            - type: string
            - type: 'null'
        salary_count:
          anyOf:
            - type: integer
            - type: 'null'
        total_pay:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorPayPercentiles'
            - type: 'null'
        base_pay:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorPayPercentiles'
            - type: 'null'
        additional_pay:
          anyOf:
            - $ref: '#/components/schemas/GlassdoorPayPercentiles'
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    GlassdoorPayPercentiles:
      properties:
        '@type':
          type: string
          default: GlassdoorPayPercentiles
        p10:
          anyOf:
            - type: number
            - type: 'null'
        p25:
          anyOf:
            - type: number
            - type: 'null'
        p50:
          anyOf:
            - type: number
            - type: 'null'
        p75:
          anyOf:
            - type: number
            - type: 'null'
        p90:
          anyOf:
            - type: number
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````