跳到主要内容

获取 ListenKey

请求类型 GET

接口地址: /future/user/v1/user/listen-key

说明: 有效期为 8 小时


限流规则

200次/秒/apikey


请求示例

Request
curl -G "https://fapi.xt.com/future/user/v1/user/listen-key" \ 
-H "validate-appkey: $APPKEY" \ # 必须
-H "validate-timestamp: $TIMESTAMP" \ # 必须
-H "validate-singature: $SINGATURE" \ # 必须
-H "Content-Type: application/x-www-form-urlencoded" \ # 必须

响应示例

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

错误码

Error codeDesc
fail内部异常