Documentation / Analysis
Pay growth across countries | Salary Data API
Pay growth across countriesEach country's headline pay over the last N years, as published and in real terms from its own consumer prices, in total and a year, ranked.
GEThttps://api.salarydataapi.com/v1/compare/growth
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/compare/growth" \ -H "Authorization: Bearer YOUR_KEY"
Parameters
| Name | Type | What it is |
|---|---|---|
| years | integer | Over how many years, 1 to 30. Default 5. |
| region | string | Only one region europeasiaamericasmiddle-eastafricaoceania |
| sort | string | Ranked by real or by published growth. Default real. realnominal |
| page | integer | The page, from 1. Default 1. |
| per_page | integer | Items a page, at most 200. Default 50. |
| cursor | string | From 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.
| Field | Type | What it holds |
|---|---|---|
| country | string | Two-letter country code |
| name | string | The country |
| series | id | Its headline series |
| name_of_figure | string | pay.<statistic>.<period> |
| currency | string | ISO 4217 currency |
| from_period | period | The earlier period |
| to_period | period | The latest period |
| from_value | number | Then |
| to_value | number | Now |
| growth_pct | number | Growth as published, in per cent |
| yearly_pct | number | The same a year, compounded |
| real_growth_pct | number | Growth in real terms, in per cent; null without a consumer price index |
| real_yearly_pct | number | The same a year, compounded |
| rank | integer | Its place |
Example answer
A real answer from today's figures, the first three items, with an Analyst key.
200GET /v1/compare/growth
{
"data": [
{
"country": "uz",
"name": "Uzbekistan",
"series": "se_49tzwc4c",
"name_of_figure": "pay.mean.monthly",
"currency": "UZS",
"from_period": "2021-Q3",
"to_period": "2026-Q3",
"from_value": 2978895.4,
"to_value": 7274102,
"growth_pct": 144.2,
"yearly_pct": 19.55,
"real_growth_pct": 56.5,
"real_yearly_pct": 9.37,
"rank": 1
},
{
"country": "rs",
"name": "Serbia",
"series": "se_n2r1cw79",
"name_of_figure": "pay.median.monthly",
"currency": "RSD",
"from_period": "2021-08",
"to_period": "2026-08",
"from_value": 68716,
"to_value": 128499,
"growth_pct": 87,
"yearly_pct": 13.34,
"real_growth_pct": 32.6,
"real_yearly_pct": 5.81,
"rank": 2
},
{
"country": "my",
"name": "Malaysia",
"series": "se_fmdn946w",
"name_of_figure": "pay.median.monthly",
"currency": "MYR",
"from_period": "2020",
"to_period": "2025",
"from_value": 1081,
"to_value": 1532,
"growth_pct": 41.7,
"yearly_pct": 7.22,
"real_growth_pct": 26.4,
"real_yearly_pct": 4.8,
"rank": 3
}
],
"meta": {
"count": 3,
"next_cursor": "YzM",
"page": 1,
"per_page": 3,
"total": 36,
"total_pages": 12,
"next_page": 2,
"prev_page": null,
"years": 5,
"method": "Growth is the headline figure's change from the same period 5 years before its latest; yearly_pct is the compound rate a year. Real growth uses each country's own consumer price index; it is null where none joins its figures.",
"no_figure_that_far_back": [
"br",
"cn",
"hr",
"ee",
"fi",
"de",
"gh",
"hu",
"iq",
"jp",
"lv",
"mk",
"py",
"sa",
"ch",
"ua",
"gb"
],
"plan": "analyst"
}
}