Skip to main content

Get Account Related Information

GET

/az/future/user/v1/account/info

Limit Flow Rules​

200/s/apikey

Java

public void getMarketConfig() {
String text = HttpUtil.get(URL + "/data/api/user/v1/getMarketConfig");
System.out.println(text);
}

Response

{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {
"accountId": 0, //Account ID
"allowOpenPosition": false, //Is it possible to open position
"allowTrade": false, //Is it possible to trade
"allowTransfer": false, //Is it possible to transfer
"openTime": "", //Opening time
"state": 0, //User status
"userId": 0, //User ID
"userGroupId": 0 //User group ID
},
"returnCode": 0
}