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/benchmarkThe 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
| Field | Type | Description |
|---|---|---|
occupation_code | string | ISCO-08 code: 4 digits exact (2512), or 1-3 digits to roll up a whole group (25). |
title | string | Title match, e.g. data engineer (2-120 characters). See Title matching. |
country | string | ISO 3166-1 alpha-2 country, e.g. US (lowercase is accepted). |
seniority | string | entry_level, mid_level, senior, director or executive: the values a job's seniority reports. See Seniority values. |
window_days | integer | Look-back window over posting dates. Default 90, max 365. |
Send occupation_code or title (at least one).
Title matching
- A
titleof 4 or fewer characters (cto,swe,rn) matches only as a whole word in the posting title, sorndoes not match "intern". - A longer
titlematches 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.
| Preferred | Older name, still accepted |
|---|---|
entry_level | entry |
mid_level | mid |
senior | senior |
director | lead |
executive | exec |
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: truewithpercentiles: null. - Every response carries a
confidencetier:low(30-99 pay ranges),medium(100-999),high(1000+), alongside the exactcount.
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"}'{
"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
| Status | Meaning |
|---|---|
200 | Success (possibly suppressed: true) |
400 | Invalid body (for example, neither occupation_code nor title) |
401 | Missing or invalid API key |
402 | Out of credits |
429 | Per-second rate limit exceeded |
See errors for handling guidance. The endpoint is also in the API Explorer.