Skip to main content

Get Event Contract Order History

Query Event Contract historical orders. Returns orders in the past 2 years.

info
  • Only Event Contract maker accounts are allowed to access this endpoint.
  • Results are sorted by createdTime in descending order.
  • Default query window: 7 days if startTime/endTime are not specified.

HTTP Request

GET/v5/event/order-list

Request Parameters

ParameterRequiredTypeComments
symbolfalsestringSymbol name, e.g. ETHUSDT-28AUG26-2450-2570-OUT
orderIdfalsestringOrder ID
orderLinkIdfalsestringUser-defined order ID
startTimefalseintegerStart time in milliseconds. Default: 7 days ago
endTimefalseintegerEnd time in milliseconds. Default: now
limitfalseintegerNumber of items per page. Default: 50, Range: [1, 100]
cursorfalsestringPagination cursor

Response Parameters

ParameterTypeComments
listarrayEvent Contract order history list
> orderIdstringOrder ID
> orderLinkIdstringUser-defined order ID
> orderStatusstringOrder status: Filled, Cancelled, Rejected, PartiallyFilledCanceled
> symbolstringSymbol name
> symbolIdstringSymbol ID
> baseCoinstringBase coin
> quoteCoinstringQuote coin
> settleCoinstringSettle coin
> ecDirectionstringDirection: UP/DOWN (UpDown type), ABOVE/BELOW (Target type), RANGE_IN/RANGE_OUT (Range type)
> ecDurationWindowstringDuration window in seconds
> ecTargetPricestringTarget price. Target type only.
> ecContractTypestringEvent contract type: UpDown, Target, Range
> ecLowerBoundstringLower bound. Range type only.
> ecUpperBoundstringUpper bound. Range type only.
> settleTimeMsstringSettlement time in milliseconds
> ecOrderValuestringEvent Contract order value
> ecIndexPricestringIndex price at order creation
> orderAvgPayoutRatiostringAverage payout ratio of filled portion
> cumExecValuestringCumulative executed value
> payoutRatiostringOrder payout ratio (price)
> tradeFeestringTrade fee
> transTimestringTransaction time in milliseconds
> createTimestringOrder creation time in milliseconds
> updateTimestringOrder update time in milliseconds
> cumPayoutstringCumulative payout
> cumExecFeestringCumulative executed fee
> cancelTypestringCancel type. Empty if not cancelled.
> createTypestringOrder create type, e.g. CreateByUser
> rejectReasonstringReject reason. Empty if not rejected.
> extraFeesstringExtra fees (JSON string if applicable)
cursorstringCursor for next page pagination

Request Example

GET /v5/event/order-list?symbol=ETHUSDT-28AUG26-2450-2570-OUT&limit=50 HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1694402559000
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"list": [
{
"orderId": "1234567890",
"orderLinkId": "",
"orderStatus": "Filled",
"symbol": "ETHUSDT-28AUG26-2450-2570-OUT",
"symbolId": "100001",
"baseCoin": "BTC",
"quoteCoin": "USDT",
"settleCoin": "USDT",
"ecDirection": "UP",
"ecDurationWindow": "300",
"ecTargetPrice": "",
"ecContractType": "UpDown",
"ecLowerBound": "",
"ecUpperBound": "",
"settleTimeMs": "1694515498753",
"ecOrderValue": "50",
"ecIndexPrice": "26000.5",
"orderAvgPayoutRatio": "1.85",
"cumExecValue": "50",
"payoutRatio": "1.95",
"tradeFee": "0.5",
"transTime": "1694402559843",
"createTime": "1694402559843",
"updateTime": "1694515498753",
"cumPayout": "92.5",
"cumExecFee": "0.5",
"cancelType": "",
"createType": "CreateByUser",
"rejectReason": "",
"extraFees": ""
}
],
"cursor": ""
},
"retExtInfo": {},
"time": 1694402560000
}