Documentation / Analysis

Benchmark an amount | Salary Data API

Benchmark an amount

Where an amount of pay sits in a country's spread of pay, or one occupation's: its percentile, between which published points, and against the median.

GEThttps://api.salarydataapi.com/v1/benchmark?country=gb&amount=20&per=hour

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/benchmark?country=gb&amount=20&per=hour" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
countrycountryrequired Two-letter country code
amountnumberrequired The amount of pay, in the country's own currency
perstringThe pay period of the amount. Default month.
hourweekmonthyear
occupationidAn occupation (oc_...) or its slug; everyone when left out

Returns

One item in data, with these fields.

FieldTypeWhat it holds
countrystringTwo-letter country code
occupationidThe occupation, or null for everyone
amountnumberThe amount asked about
currencystringISO 4217 currency
perstringThe pay period
periodperiodThe period of the figures it is set against
percentilenumberIts percentile, read on a line between the published points; null outside them
positionstringWhere it falls: between p75 and p90, at median, below p10, above p90
to_mediannumberThe amount against the median (1 is the same)
mediannumberThe median
pointsarrayThe published points: statistic, value and series
netbooleanTrue when the figures are after tax
hoursstringall, full_time or part_time
tableidThe table they come from

Example answer

A real answer from today's figures, with an Analyst key.

200GET /v1/benchmark?country=se&amount=45960&per=month
{
    "data": {
        "country": "se",
        "occupation": null,
        "amount": 45960,
        "currency": "SEK",
        "per": "month",
        "period": "2025",
        "percentile": 69.7,
        "position": "between median and p75",
        "to_median": 1.2,
        "median": 38300,
        "points": [
            {
                "statistic": "p10",
                "value": 28000,
                "series": "se_76mprdyr"
            },
            {
                "statistic": "p25",
                "value": 32000,
                "series": "se_0etksz0r"
            },
            {
                "statistic": "median",
                "value": 38300,
                "series": "se_7btr3zd9"
            },
            {
                "statistic": "p75",
                "value": 48000,
                "series": "se_93yz19j7"
            },
            {
                "statistic": "p90",
                "value": 61700,
                "series": "se_1nv6xg45"
            }
        ],
        "net": false,
        "hours": "all",
        "table": "tb_mhgvr8et"
    },
    "meta": {
        "method": "The percentile is read on a straight line between the two published points around the amount; outside the published points only the side is given.",
        "currency": "The amount is taken in SEK, the currency of Sweden's figures.",
        "plan": "analyst"
    }
}

Errors