News & Contents

Sharelist Detail

GEThttps://openapi.longbridge.com/v1/sharelists/{id}

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 sharelist detail including name, description, and constituent stocks.

>_ CLI
longbridge sharelist detail 123

Request

Path parameters

NameTypeRequiredDescription
idintegerRequiredSharelist ID

Response

Response properties

NameTypeRequiredDescription
sharelistobjectRequiredSharelist information
scopesobjectOptionalSubscription scope info
idintegerRequiredSharelist ID
descriptionstringOptionalDescription
coverstringOptionalCover image URL
subscribers_countintegerOptionalNumber of subscribers
chgstringOptionalDay change percentage
this_year_chgstringOptionalYear-to-date change
subscribedbooleanOptionalWhether subscribed
sharelist_typeintegerOptionalType: `0`=regular, `3`=official, `4`=industry
industry_codestringOptionalIndustry code
is_selfbooleanOptionalWhether the current user is the creator
subscriptionbooleanOptionalWhether the current user is subscribed

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "id": 123,
    "name": "AI Picks",
    "description": "Top AI infrastructure stocks",
    "securities": [
      "AAPL.US",
      "NVDA.US"
    ]
  }
}

Error code

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