By sending a POST request to pending endpoint you can obtain list of your active orders. To get pending orders only for specified symbol set symbol parameter.

request endpoint: /api/pending


Request parameters

NameTypeDescriptionRequired
nonceLongrepeated number send in the request headerY
symbolStringsymbol

N


Request example:

{"nonce":10000,  "symbol":"BTCUSD"}

Response - JSON:

NameTypeDescription
orderIdLongorder ID
symbolStringorder status
lastChangedLongUnix timestamp of the last modification
ordSideIntorder side: 0 - buy, 1 - sell
ordTypeInt

order type: 0 - market, 1 - limit, 2 - stop

startVolumeLongoriginal volume
currentVolumeLongremaining volume
priceLongprice


Response example:

[{"orderId":100035,"symbol":"BTCUSD","lastChanged":1517323092610,"ordType":1,"ordSide":0,"startVolume":0.1,"currentVolume":0.1,"price":5}]