List currencies
GET/api/v1/currencies
Returns every known currency with its ISO code and display name.
curl -H "Authorization: Bearer $UKK_TOKEN" \
https://ukk-api.xevieso.com/api/v1/currencies
{
"currencies": [
{ "code": "USD", "name": "US-Dollar" },
{ "code": "GBP", "name": "Pfund Sterling" }
]
}
Monthly rate
GET/api/v1/rates/monthly
Returns the monthly rate for a currency. If only year is provided, all available months for that year are returned.
currency *- ISO code (e.g. USD).
year *- Four-digit year.
month- 1–12. If omitted: all available months of that year.
curl -H "Authorization: Bearer $UKK_TOKEN" \
"https://ukk-api.xevieso.com/api/v1/rates/monthly?currency=USD&year=2024&month=3"
{
"currency": "USD",
"year": 2024,
"month": 3,
"rate": "1.08720000",
"isFinal": true
}
Yearly average
GET/api/v1/rates/yearly
Returns the yearly average once all twelve months of the year are confirmed final.
currency *- ISO code.
year *- Four-digit year.
curl -H "Authorization: Bearer $UKK_TOKEN" \
"https://ukk-api.xevieso.com/api/v1/rates/yearly?currency=USD&year=2024"
{
"currency": "USD",
"year": 2024,
"rate": "1.08205000"
}
Range query
GET/api/v1/rates
Returns every monthly rate of a currency within an inclusive range.
currency *- ISO code.
from *- Start month in YYYY-MM format.
to *- End month in YYYY-MM format.
curl -H "Authorization: Bearer $UKK_TOKEN" \
"https://ukk-api.xevieso.com/api/v1/rates?currency=GBP&from=2024-01&to=2024-06"
{
"currency": "GBP",
"rates": [
{ "year": 2024, "month": 1, "rate": "0.85230000", "isFinal": true },
{ "year": 2024, "month": 2, "rate": "0.85510000", "isFinal": true }
]
}
Convert an amount
GET/api/v1/convert
Converts an amount at the monthly rate between two currencies. At least one side must be EUR.
amount *- Numeric amount.
from *- Source ISO code.
to *- Target ISO code.
year *- Four-digit year.
month *- 1–12.
curl -H "Authorization: Bearer $UKK_TOKEN" \
"https://ukk-api.xevieso.com/api/v1/convert?amount=100&from=USD&to=EUR&year=2024&month=3"
{
"amount": 100,
"from": "USD",
"to": "EUR",
"year": 2024,
"month": 3,
"converted": "91.9794",
"rate": "0.91979..."
}