Skip to content

Get Swap Rate

GET
/swap/rate/{sourceCurrency}/{destinationCurrency}

Get the current exchange rate between two currencies.

Authorizations

Parameters

Path Parameters

sourceCurrency
required
string

Source currency code (e.g., “USDC”, “ETH”)

destinationCurrency
required
string

Destination currency code (e.g., “ETH”, “USDC”)

Responses

200

Exchange rate information

object
rate

Exchange rate between currencies

string
1850.75
sourceCurrency

Source currency code

string
USDC
destinationCurrency

Destination currency code

string
ETH

400

Bad Request

object
code
integer
400
message
string
Bad Request
details
string
Source currency and destination currency are required.