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=. |
Detect unusual market movements — price spikes, volume surges, and other abnormal trading activity.
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
market | string | Required | Market code: `US`, `HK`, `SH`, `SZ`, `SG` |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
all_off | boolean | Optional | Whether anomaly alerts are globally disabled |
changes | object[] | Optional | List of market anomaly events |
└ symbol | string | Required | Security symbol |
└ name | string | Optional | Security name |
└ alert_name | string | Optional | Anomaly type name |
└ alert_time | integer | Optional | Anomaly time (Unix timestamp, ms) |
└ emotion | integer | Optional | Sentiment: `1`=positive/up, `2`=negative/down |
└ change_values | string[] | Optional | Change value strings |
Response JSON example
{
"code": 0,
"message": "success",
"data": {
"all_off": false,
"changes": [
{
"symbol": "TSLA.US",
"name": "Tesla Inc.",
"alert_name": "Block Trade",
"alert_time": 1778198400000,
"emotion": 1,
"change_values": [
"+5.2%"
]
}
]
}
}Error code
See the Error Codes page for the full list of error codes.