Documentation / Analysis

Occupations against all | Salary Data API

Occupations against all
Analyst and aboveA list, paged

Every occupation's pay in a country against the same table's pay for every occupation: an index where 100 is the same, best paid first.

GEThttps://api.salarydataapi.com/v1/pay/occupation-premium?country=dk

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/pay/occupation-premium?country=dk" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
countrycountryrequired Two-letter country code
seriesstringThe figure wanted, as pay.<statistic>.<period>: pay.median.monthly, pay.mean.yearly, pay.median.hourly, pay.p90.yearly.... Default pay.median.monthly.
pageintegerThe page, from 1. Default 1.
per_pageintegerItems a page, at most 200. Default 50.
cursorstringFrom next_cursor in the last answer; page wins when both are sent

Returns

A list in data, each item with these fields, and the paging in meta.

FieldTypeWhat it holds
occupationidThe occupation
namestringIts name
valuenumberIts figure
all_occupationsnumberEvery occupation's figure in the same table
indexnumberIts figure against every occupation's, 100 being the same
premium_pctnumberHow much more (or less) it is paid, in per cent
seriesidIts series

Example answer

A real answer from today's figures, the first three items, with an Analyst key.

200GET /v1/pay/occupation-premium?country=dk
{
    "data": [
        {
            "occupation": "oc_ngywh81j",
            "name": "Mining managers",
            "value": 911.39,
            "all_occupations": 361.68,
            "index": 252,
            "premium_pct": 152,
            "series": "se_qbvrct6e"
        },
        {
            "occupation": "oc_bhnq299g",
            "name": "Senior government officials",
            "value": 876.61,
            "all_occupations": 361.68,
            "index": 242.4,
            "premium_pct": 142.4,
            "series": "se_r5pt3rx8"
        },
        {
            "occupation": "oc_t3f7s1p8",
            "name": "Specialist medical practitioners",
            "value": 811.78,
            "all_occupations": 361.68,
            "index": 224.4,
            "premium_pct": 124.4,
            "series": "se_rmnn014y"
        }
    ],
    "meta": {
        "count": 3,
        "next_cursor": "YzM",
        "page": 1,
        "per_page": 3,
        "total": 520,
        "total_pages": 174,
        "next_page": 2,
        "prev_page": null,
        "name": "pay.median.hourly",
        "period": "2025",
        "currency": "DKK",
        "hours": "all",
        "table": "tb_8bkfw0rf",
        "all_occupations_series": "se_gp5t2z7h",
        "method": "index is the occupation's figure against the same table's figure for every occupation, 100 being the same.",
        "series": "The figure Denmark publishes by occupation beside its total: pay.median.hourly. Ask with series= for another.",
        "plan": "analyst"
    }
}

Errors