Get Order Details by orderId
Request via this endpoint to get a single order info by order ID.
HTTP REQUEST
GET /api/v1/orders/{orderId}
Example
GET /api/v1/orders/5c35c02703aa673ceec2a168
{
"id": "5c35c02703aa673ceec2a168",
"symbol": "BTC-USDT",
"opType": "DEAL",
"type": "limit",
"side": "buy",
"price": "10",
"size": "2",
"funds": "0",
"dealFunds": "0.166",
"dealSize": "2",
"fee": "0",
"feeCurrency": "USDT",
"stp": "",
"stop": "",
"stopTriggered": false,
"stopPrice": "0",
"timeInForce": "GTC",
"postOnly": false,
"hidden": false,
"iceberg": false,
"visibleSize": "0",
"cancelAfter": 0,
"channel": "IOS",
"clientOid": "",
"remark": "",
"tags": "",
"isActive": false,
"cancelExist": false,
"createdAt": 1547026471000,
"tradeType": "TRADE"
}
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:2
PARAMETERS
Param | Type | Description |
---|---|---|
orderId | String | Order ID, unique ID of the order. |
RESPONSES
Param | Description |
---|---|
orderId | Order ID, the ID of an order |
symbol | symbol |
opType | operation type,deal is pending order,cancel is cancel order |
type | order type,e.g. limit,market,stop_limit. |
side | transaction direction,include buy and sell |
price | order price |
size | order quantity |
funds | order funds |
dealFunds | deal funds |
dealSize | deal quantity |
fee | fee |
feeCurrency | charge fee currency |
stp | self trade prevention,include CN,CO,DC,CB |
stop | stop type, include entry and loss |
stopTriggered | stop order is triggered |
stopPrice | stop price |
timeInForce | time InForce,include GTC,GTT,IOC,FOK |
postOnly | postOnly |
hidden | hidden order |
iceberg | iceberg order |
visibleSize | display quantity for iceberg order |
cancelAfter | cancel orders time,requires timeInForce to be GTT |
channel | order source |
clientOid | user-entered order unique mark |
remark | remark |
tags | tag order source |
isActive | order status, true and false. If true, the order is active, if false, the order is fillled or cancelled |
cancelExist | order cancellation transaction record |
createdAt | create time |
tradeType | The type of trading : TRADE(Spot Trading), MARGIN_TRADE (Margin Trading). |