Documentation / Countries
One country | Salary Data API
One countryFree key
A country: its region, currency, tables, the years its figures reach and the breakdowns it publishes.
GEThttps://api.salarydataapi.com/v1/countries/{cc}
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}" \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Type | What it is |
|---|---|---|
| cc | country | required Two-letter country code, such as jp or gb |
Returns
One item in data, with these fields.
| 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) |
| tables | integer | Tables |
| series | integer | Pay series |
| figures | integer | Figures |
| first_year | year | First year |
| last_period | period | Latest period |
| breakdowns | array | The breakdowns it publishes |
Example answer
Run it with your key for a real answer.