Documentation / Regions
Regions | Salary Data API
RegionsFree key
The six regions and how many countries each has.
GEThttps://api.salarydataapi.com/v1/regions
Try it
No key in this browser yet. Get a free key: it is filled in here once made.
This endpoint takes no parameters.
Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/regions" \ -H "Authorization: Bearer YOUR_KEY"
Returns
One item in data, with these fields.
| Field | Type | What it holds |
|---|---|---|
| region | string | Its name for addresses |
| name | string | The region |
| countries | integer | Countries |
| figures | integer | Figures |
Example answer
A real answer from today's figures, with an Analyst key.
200GET /v1/regions
{
"data": [
{
"region": "europe",
"name": "Europe",
"countries": 24,
"figures": 52142801
},
{
"region": "asia",
"name": "Asia",
"countries": 7,
"figures": 35540159
},
{
"region": "americas",
"name": "Americas",
"countries": 4,
"figures": 1088305
},
{
"region": "middle-east",
"name": "Middle East",
"countries": 3,
"figures": 152349
},
{
"region": "africa",
"name": "Africa",
"countries": 1,
"figures": 1827
},
{
"region": "oceania",
"name": "Oceania",
"countries": 0,
"figures": 0
}
],
"meta": {
"plan": "analyst"
}
}