Documentation / Regions

Regions | Salary Data API

Regions
Free key

The six regions and how many countries each has.

GEThttps://api.salarydataapi.com/v1/regions

Try it

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.

FieldTypeWhat it holds
regionstringIts name for addresses
namestringThe region
countriesintegerCountries
figuresintegerFigures

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"
    }
}

Errors