Skip to main content

Get User's Account Flow Information

GET

/az/future/user/v1/balance/bills

Limit Flow Rules​

200/s/apikey

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
symbolstringfalseN/ATrading pairs (queries all trading pairs if not passed)
directionstringfalseNEXTDirection(PREV:Previous page;NEXT:Next page)PREV;NEXT
idintegerfalseN/Aid
limitintegerfalse10Limit
startTimeintegerfalseN/AStart time
endTimeintegerfalseN/AEnd time

Java

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

Response

{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {
"hasNext": false, //Is there a next page
"hasPrev": false, //Is there a previous page
"items": [ //Datasheets
{
"afterAmount": 0, //Balance after change
"amount": 0, //Quantity
"coin": "", //Currency
"createdTime": 0, //Time
"id": 0, //id
"side": "", //ADD:transfer in;SUB:transfer out
"accountId": 0, //Account id
"bonus": 0, //Bonus (trial fund) amount
"bonusDisRate": 0, //Bonus deduction rate
"positionType": "", //Position type: CROSSED;ISOLATED
"symbol": "", //Trading pair
"type": "" //EXCHANGE:transfer;CLOSE_POSITION:Offset profit and loss;TAKE_OVER:position takeover;QIANG_PING_MANAGER:Liquidation management fee (fee);FUND:Fund Fee;FEE:Fee(Open position, liquidation, Forced liquidation);ADL:Adl;TAKE_OVER:position takeover;MERGE:Position Merge
}
]
},
"returnCode": 0
}