Rate Limit: 10 requests per second per IP for Subscribe and Unsubscribe.
{
"event": "SUBSCRIBE",
"arg": [
{
"channel": "MARK_PRICE",
"instId": "OKX_PERP_BTC_USDT"
}
]
}
Field name | Type | Necessary | Remarks |
---|
event | String | Y | SUBSCRIBE, UNSUBSCRIBE |
args | Array | Y | Subscribe param,there can be no more than 50 instId parameters per subscribe |
> channel | String | Y | Channel name: MARK_PRICE |
> instId | String | Y | Unique identifier |
{
"event": "SUBSCRIBE",
"arg": [
{
"channel": "MARK_PRICE",
"instId": "BINANCE_PERP_BTC_USDT"
}
],
"code": 0,
"message": "Success"
}
Field | Type | Remarks |
---|
event | String | Event |
code | String | Error Code |
msg | String | Error Message |
args | Array | Subscribe param |
> channel | String | Channel |
> instId | String | Unique identifier |
{
"channel": "MARK_PRICE",
"localTs": 1736423655001,
"instId": "BINANCE_PERP_BTC_USDT",
"markPrice": "93476.2"
}
Field | Type | Remarks |
---|
channel | String | "MARK_PRICE" |
instId | String | Unique identifier |
markPrice | String | Mark price |
localTs | Long | Update time |