Documentation / Analysis

Pay growth across countries | Salary Data API

Pay growth across countries

Each 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

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/compare/growth" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
yearsintegerOver how many years, 1 to 30. Default 5.
regionstringOnly one region
europeasiaamericasmiddle-eastafricaoceania
sortstringRanked by real or by published growth. Default real.
realnominal
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
countrystringTwo-letter country code
namestringThe country
seriesidIts headline series
name_of_figurestringpay.<statistic>.<period>
currencystringISO 4217 currency
from_periodperiodThe earlier period
to_periodperiodThe latest period
from_valuenumberThen
to_valuenumberNow
growth_pctnumberGrowth as published, in per cent
yearly_pctnumberThe same a year, compounded
real_growth_pctnumberGrowth in real terms, in per cent; null without a consumer price index
real_yearly_pctnumberThe same a year, compounded
rankintegerIts 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"
    }
}

Errors