Skip to main content

Get Latest Transaction Information of Trading Pairs

Type: GET

Description: /future/market/v1/public/q/deal

Note:

This method does not require a signature.

Limit flow rules

None

Parameters

NameTypeMandatoryDefaultDescriptionRanges
symbolstringtrueN/ATrading pair
numintegerfalse50Quantity

Request Example

Request
{
curl -G "https://fapi.xt.com/future/market/v1/public/q/deal" \
-d "symbol=btc_usdt"
}

Response Example

Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": [
{
"a": 0, // Volume
"m": "", // Order side
"p": 0, // Price
"s": "", // Trading pair
"t": 0 // Time
}
],
"returnCode": 0
}

Error Code

Error CodeDesc
invalid_symbolSymbol does not exist
invalid_numThe minimum value of num is 1 and must be an integer