Get Engine Status
Query the availability status of the prediction market matching engine. When the engine is unavailable, buy and sell orders cannot be submitted.
info
- Call this endpoint before placing any buy or sell order to verify the engine is available
- If
available=false, do not proceed with trading
HTTP Request
GET/v5/alpha/prediction/engine-statusRequest Parameters
None
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| available | boolean | Whether the matching engine is currently available for trading |
Request Example
- HTTP
- Python
- Node.js
GET /v5/alpha/prediction/engine-status HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1704067200000
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"available": true
},
"retExtInfo": {},
"time": 1704067200000
}