GET /api/v5/exchangeos/system/status - 系统状态#
查询 Exchange OS 当前系统状态。
该接口需要使用 API Key。
请求限频:5 QPS。
Exchange OS REST 基础路径:
/api/v5/exchangeos/
Request Example
http
GET /api/v5/exchangeos/system/status
Response Fields
响应外层字段
| Field | Type | Description |
|---|---|---|
code | String | 0 表示请求成功。 |
msg | String | 错误消息;请求成功时返回空字符串。 |
data | Array | 系统状态列表。 |
ts | String | 系统确认时间,Unix 毫秒时间戳。 |
data 元素字段
| Field | Type | Description |
|---|---|---|
service | String | 系统服务分类。 |
state | String | 系统当前状态。 |
service 枚举
| Value | Description |
|---|---|
tradezone | Tradezone 出块状态。 |
trading | Trading 下单及交易链路状态。 |
query | 核心查询数据链路状态。 |
state 枚举
| Value | Description |
|---|---|
normal | 系统正常运行。 |
abnormal | 系统运行异常。 |
Response Example: All Systems Normal
json
{
"code": "0",
"msg": "",
"data": [
{
"service": "tradezone",
"state": "normal"
},
{
"service": "trading",
"state": "normal"
},
{
"service": "query",
"state": "normal"
}
],
"ts": "1789606800000"
}
Response Example: Trading Path Abnormal
json
{
"code": "0",
"msg": "",
"data": [
{
"service": "tradezone",
"state": "normal"
},
{
"service": "trading",
"state": "abnormal"
},
{
"service": "query",
"state": "normal"
}
],
"ts": "1789606800000"
}
Response Example: Query Path Abnormal
json
{
"code": "0",
"msg": "",
"data": [
{
"service": "tradezone",
"state": "normal"
},
{
"service": "trading",
"state": "normal"
},
{
"service": "query",
"state": "abnormal"
}
],
"ts": "1789606800000"
}
Response Example: Multiple Systems Abnormal
json
{
"code": "0",
"msg": "",
"data": [
{
"service": "tradezone",
"state": "abnormal"
},
{
"service": "trading",
"state": "abnormal"
},
{
"service": "query",
"state": "abnormal"
}
],
"ts": "1789606800000"
}
