Documentation / Occupations

A role by area | Salary Data API

A role by area
Starter and aboveA list, paged

An occupation's latest pay in each area of one country.

GEThttps://api.salarydataapi.com/v1/occupations/{id}/areas

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/occupations/{id}/areas" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
ididrequired The id (oc_...)
countrycountryrequired Two-letter country code
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
areaidThe area (ar_...)
namestringThe area
periodperiodPeriod
valuenumberThe figure
currencystringCurrency
name_of_figurestringpay.<statistic>.<period>

Example answer

Run it with your key for a real answer.

Errors