Skip to main content

Get Event Contract Settlement Records

Query Event Contract settlement records. Returns records in the past 2 years.

info
  • Only Event Contract maker accounts are allowed to access this endpoint.
  • Default query window: 7 days if startTime/endTime are not specified.

HTTP Request

GET/v5/event/settlements

Request Parameters

ParameterRequiredTypeComments
symboltruestringSymbol name, e.g. ETHUSDT-28AUG26-2450-2570-OUT
orderIdfalsestringOrder ID filter
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 settlement record list
> transIdstringTransaction ID
> symbolstringSymbol name
> symbolIdstringSymbol ID
> baseCoinstringBase coin
> settleCoinstringSettle coin
> sidestringSide: Buy or Sell
> ecContractTypestringEvent contract type: UpDown, Target, Range
> ecDirectionstringDirection: UP/DOWN (UpDown type), ABOVE/BELOW (Target type), RANGE_IN/RANGE_OUT (Range type)
> settlePricestringSettlement price
> entryPricestringEntry price
> grossPayoutRatiostringGross payout ratio
> ecDurationWindowstringDuration window in seconds
> ecTargetPricestringTarget price. Target type only.
> ecLowerBoundstringLower bound. Range type only.
> ecUpperBoundstringUpper bound. Range type only.
> transTimestringTransaction time in milliseconds
> crossSeqstringCross sequence number
> execFeestringExecution fee
> execFeeRatestringExecution fee rate
> payoutstringSettlement payout amount
> sessionRplstringSession realised PnL
> orderIdstringRelated order ID
cursorstringCursor for next page pagination

Request Example

GET /v5/event/settlements?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": [
{
"transId": "tx-001",
"symbol": "ETHUSDT-28AUG26-2450-2570-OUT",
"symbolId": "100001",
"baseCoin": "BTC",
"settleCoin": "USDT",
"side": "Buy",
"ecContractType": "UpDown",
"ecDirection": "UP",
"settlePrice": "26500",
"entryPrice": "26000.5",
"grossPayoutRatio": "1.85",
"ecDurationWindow": "300",
"ecTargetPrice": "",
"ecLowerBound": "",
"ecUpperBound": "",
"transTime": "1694515498753",
"crossSeq": "31413030",
"execFee": "0.5",
"execFeeRate": "0.01",
"payout": "92.5",
"sessionRpl": "42.5",
"orderId": "1234567890"
}
],
"cursor": ""
},
"retExtInfo": {},
"time": 1694402560000
}