Documentation / Areas and industries

A country's areas | Salary Data API

A country's areas
Starter and aboveA list, paged

The areas a country publishes pay for: its regions, states, counties or cities.

GEThttps://api.salarydataapi.com/v1/countries/{cc}/areas

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/countries/{cc}/areas" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
cccountryrequired Two-letter country code, such as jp or gb
pageintegerThe page, from 1. Default 1.
per_pageintegerItems a page, at most 200. Default 50.
cursorstringFrom next_cursor in the last answer; page wins when both are sent

Returns

A list in data, each item with these fields, and the paging in meta.

FieldTypeWhat it holds
ididThe area (ar_...)
countrystringTwo-letter country code
namestringThe area as published
nationalbooleanTrue for the whole country
seriesintegerPay series published for it

Example answer

Run it with your key for a real answer.

Errors