Skip to main content
GET
Retrieve a swap rate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

sourceCurrency
enum<string>
required

Currency being swapped from.

Available options:
usdc,
usdt
destinationCurrency
enum<string>
required

Currency being swapped to.

Available options:
usdc,
usdt
amount
string
required

Amount of sourceCurrency to swap.

Response

Success

sourceCurrency
string
Example:

"usdc"

destinationCurrency
string
Example:

"usdt"

sourceAmount
string
Example:

"100.00"

destinationAmount
string
Example:

"99.98"

conversionRate
string
Example:

"0.99980"