Skip to main content

Get Quoted Price

Get Quoted Price

Frequency limit:10 times/1s (User ID)

Description

Get Quoted Price

HTTP Request

  • GET /api/v2/convert/quoted-price
Request Example
curl "https://api.bitget.com/api/v2/convert/quoted-price?fromCoin=USDT&fromCoinSize=10&toCoin=ETH" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

request parameters

ParameterTypeRequiredDescription
fromCoinStringYesQuote currency
fromCoinSizeStringNoNumber of quote coins. Only one of fromCoinSize and toCoinSize is allowed
toCoinStringYesTarget currency
toCoinSizeStringNoNumber of target coins. Only one of fromCoinSize and toCoinSize is allowed
Response Example
{
"code": "00000",
"data": {
"fee": "0",
"fromCoinSize": "10",
"fromCoin": "USDT",
"cnvtPrice": "0.0005226794534969",
"toCoinSize": "0.23206967",
"toCoin": "ETH",
"traceId": "1"
},
"msg": "success",
"requestTime": 1627293612502
}

Response Parameters

ParameterTypeDescription
fromCoinStringQuote currency
fromCoinSizeStringNumber of currencies
cnvtPriceStringSwap price
Flash price = Quote currency price / Target currency price
toCoinStringTarget currency
toCoinSizeStringNumber of target currencies
traceIdStringRFQ id
feeStringTransaction fee

How was your Reading Experience with us?