Skip to main content

Order Status

Request via this endpoint to get a single order details by order ID.

GET /v1/order/{orderId}

Headers

ParamType
apikeystring

URI Parameters

ParamTypeExampleDescription
orderIdstring"1989652f-be77-4179-924e-b71c03a4198a"Unique order id

Response

ParamTypeExampleDescription
orderIdstring"1989652f-be77-4179-924e-b71c03a4198a"Unique order id
statusstring"CANCELED"current status of the order, include OPEN, PARTIALLY, CANCELED and DONE
symbolstring"KLV-USDTUnique code of a symbol.
sidestring"BUY"Order direction,include BUY and SELL
pricestring"0.006780"Order price
averagePricestring"0.006736"Average order price after some trade executed
quantitystring"100"Order amount
filledstring"80"Order amount executed while the order was available to be executed
typeOrderstring"LIMIT"Order type, include LIMIT and MARKET
typeTradestring"MAKER"Order trade type, include MAKER and TAKER
feestring"0.0000678"Trade fee charged in feeToken. It can be accumulated with feePayWithKLV
feeTokenstring"USDT"Token charged in fee. It's base token if BUY side and quote token if SELL
feePayWithKLVstring"0.03456"Reduced trading fee charged in KLV when enabled by user and with KLV balance
createdAtint1708459934Timestamp
updatedAtint1708459952Timestamp

Response Example

{
"success": true,
"data": {
"orderId": "6725ce5a-af91-4dea-850b-09968fb551f8",
"status": "CANCELED",
"symbol": "KLV-USDT",
"side": "BUY",
"price": "0.006780",
"averagePrice": "0.006736",
"quantity": "100",
"filled": "80",
"typeOrder": "LIMIT",
"typeTrade": "MAKER",
"fee": "0.00006874",
"feeToken": "KLV",
"feePayWithKLV": "0.000006874",
"createdAt": 1708459934,
"updatedAt": 1708459952
},
}