Skip to content
Resource · Banking

Currency exchanges

A currency exchange holds the exchange rates from one base currency to other currencies.

currency-exchanges:read
MethodPathSummary
GET/currency-exchanges/{currency}Get exchange rates for one base currency

Every endpoint needs currency-exchanges:read.

The CurrencyExchange object

baseCurrencystringrequired
timestampstringdate-timerequired
ratesRecord<string, number>required
The CurrencyExchange object
{
  "baseCurrency": "string",
  "timestamp": "2026-03-02T09:30:00.000Z",
  "rates": {
    "key": 0
  }
}
GET/currency-exchanges/{currency}

Get exchange rates for one base currency

The currency is an uppercase ISO 4217 code (e.g. CHF). Unknown currencies return a 404.

Scopecurrency-exchanges:read

Path parameters

currencystringrequired

Base currency, as an ISO 4217 code.

Query parameters

fieldsstring

Comma-separated property paths to include in the response, or in each item of a list. Use dots for nested paths.

Returns

200

Successful response

dataCurrencyExchangerequired
curl 'https://api.business.swayapp.io/v1/currency-exchanges/CHF' \
  -H "Authorization: Bearer $SWAY_API_KEY"
{
  "data": {
    "baseCurrency": "string",
    "timestamp": "2026-03-02T09:30:00.000Z",
    "rates": {
      "key": 0
    }
  }
}

Start building on your own data.

Create an account, open Profile › Developer and create a key scoped to the resources you need. Questions about an integration? The team answers them on a call.