Send quote request (USER_DATA)
Changed onRequest a quote for the requested token pairs
Weight(UID): 200
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/convert/getQuote
- AuthAPI key in header X-MBX-APIKEY
Query parameters
When specified, it is the amount you will be debited after the conversion
When specified, it is the amount you will be debited after the conversion
10s, 30s, 1m, 2m, default 10s
SPOT or FUNDING. Default is SPOT
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Quote Request
Example response
{
"quoteId": "12415572564",
"ratio": "38163.7",
"inverseRatio": "0.0000262",
"validTimestamp": 1623319461670,
"toAmount": "3816.37",
"fromAmount": "0.1"
}Changes
- breaking
removed the enum value
10sfrom thequeryrequest parametervalidTime - breaking
removed the enum value
1mfrom thequeryrequest parametervalidTime - breaking
removed the enum value
2mfrom thequeryrequest parametervalidTime - breaking
removed the enum value
30sfrom thequeryrequest parametervalidTime - info
added the new optional
queryrequest parameterwalletType
- breaking
- breaking
for the
queryrequest parameterfromAmount, the format changed fromdecimaltofloat - breaking
for the
queryrequest parametertoAmount, the format changed fromdecimaltofloat
- breaking