Documentation / Occupations
The spread of pay | Salary Data API
The spread of payStarter and aboveMCP tool: occupation_distribution
An occupation's pay from the 10th to the 90th percentile, where the country publishes them.
GEThttps://api.salarydataapi.com/v1/occupations/{id}/distribution
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}/distribution" \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Type | What it is |
|---|---|---|
| id | id | required The id (oc_...) |
| country | country | required Two-letter country code |
| per | string | Pay per. Default year. hourweekmonthyear |
Returns
One item in data, with these fields.
| Field | Type | What it holds |
|---|---|---|
| period | period | The period |
| currency | string | Currency |
| per | string | Pay per |
| p10 | number | 10th percentile |
| p25 | number | 25th percentile |
| median | number | Median |
| p75 | number | 75th percentile |
| p90 | number | 90th percentile |
| mean | number | Mean |
Example answer
Run it with your key for a real answer.