Documentation / Analysis

The spread of pay | Salary Data API

The spread of pay
Analyst and aboveA list, paged

How unequal pay is, period by period: P90/P10, P90/P50, P50/P10 and P75/P25 from the 10th to the 90th percentile, for a country or one occupation.

GEThttps://api.salarydataapi.com/v1/pay/spread?country=gb

Try it

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

Parameters

NameTypeWhat it is
countrycountryrequired Two-letter country code
occupationidAn occupation (oc_...) or its slug; everyone when left out
perstringA pay period; the one published most recently when left out
hourweekmonthyear
fromperiodThe first period wanted (2019, 2019-Q1 or 2019-01)
toperiodThe last period wanted
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
periodperiodThe period
p10number10th percentile
p25number25th percentile, where published
mediannumberMedian
p75number75th percentile, where published
p90number90th percentile
p90_p10numberP90 to P10
p90_p50numberP90 to the median
p50_p10numberThe median to P10
p75_p25numberP75 to P25, where both are published

Example answer

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

200GET /v1/pay/spread?country=gb
{
    "data": [
        {
            "period": "2026",
            "p10": 12000,
            "p25": 22931.9,
            "median": 34229.1,
            "p75": 50456.9,
            "p90": 73791.2,
            "p90_p10": 6.149,
            "p90_p50": 2.156,
            "p50_p10": 2.852,
            "p75_p25": 2.2
        }
    ],
    "meta": {
        "count": 1,
        "next_cursor": null,
        "page": 1,
        "per_page": 3,
        "total": 1,
        "total_pages": 1,
        "next_page": null,
        "prev_page": null,
        "currency": "GBP",
        "per": "year",
        "net": false,
        "hours": "all",
        "occupation": null,
        "table": "tb_7thsrvkq",
        "plan": "analyst"
    }
}

Errors