Documentation / Countries
A country's occupations | Salary Data API
A country's occupationsStarter and aboveA list, paged
The occupations a country publishes pay for, with their latest headline figure.
GEThttps://api.salarydataapi.com/v1/countries/{cc}/occupations
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/countries/{cc}/occupations" \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Type | What it is |
|---|---|---|
| cc | country | required Two-letter country code, such as jp or gb |
| series | string | The figure wanted, as pay.<statistic>.<period>: pay.median.monthly, pay.mean.yearly, pay.median.hourly, pay.p90.yearly.... Default pay.median.monthly. |
| q | string | Words in the occupation's name |
| 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 |
|---|---|---|
| id | id | The occupation (oc_...) |
| slug | string | Its name for addresses |
| name | string | The occupation as published, in English where the office gives it |
| classification | string | The classification its code belongs to: ISCO-08, SOC, a national one |
| code | string | Its code in that classification |
| countries | integer | How many countries publish pay for it |
| series | integer | How many series carry it |
| latest | object | The latest figure: period, value, currency |
Example answer
Run it with your key for a real answer.