Get mean and median salary
GET
/api/v1.1/{country_code}/reports/salary/Returns the mean and median advertised salary for postings matching the given criteria and time period. 10th, 25th, 75th and 90th percentile figures are also provided.
Additionally, the nationwide mean and median advertised salary for all postings nationwide in the given time period is returned for comparison purposes.
The number of postings on which the returned data has been based is also returned.
:::info
This endpoint allows querying by one primary facet type (location, occupation, skill, industry, employer) only. Multiple values of the same facet may be provided, in which case, they will be aggregated.
For more complex queries over multiple facets, see Perform complex boolean queries
:::
Request
A two character code that specifies which country dataset to query.
A unique ID specifying an occupation sector/category.
The end date of the desired time period for the query. Must be specified in ISO8601 format (YYYY-MM-DD).
A unique ID specifying an industry.
A unique ID specifying a location/statistical area.
A unique ID specifying an occupation (job title). If specified, an occupation_taxonomy_id must also be provided.
A unique ID specifying an occupation taxonomy. Required when specifying an occupation_id.
A unique ID specifying a skill.
A unique ID specifying a skill tag (pre-defined group of skills).
The start date of the desired time period for the query. Must be specified in ISO8601 format (YYYY-MM-DD).
Request samples
Responses
The number of postings on which the salary figures given are based.
The mean advertised salary figure found in postings matching the criteria.
The median advertised salary figure found in postings matching the criteria.
The overall national mean advertised salary in the selected time period.
The overall national median advertised salary in the selected time period.
The 10th percentile advertised salary figure found in postings matching the criteria.
The 25th percentile advertised salary figure found in postings matching the criteria.
The 75th percentile advertised salary figure found in postings matching the criteria.
The 90th percentile advertised salary figure found in postings matching the criteria.
{
"sample_size": 4542,
"mean_salary": 33791,
"median_salary": 23621,
"national_mean_salary": 38312,
"national_median_salary": 33398,
"percentile_10": 20687,
"percentile_25": 21663,
"percentile_75": 27720,
"percentile_90": 51574
}