Appearance
GET
/config/currency/exchange-ratesRequired scope:
exchangerate:readFinds exchange rates. A rate is valid from its start date until the next rate of the pair starts, or forever if no later rate exists, so rates of a pair never overlap and leave no gaps. By default it returns the rates that are valid on a date, one per currency pair, which is the rate with the latest start date on or before the date. With allDates set to true it returns every stored rate of the matching pairs regardless of date, which gives the history of a pair when combined with sourceCurrencyCodes and targetCurrencyCodes. Pairs with a currency without a code are left out. Pairs with an inactive currency are left out, unless the inactive currency is named in sourceCurrencyCodes (for the source) or targetCurrencyCodes (for the target). The end date of a rate is derived and read-only: the day before the next rate of the pair starts, or null if no later rate exists. Results are sorted by source currency code, then by target currency code, then by start date with the latest first.
Parameters ​
Query parameters
page integerThe page number to retrieve. The first page is 1. Cannot be less than 1.
Default value:
1pageSize integerThe size of the pages to retrieve. The default is 10. Cannot be less than 1 and larger than 100.
Default value:
10sourceCurrencyCodes stringMultivalued
Only return rates from these source currencies, given by their three letter ISO codes. Case-insensitive. Codes that match no currency are ignored. A source currency named here is included even if it is inactive. Omit to return all active source currencies.
targetCurrencyCodes stringMultivalued
Only return rates to these target currencies, given by their three letter ISO codes. Case-insensitive. Codes that match no currency are ignored. A target currency named here is included even if it is inactive. Omit to return all active target currencies.
date stringOnly return the rates that are valid on this date. Defaults to today. Cannot be combined with allDates set to true.
allDates booleanWhether to return every stored rate of the matching currency pairs regardless of date, instead of one rate per pair that is valid on a date. Cannot be combined with date.
Default value:
falseResponse ​
The response contains the found exchange rates.
JSON
[
{
"sourceCurrencyCode": "EUR",
"sourceCurrencyName": "Euro",
"targetCurrencyCode": "SEK",
"targetCurrencyName": "Swedish krona",
"rate": 11.25,
"startDate": "2026-01-01",
"endDate": "2026-01-31"
}
]
| Error code | Description |
|---|---|
exchange-rate-date-out-of-range | The date is before 1900-01-02 or after 9998-12-31. The error data has the minDate and maxDate. |
exchange-rate-date-with-all-dates | The date cannot be combined with allDates set to true. |
invalid-page | The given page is invalid. |
invalid-page-size | The given page size is invalid. |