Documentation / Occupations

The spread of pay | Salary Data API

The spread of pay

An occupation's pay from the 10th to the 90th percentile, where the country publishes them.

GEThttps://api.salarydataapi.com/v1/occupations/{id}/distribution

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/occupations/{id}/distribution" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
ididrequired The id (oc_...)
countrycountryrequired Two-letter country code
perstringPay per. Default year.
hourweekmonthyear

Returns

One item in data, with these fields.

FieldTypeWhat it holds
periodperiodThe period
currencystringCurrency
perstringPay per
p10number10th percentile
p25number25th percentile
mediannumberMedian
p75number75th percentile
p90number90th percentile
meannumberMean

Example answer

Run it with your key for a real answer.

Errors