Market
Authorization
Signed mode: every request is signed with your App Key/Secret. Header set:
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string · header | Required | The account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation. |
X-Api-Key | string · header | Required | Your App Key. |
X-Timestamp | string · header | Required | Request timestamp in seconds (Unix epoch). |
X-Api-Signature | string · header | Required | HMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=. |
Get the current open/close status for each exchange.
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
market | string | Optional | Market code: `US`, `HK`, `SH`, `SZ`, `SG`. Omit for all markets. |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
market_time | object[] | Optional | List of market status items |
└ market | string | Optional | Market: `US`, `HK`, `CN`, `SG`, `Crypto` |
└ trade_status | integer | Optional | Trading status code |
└ timestamp | string | Optional | Event time (Unix seconds as string) |
└ delay_trade_status | integer | Optional | Delayed trading status |
└ delay_timestamp | string | Optional | Delay timestamp |
└ sub_status | integer | Optional | Sub-status. |
└ delay_sub_status | integer | Optional | Delayed subscription status |
Response JSON example
{
"code": 0,
"message": "success",
"data": {
"market_time": [
{
"market": "US",
"delay_sub_status": 0,
"delay_timestamp": "0",
"delay_trade_status": 0
},
{
"market": "HK",
"delay_sub_status": 0,
"delay_timestamp": "0",
"delay_trade_status": 0
}
]
}
}Error code
See the Error Codes page for the full list of error codes.