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=. |
Quote Permission RequiredFree
Included with OpenAPI activation — no extra purchase needed.
Get the historical market temperature time series for the specified market within a date range. Each data point contains the daily temperature, valuation, and sentiment scores (all scored 0–100).
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
market | string | Required | Market code. One of `HK`, `US`, `CN`, `SG`. |
start_date | string | Required | Start date in `YYYYMMDD` format (e.g. `20250101`). |
end_date | string | Required | End date in `YYYYMMDD` format (e.g. `20250110`). |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
list | object[] | Optional | Market-temperature time series. |
└ timestamp | string | Optional | Unix timestamp of the data point. |
└ temperature | integer | Optional | Market temperature (0–100). |
└ valuation | integer | Optional | Valuation score. |
└ sentiment | integer | Optional | Sentiment score. |
type | string | Optional | Granularity of the series, e.g. `day`. |
Response JSON example
{
"code": 0,
"message": "success",
"data": {
"list": [
{
"timestamp": "1735794000",
"temperature": 58,
"valuation": 54,
"sentiment": 61
},
{
"timestamp": "1735880400",
"temperature": 59,
"valuation": 56,
"sentiment": 63
}
],
"type": "day"
}
}Error code
See the Error Codes page for the full list of error codes.