Skip to main content
POST
/
api
/
glassdoor
/
salaries
/
search
/glassdoor/salaries/search
curl --request POST \
  --url https://api.anysite.io/api/glassdoor/salaries/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "role": "<string>",
  "count": 2,
  "timeout": 300,
  "country": "us"
}
'
[
  {
    "@type": "@glassdoor_role_salary_report",
    "role": {
      "@type": "@glassdoor_role_salary",
      "job_title": "<string>",
      "currency": "<string>",
      "salary_count": 123,
      "total_pay": {
        "@type": "@glassdoor_pay_percentiles",
        "p10": 123,
        "p25": 123,
        "p50": 123,
        "p75": 123,
        "p90": 123
      },
      "base_pay": {
        "@type": "@glassdoor_pay_percentiles",
        "p10": 123,
        "p25": 123,
        "p50": 123,
        "p75": 123,
        "p90": 123
      },
      "additional_pay": {
        "@type": "@glassdoor_pay_percentiles",
        "p10": 123,
        "p25": 123,
        "p50": 123,
        "p75": 123,
        "p90": 123
      }
    },
    "top_paying_companies": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
role
string
required

Job title / role to look up salaries for

Minimum string length: 1
Example:

"software engineer"

count
integer
required

Max number of top-paying companies to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
country
enum<string>
default:us

Country edition

Available options:
us,
gb,
ca,
de

Response

Successful Response

@type
string
default:@glassdoor_role_salary_report
role
GlassdoorRoleSalary · object
top_paying_companies
GlassdoorCompanySalary · object[]