Skip to main content

Get Purchase/Redemption Records

Get purchase or redeem history

HTTP Request

GET /v5/spot-lever-token/order-record

Request Parameters

ParameterRequiredTypeComments
ltCoinfalsestringAbbreviation of the LT, such as BTC3L
orderIdfalsestringOrder ID
startTimefalseintegerThe start timestamp (ms)
endTimefalseintegerThe end timestamp (ms)
limitfalseintegerLimit for data size per page. [1, 500]. Default: 100
ltOrderTypefalseintegerLT order type. 1: purchase, 2: redemption
serialNofalsestringSerial number

Response Parameters

ParameterTypeComments
listarrayObject
> ltCoinstringAbbreviation of the LT, such as BTC3L
> orderIdstringOrder ID
> ltOrderTypeintegerLT order type. 1: purchase, 2: redeem
> orderTimenumberOrder time
> updateTimenumberLast update time of the order status
> ltOrderStatusstringOrder status. 1: completed, 2: in progress, 3: failed
> feestringTrading fees
> amountstringOrder quantity of the LT
> valuestringFilled value
> valueCoinstringQuote coin
> serialNostringSerial number

Request Example

GET /v5/spot-lever-token/order-record?orderId=2611 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672294422027
X-BAPI-SIGN: XXXXX
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "success",
"result": {
"list": [
{
"amount": "222.90757477",
"fee": "0",
"ltCoin": "EOS3L",
"ltOrderStatus": "1",
"ltOrderType": "1",
"orderId": "2611",
"orderTime": "1672737465000",
"serialNo": "pruchase-002",
"updateTime": "1672737478000",
"value": "95.13860435",
"valueCoin": "USDT"
}
]
},
"retExtInfo": {},
"time": 1672294446137
}