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 current sentiment temperature snapshot for the specified market. Scores range from 0–100; a higher value indicates a more bullish market.
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
market | string | Required | Market code. One of `HK`, `US`, `CN`, `SG`. |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
temperature | integer | Optional | Current market temperature (0–100). |
description | string | Optional | Text description of the current temperature. |
valuation | integer | Optional | Valuation score. |
sentiment | integer | Optional | Sentiment score. |
updated_at | string | Optional | Update time (Unix timestamp). |
Response JSON example
{
"code": 0,
"message": "success",
"data": {
"temperature": 70,
"description": "Warm & rising quickly",
"valuation": 59,
"sentiment": 82,
"updated_at": "1774317902"
}
}Error code
See the Error Codes page for the full list of error codes.