Skip to main content
GET
Get Exchange Rates
Retrieve current exchange rates for all supported currency pairs. Use the rateToken from the response to lock in a rate when performing a swap.

Example Request

Example Response

Exchange rates are live and may change between the time you fetch them and when you execute a swap. Pass the rateToken to the /wallet/swap endpoint to lock in the quoted rate.

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Response

Rates retrieved successfully

status
integer
Example:

200

success
boolean
Example:

true

message
string
Example:

"Exchange rates retrieved successfully"

rates
object[]