Skip to main content

Collect Trading Pair

Type: POST

Description: /future/user/v1/user/collection/add

Remark: Content-Type = application/x-www-form-urlencoded or application/json

Limit Flow Rules

200/s/apikey

Parameters

NameTypeMandatoryDefaultDescriptionRanges
symbolstringtrueN/ATrading pair

Request Example

Request
curl -X POST "https://fapi.xt.com/future/user/v1/user/collection/add" \ 
-H "validate-appkey: $APPKEY" \ # Required
-H "validate-timestamp: $TIMESTAMP" \ # Required
-H "validate-singature: $SINGATURE" \ # Required
-H "Content-Type: application/x-www-form-urlencoded" \ # Required
-d "symbol=btc_usdt" # Required

Response Example

Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": true,
"returnCode": 0
}

Error code

Error codeDesc
invalid_symbolThe trading pair does not exist