Get swap rate between currencies
GET /v2/swap/rate
GET
/v2/swap/rate
Retrieve the current exchange rate for swapping between two currencies
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” sourceCurrency
required
string
The source currency
Example
USD destinationCurrency
required
string
The destination currency
Example
EURHeader Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Responses
Section titled “ Responses ”Returns the current exchange rate between the specified currencies.
object
rate
required
The exchange rate
number
0.85 sourceCurrency
required
The source currency
string
USD destinationCurrency
required
The destination currency
string
EURBad Request
Unauthorized
Forbidden
Not Found
Internal Server Error