Documentation / Pay breakdowns

Pay by age | Salary Data API

Pay by age
Starter and aboveA list, paged

Pay in each age band of a country, youngest first.

GEThttps://api.salarydataapi.com/v1/pay/by-age

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/pay/by-age" \
  -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.
sexstringSex. Default all.
allfemalemale
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
agestringThe age band
periodperiodThe period
valuenumberThe figure
currencystringCurrency
seriesidThe series

Example answer

Run it with your key for a real answer.

Errors