> ## 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.

# /salarycom/salaries

> Get Salary.com (salary.com) salary data for a job title: national pay percentiles, hourly rate, total compensation, salary by state and top-paying cities, by-skill and by-education pay, career-level progression, historical medians and related jobs.

**Price:** 10 credits

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



## OpenAPI

````yaml /openapi/jobs.json post /api/salarycom/salaries
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/salarycom/salaries:
    post:
      tags:
        - /salarycom
      summary: /salarycom/salaries
      description: >-
        Get Salary.com (salary.com) salary data for a job title: national pay
        percentiles, hourly rate, total compensation, salary by state and
        top-paying cities, by-skill and by-education pay, career-level
        progression, historical medians and related jobs.


        **Price:** 10 credits


        **⚠️ Common errors:** 412: No salary data found for this job
      operationId: __api_salarycom_salaries_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalarycomSalariesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SalarycomSalary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SalarycomSalariesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        job:
          type: string
          minLength: 1
        path_type:
          $ref: '#/components/schemas/SalarycomPathType'
          default: benchmark
        country:
          $ref: '#/components/schemas/SalarycomCountry'
          default: us
      type: object
      required:
        - job
    SalarycomSalary:
      properties:
        '@type':
          type: string
          default: SalarycomSalary
        job_title:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        education_required:
          anyOf:
            - type: string
            - type: 'null'
        experience_months:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        base_pay:
          anyOf:
            - $ref: '#/components/schemas/SalarycomPercentiles'
            - type: 'null'
        total_compensation_median:
          anyOf:
            - type: number
            - type: 'null'
        hourly_median:
          anyOf:
            - type: number
            - type: 'null'
        skills:
          items:
            $ref: '#/components/schemas/SalarycomSkill'
          type: array
          default: []
        skill_salaries:
          items:
            $ref: '#/components/schemas/SalarycomSkillSalary'
          type: array
          default: []
        education_salaries:
          items:
            $ref: '#/components/schemas/SalarycomEducationSalary'
          type: array
          default: []
        career_levels:
          items:
            $ref: '#/components/schemas/SalarycomCareerLevel'
          type: array
          default: []
        salary_by_state:
          items:
            $ref: '#/components/schemas/SalarycomLocationSalary'
          type: array
          default: []
        top_paying_cities:
          items:
            $ref: '#/components/schemas/SalarycomLocationSalary'
          type: array
          default: []
        historical_salaries:
          items:
            $ref: '#/components/schemas/SalarycomYearSalary'
          type: array
          default: []
        related_jobs:
          items:
            $ref: '#/components/schemas/SalarycomRelatedJob'
          type: array
          default: []
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SalarycomPathType:
      type: string
      enum:
        - benchmark
        - general
    SalarycomCountry:
      type: string
      enum:
        - us
    SalarycomPercentiles:
      properties:
        '@type':
          type: string
          default: SalarycomPercentiles
        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
    SalarycomSkill:
      properties:
        '@type':
          type: string
          default: SalarycomSkill
        name:
          anyOf:
            - type: string
            - type: 'null'
        posting_frequency:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    SalarycomSkillSalary:
      properties:
        '@type':
          type: string
          default: SalarycomSkillSalary
        name:
          anyOf:
            - type: string
            - type: 'null'
        median:
          anyOf:
            - type: number
            - type: 'null'
        increase_percent:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    SalarycomEducationSalary:
      properties:
        '@type':
          type: string
          default: SalarycomEducationSalary
        name:
          anyOf:
            - type: string
            - type: 'null'
        median:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    SalarycomCareerLevel:
      properties:
        '@type':
          type: string
          default: SalarycomCareerLevel
        median:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    SalarycomLocationSalary:
      properties:
        '@type':
          type: string
          default: SalarycomLocationSalary
        name:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        median:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    SalarycomYearSalary:
      properties:
        '@type':
          type: string
          default: SalarycomYearSalary
        year:
          anyOf:
            - type: integer
            - type: 'null'
        median:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    SalarycomRelatedJob:
      properties:
        '@type':
          type: string
          default: SalarycomRelatedJob
        alias:
          anyOf:
            - type: string
            - type: 'null'
        median:
          anyOf:
            - type: number
            - 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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````