Fundamental

Institution Rating Detail

GEThttps://openapi.longbridge.com/v1/quote/institution-ratings/detail

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

Get historical analyst rating and target price details.

>_ CLI
longbridge institution-rating detail TSLA.US
longbridge institution-rating detail AAPL.US

Request

Query parameters

NameTypeRequiredDescription
symbolstringRequiredSecurity symbol, e.g. `TSLA.US`

Response

Response properties

NameTypeRequiredDescription
evaluateobjectOptionalRating distribution history
└ listobject[]OptionalDaily holding history records
└ ∟ strong_buyintegerOptionalStrong buy count
└ ∟ buyintegerOptionalBuy count
└ ∟ holdintegerOptionalHold count
└ ∟ sellintegerOptionalSell count
└ ∟ underintegerOptionalUnderperform count
└ ∟ datestringOptionalDate
targetobjectOptionalTarget price history
└ updated_atstringOptionalUnix timestamp (seconds) of last update
└ prediction_accuracystringOptionalPrediction accuracy.
└ listobject[]OptionalDaily holding history records
└ ∟ timestampstringOptionalUnix timestamp
└ ∟ pricestringOptionalClosing price on that date
└ ∟ meetbooleanOptionalWhether price met target
└ ∟ avg_targetstringOptionalAverage target price
└ ∟ min_targetstringOptionalLowest target price
└ ∟ max_targetstringOptionalHighest target price
└ ∟ datestringOptionalDate
└ data_percentstringOptionalData completeness percentage.
ccy_symbolstringOptionalCurrency symbol

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "ccy_symbol": "$",
    "evaluate": {
      "list": [
        {
          "date": "2021/05/14",
          "buy": 3,
          "hold": 11,
          "sell": 2,
          "strong_buy": 9,
          "under": 6
        }
      ]
    },
    "target": {
      "list": [
        {
          "broker_name": "Goldman Sachs",
          "date": "2026-04-30",
          "rating": "Buy",
          "target_price": "250.00"
        }
      ]
    }
  }
}

Error code

See the Error Codes page for the full list of error codes.