Salary benchmark API

Advertised-salary percentiles for an occupation or a job title, computed live from deduplicated job postings.

POST https://api.jobspipe.dev/v1/insights/salary/benchmark

The salary benchmark answers "what does this role pay?" from job postings that state pay: percentiles of advertised salary for an occupation code or a title match, optionally narrowed by country and seniority. Numbers are computed from deduplicated postings at request time. Occupations use ISCO-08 codes. Requires authentication. Each call that returns percentiles costs 3 credits. A suppressed or empty answer, or an error, costs nothing.

Looking for occupation, industry, skill-trend or AI-exposure breakdowns? That labour-market data is available on request - book a demo and we'll walk you through it.

Request body

FieldTypeDescription
occupation_codestringISCO-08 code: 4 digits exact (2512), or 1-3 digits to roll up a whole group (25).
titlestringTitle match, e.g. data engineer (2-120 characters). See Title matching.
countrystringISO 3166-1 alpha-2 country, e.g. US (lowercase is accepted).
senioritystringentry_level, mid_level, senior, director or executive: the values a job's seniority reports. See Seniority values.
window_daysintegerLook-back window over posting dates. Default 90, max 365.

Send occupation_code or title (at least one).

Title matching

  • A title of 4 or fewer characters (cto, swe, rn) matches only as a whole word in the posting title, so rn does not match "intern".
  • A longer title matches anywhere in the posting title, ignoring case.
  • There are no wildcards: % and _ match themselves.

Country and currency

When country is set and that country does not use the US dollar, postings that state pay in USD are left out. Those are mostly remote roles paid in dollars and US postings with a wrong location, and they pulled local pay up.

Seniority values

Pass a job's seniority as it is returned by job search. The older names are still accepted and mean the same levels, so existing requests keep working.

PreferredOlder name, still accepted
entry_levelentry
mid_levelmid
seniorsenior
directorlead
executiveexec

director and lead are one level: it covers directors as well as lead, staff and principal roles, as on a job's seniority. Any other value is answered 400 with the accepted values listed. The response does not repeat the seniority you sent.

Sample sizes and suppression

Each employer's pay range counts once: postings from one employer with the same pay are one data point. count is the number of distinct employer pay ranges, not the number of postings.

  • A benchmark under 30 pay ranges returns suppressed: true with percentiles: null.
  • Every response carries a confidence tier: low (30-99 pay ranges), medium (100-999), high (1000+), alongside the exact count.

Example

curl -X POST "https://api.jobspipe.dev/v1/insights/salary/benchmark" \
  -H "Authorization: Bearer jp_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"title": "data engineer", "country": "US", "seniority": "senior"}'
200 OK
{
  "occupation_code": null,
  "occupation_label": null,
  "window_days": 90,
  "country": "US",
  "count": 1874,
  "currency": "USD",
  "percentiles": { "p10": 128000, "p25": 150000, "p50": 172500, "p75": 198000, "p90": 225000 },
  "confidence": "high",
  "suppressed": false
}

Salary figures are advertised pay from postings that state it, annualized. currency is always USD: pay stated in another currency is converted to US dollars. They measure what employers offer publicly, which differs from survey-based earnings statistics.

Status codes

StatusMeaning
200Success (possibly suppressed: true)
400Invalid body (for example, neither occupation_code nor title)
401Missing or invalid API key
402Out of credits
429Per-second rate limit exceeded

See errors for handling guidance. The endpoint is also in the API Explorer.

On this page