开发者平台

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

响应外层字段

FieldTypeDescription
codeString0 表示请求成功。
msgString错误消息;请求成功时返回空字符串。
dataArray系统状态列表。
tsString系统确认时间,Unix 毫秒时间戳。

data 元素字段

FieldTypeDescription
serviceString系统服务分类。
stateString系统当前状态。

service 枚举

ValueDescription
tradezoneTradezone 出块状态。
tradingTrading 下单及交易链路状态。
query核心查询数据链路状态。

state 枚举

ValueDescription
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"
}