Documentation / Prices and money

Convert money | Salary Data API

Convert money

An amount from one currency to another at a period's average rate.

GEThttps://api.salarydataapi.com/v1/convert?amount=50000&from=gbp&to=jpy

Try it

Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/convert?amount=50000&from=gbp&to=jpy" \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameTypeWhat it is
amountnumberrequired The amount
fromstringrequired Its currency (ISO 4217)
tostringrequired The currency wanted
periodperiodThe period's rate; the latest when left out

Returns

One item in data, with these fields.

FieldTypeWhat it holds
amountnumberThe amount
fromstringFrom
tostringTo
convertednumberThe result
ratenumberUnits of to for one of from
periodperiodThe rate used

Example answer

A real answer from today's figures, with an Analyst key.

200GET /v1/convert?amount=50000&from=gbp&to=jpy
{
    "data": {
        "amount": 50000.0,
        "from": "GBP",
        "to": "JPY",
        "converted": 10488803.72,
        "rate": 209.776074,
        "period": "2026-10"
    },
    "meta": {
        "plan": "analyst"
    }
}

Errors