100 free credits. No credit card required. Get a key

Salary for a job title in a country API

Salary distribution for a job title in a country: median, percentiles, hourly, by region.

GET /v1/jobs/salaryBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/jobs/salary?query=software%20engineer&country_code=us",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "software engineer",
"country_code": "us",
"title": "software engineer",
"country": "United States of America",
"currency": "USD",
"period": "year",
"based_on": 10000,
"median": 130175,
"low": 101875,
"high": 171020,
"hourly": 65.88,
"percentiles": {
"p10": 78919,
"p25": 101875,
"p50": 130175,
"p75": 151913,
"p90": 194793
},
"by_region": [
{
"region": "California",
"median": 142130,
"hourly": 71.93,
"count": 255871
},
{
"region": "Maryland",
"median": 136677,
"hourly": 69.17,
"count": 39195
},
"… 48 more"
],
"related": [
{
"title": "Software Engineer",
"median": 130175,
"hourly": 65.88,
"count": 10000
},
{
"title": "Software Developer",
"median": 130000,
"hourly": 65.79,
"count": 10000
},
"… 8 more"
],
"source_url": "https://www.talent.com/salary?job=software+engineer"
}

Parameters

NameTypeDescription
queryquery · requiredstringA job title, preferably one from jobs_salary_titles. Example: software engineer.
country_codequery · requiredstringISO 3166-1 alpha-2 country code, e.g. us, gb, de. Example: us.
Response fields

200 with a Salary, in Jobs’s own JSON.

FieldTypeDescription
querystring
country_codestring
titlestringThe job title the figures are for.
countrystring | null
currencystring
period"year"
based_oninteger | nullSalaries the figures are based on.
mediannumber | null
lownumber | nullWhere entry-level positions start (per year).
highnumber | nullWhat most experienced workers make (per year).
hourlynumber | nullThe median per hour.
percentilesobject
by_regionobject[]Median by region (state, province), highest first.
relatedobject[]Related titles and their medians.
source_urlstring
Status codes
StatusMeaning
200The salary figures.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No such board, job posting or salary title.
429Too many requests. Wait for Retry-After seconds.
503Jobs is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Jobs is a trademark of its owner. We are not affiliated with or endorsed by it.