Market

Current Market Temperature

GEThttps://openapi.longbridge.com/v1/quote/market_temperature

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-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.

>_ CLI
longbridge market-temp [MARKET]

Request

Query parameters

NameTypeRequiredDescription
marketstringRequiredMarket code. One of `HK`, `US`, `CN`, `SG`.

Response

Response properties

NameTypeRequiredDescription
temperatureintegerOptionalCurrent market temperature (0–100).
descriptionstringOptionalText description of the current temperature.
valuationintegerOptionalValuation score.
sentimentintegerOptionalSentiment score.
updated_atstringOptionalUpdate 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.