Documentation / Countries
A country's breakdowns | Salary Data API
A country's breakdownsStarter and above
Every value a country publishes pay by: its sexes, age bands, levels of schooling, hours and statistics.
GEThttps://api.salarydataapi.com/v1/countries/{cc}/breakdowns
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}/breakdowns" \
-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 |
|---|---|---|
| sex | array | Sexes |
| age | array | Age bands |
| education | array | Levels of schooling |
| hours | array | Hours |
| series | array | The figures it publishes, as pay.<statistic>.<period> |
| occupations | integer | Occupations |
| areas | integer | Areas |
Example answer
Run it with your key for a real answer.