Documentation / Analysis
The spread of pay | Salary Data API
The spread of payAnalyst 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
No key in this browser yet. Get a free key: it is filled in here once made.
Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/pay/spread?country=gb" \ -H "Authorization: Bearer YOUR_KEY"
Parameters
| Name | Type | What it is |
|---|---|---|
| country | country | required Two-letter country code |
| occupation | id | An occupation (oc_...) or its slug; everyone when left out |
| per | string | A pay period; the one published most recently when left out hourweekmonthyear |
| from | period | The first period wanted (2019, 2019-Q1 or 2019-01) |
| to | period | The last period wanted |
| page | integer | The page, from 1. Default 1. |
| per_page | integer | Items a page, at most 200. Default 50. |
| cursor | string | From 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.
| Field | Type | What it holds |
|---|---|---|
| period | period | The period |
| p10 | number | 10th percentile |
| p25 | number | 25th percentile, where published |
| median | number | Median |
| p75 | number | 75th percentile, where published |
| p90 | number | 90th percentile |
| p90_p10 | number | P90 to P10 |
| p90_p50 | number | P90 to the median |
| p50_p10 | number | The median to P10 |
| p75_p25 | number | P75 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"
}
}