GET api/v2/exchanges/estimate
General information about endpoints
Information
Description
Description
Estimates an exchange rate for given assets and amount.
Route
GET api/v2/exchanges/estimate
Permissions
Private
Request Parameters:
Parameter
Type
Required
Description
input_asset
string
Required
Identifier of the input asset
output_asset
string
Required
Identifier of the output asset
amount
number
Required
Amount to be exchanged
Response:
{
"input" : {
"amount" : 1000.0,
"currency" : usdt,
"minimum_amount" : 5.0
},
"output" : {
"amount" : 0.01538802,
"currency" : btc
},
"rate" : 64985.6
}