Market

Unusual Items

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

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=.

Detect unusual market movements — price spikes, volume surges, and other abnormal trading activity.

>_ CLI
longbridge anomaly --market US
longbridge anomaly --market HK

Request

Query parameters

NameTypeRequiredDescription
marketstringRequiredMarket code: `US`, `HK`, `SH`, `SZ`, `SG`

Response

Response properties

NameTypeRequiredDescription
all_offbooleanOptionalWhether anomaly alerts are globally disabled
changesobject[]OptionalList of market anomaly events
└ symbolstringRequiredSecurity symbol
└ namestringOptionalSecurity name
└ alert_namestringOptionalAnomaly type name
└ alert_timeintegerOptionalAnomaly time (Unix timestamp, ms)
└ emotionintegerOptionalSentiment: `1`=positive/up, `2`=negative/down
└ change_valuesstring[]OptionalChange 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.