Send quote request (USER_DATA)
Request a quote for the requested token pairs
Weight(UID): 200
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
Changed in 3 of the 26 revisions of this API.62
- ▲
removed the enum value
10sfrom thequeryrequest parametervalidTimerequest-parameter-enum-value-removed
- ▲
removed the enum value
1mfrom thequeryrequest parametervalidTimerequest-parameter-enum-value-removed
- ▲
removed the enum value
2mfrom thequeryrequest parametervalidTimerequest-parameter-enum-value-removed
- ▲
removed the enum value
30sfrom thequeryrequest parametervalidTimerequest-parameter-enum-value-removed
- ○
added the new optional
queryrequest parameterwalletTypenew-optional-request-parameter
- ▲
- ▲
for the
queryrequest parameterfromAmount, the type/format was changed fromnumber/decimaltonumber/floatrequest-parameter-type-changed
- ▲
for the
queryrequest parametertoAmount, the type/format was changed fromnumber/decimaltonumber/floatrequest-parameter-type-changed
- ▲
- ○
endpoint added
endpoint-added
- ○