Skip to main content

History Orders

Request via this endpoint to get currently history orders. Orders with status CANCELED or DONE can return as a response. It is recommended to use pagination with up to 100 items per request, using the limit and offset options for this. The endpoint supports returning up to the last 1000 history orders.

GET /v1/order/history

Headers

ParamType
apikeystring

Query Parameters

ParamTypeExampleDescription
symbolstring"KLV-USDT"A valid trading symbol code.
limitinteger100Number of results per request. Minimum is 1, maximum is 100, default is 100.
offsetinteger0The number of elements to skip

Response

ParamTypeExampleDescription
-[]Order--

Response Example

{
"success": true,
"data": [
{
"orderId": "421021d5-d013-4d78-aeb0-c9e37f457923",
"status": "DONE",
"symbol": "KLV-USDT",
"side": "SELL",
"price": "0.007254",
"averagePrice": "0.007254",
"quantity": "100",
"filled": "100",
"typeOrder": "MARKET",
"typeTrade": "TAKER",
"fee": "0.000014508",
"feeToken": "USDT",
"feePayWithKLV": "0.0003627",
"createdAt": 1708459377,
"updatedAt": 1708459377
},
{
"orderId": "304e864f-86ac-4569-9e9a-739c5280eeb4",
"status": "CANCELED",
"symbol": "KLV-USDT",
"side": "BUY",
"price": "0.006324",
"averagePrice": "0.006324",
"quantity": "100",
"filled": "0",
"typeOrder": "LIMIT",
"typeTrade": "MAKER",
"fee": "0",
"feeToken": "USDT",
"feePayWithKLV": "0",
"createdAt": 1708459212,
"updatedAt": 1708459226
}
]
}