Salary Data API documentation

Official pay figures for 49 countries, in one API

Salary Data API holds the pay figures national statistics offices publish: medians and means, percentiles from the 10th to the 90th, pay by occupation, sex, age, schooling and area, from the first year each office published to the latest release. 83,837,497 figures in 3,884 tables, every one kept in its own currency and period, with US dollars, today's prices and purchasing power alongside.

People build salary benchmarks and offer letters, relocation and cost-of-living tools, HR and payroll analytics, pay equity reports, research and journalism on it. Every endpoint answers in the same shape, every id is stable, and every figure says where in time it sits.

There are 63 endpoints, each with its own page: what it does, Try it against the live API with your key, its parameters, what it returns and a real answer.

Start here

01

Get a key

Sign in with Google. A free key is made at once and saved in this browser for these pages.

Get a free key
02

Make the first call

Send it in an Authorization header. Every page has Run, with your key already in.

Quick start
03

Read the answer

Figures are in data, the paging and notes in meta. Errors have a code that never changes.

Answers and errors
GEThttps://api.salarydataapi.com/v1/payTry it

Every subject

Pay figures

How a figure is named (pay.median.monthly), what each statistic means, gross and net, hours, and how /v1/pay picks the series that answers you.

Read the guide

Occupations

How each country classifies occupations, why ISCO-08 codes compare across countries, slugs, and one role across countries.

Read the guide

Breakdowns

Sex, age, schooling, hours and area: what each country publishes, how to ask for it, and the gender pay gap.

Read the guide

Prices and money

Each country's own consumer prices, exchange rates by period, purchasing power, and figures in today's prices.

Read the guide

Every endpoint

The dot is the first plan that reads it: Free key Starter Pro Analyst

Pay

The one call most people need: a country, a figure of pay, any breakdown, the latest period or any other.
/v1/payThe pay figure you ask for: a country, a statistic and period of pay, and any breakdown. The latest period unless you ask for others.

Calls to start with

For assistants and agents

MCP server

The API as tools for Claude, ChatGPT, Cursor and Claude Code. The MCP guide

https://salarydataapi.com/mcp

Agent skill

Teaches an agent the API: which call answers which question, and how to read the answers. More

https://salarydataapi.com/skill.md

The manual

Every guide and endpoint in one Markdown file, for an agent to read in one go. Also at /llms.txt.

https://salarydataapi.com/documentation/manual.md

OpenAPI

The whole API as OpenAPI 3.1, for code generators and Postman. More

https://salarydataapi.com/openapi.json

Plans in short

Free key

  • 50 calls a day
  • 1 call a second
  • The latest period
  • National totals in own currency

Starter

  • 10,000 calls a month
  • 5 calls a second
  • The latest 3 years
  • Breakdowns: occupation, sex, age, area, schooling

Pro

  • 100,000 calls a month
  • 10 calls a second
  • Full history
  • US dollars at each period's rate

Analyst

  • 500,000 calls a month
  • 20 calls a second
  • Full history
  • One role across countries, pay gaps, MCP

Over the allowance, calls are refused and never billed. Every plan in full on pricing.

What is new

Table titles are now plain descriptions of what each table holds (Yearly pay by occupation and sex, United Kingdom); ids are unchanged. /v1/currencies answers at once. Fields unchanged.

v1 opens: 63 endpoints over pay, countries, regions, series, tables, occupations, breakdowns, areas, industries, comparisons, prices and money, and releases.

The changelog

The rest

Authentication

Your key in an Authorization: Bearer header, or X-API-Key. Never in the address. Authentication

Errors

Every error has a fixed code, a message and a link to what to do. Errors

Pagination

Lists take page or cursor; meta says what comes next. Pagination

Limits

Calls a second and a day or month, in headers on every answer. Plans and limits

Status

Whether the API is answering, and its last release. Status

Support

A question, a figure that looks wrong, a refund: open a ticket. Support

Questions people ask

Where do the figures come from?

Every figure is one a national statistics office publishes, read from what it releases and kept with its own periods and currency. Nothing is modelled or estimated: a figure the office has not published is not in the API.

How current is it?

Releases reach the API the day they are published. Each figure carries its period, and /v1/releases lists what came in and when.

Can I compare pay across countries?

Yes. Every figure keeps its own currency; Pro and Analyst add value_usd at its period's rate, and /v1/series/{id}/converted gives euros or purchasing power. One role across countries is an Analyst call.

What is the difference between median and mean?

The median is the middle: half are paid less. The mean is the average, pulled up by high pay. /v1/glossary has every statistic.

What happens when I go over my allowance?

Calls are refused with quota_exceeded until the day or month starts again. Nothing is ever billed beyond the plan. Plans and limits

Can I use it in my product?

Yes, in your own products, reports and sites. The figures themselves may not be resold or republished in bulk: the terms say so in full.