Documentation / Countries
A country's tables | Salary Data API
A country's tablesStarter and aboveA list, paged
The pay tables a country publishes, each with its series, figures and the periods it covers.
GEThttps://api.salarydataapi.com/v1/countries/{cc}/tables
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}/tables" \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Type | What it is |
|---|---|---|
| cc | country | required Two-letter country code, such as jp or gb |
| 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 table (tb_...) |
| country | string | Two-letter country code |
| title | string | What it holds |
| series | integer | Pay series in it |
| figures | integer | Figures in it |
| first_period | period | Its first period |
| last_period | period | Its latest period |
| updated_at | date | When it last changed (UTC) |
Example answer
Run it with your key for a real answer.