Documentation / Occupations
Where it is published | Salary Data API
Where it is publishedAnalyst and aboveA list, paged
The countries that publish an occupation, with the series and periods each has.
GEThttps://api.salarydataapi.com/v1/occupations/{id}/countries
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/occupations/{id}/countries" \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Type | What it is |
|---|---|---|
| id | id | required The id (oc_...) |
| 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 |
|---|---|---|
| country | string | Two-letter country code, lower case |
| name | string | The country in English |
| region | string | Europe, Asia, Americas, Middle East, Africa or Oceania |
| currency | string | The currency its figures are in today (ISO 4217) |
| series | integer | Series |
| first_period | period | First period |
| last_period | period | Latest period |
Example answer
Run it with your key for a real answer.