Documentation / Analysis

The minimum wage against pay | Salary Data API

The minimum wage against pay
Pro and aboveA list, paged

A country's minimum wage against its median and mean pay, year by year, in per cent: how much of typical pay the floor reaches.

GEThttps://api.salarydataapi.com/v1/pay/minimum-wage?country=br

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/pay/minimum-wage?country=br" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
countrycountryrequired Two-letter country code
fromperiodThe first period wanted (2019, 2019-Q1 or 2019-01)
toperiodThe last period wanted
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
yearyearThe year
minimumnumberThe minimum wage, the year's average
mediannumberMedian pay, the year's average
meannumberMean pay, the year's average
to_median_pctnumberThe minimum wage in per cent of the median
to_mean_pctnumberThe minimum wage in per cent of the mean

Example answer

A real answer from today's figures, the first three items, with an Analyst key.

200GET /v1/pay/minimum-wage?country=br
{
    "data": [
        {
            "year": 2012,
            "minimum": 622,
            "median": null,
            "mean": 3129.25,
            "to_median_pct": null,
            "to_mean_pct": 19.9
        },
        {
            "year": 2013,
            "minimum": 678,
            "median": null,
            "mean": 3211.75,
            "to_median_pct": null,
            "to_mean_pct": 21.1
        },
        {
            "year": 2014,
            "minimum": 724,
            "median": null,
            "mean": 3277.5,
            "to_median_pct": null,
            "to_mean_pct": 22.1
        }
    ],
    "meta": {
        "count": 3,
        "next_cursor": "YzM",
        "page": 1,
        "per_page": 3,
        "total": 15,
        "total_pages": 5,
        "next_page": 2,
        "prev_page": null,
        "currency": "BRL",
        "per": "month",
        "minimum_series": "se_7f8bn1hx",
        "median_series": null,
        "mean_series": "se_v2w9ecwr",
        "method": "Each figure is its year's average over the periods published in it; months still to come are left out.",
        "plan": "analyst"
    }
}

Errors