News & Contents

Sharelists

GEThttps://openapi.longbridge.com/v1/sharelists

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 all community stock lists (sharelists) created by or subscribed to by the current user.

>_ CLI
longbridge sharelist
longbridge sharelist --format json

Request

Query parameters

NameTypeRequiredDescription
typestringOptionalFilter: `mine` or `subscribed`. Omit for both.

Response

Response properties

NameTypeRequiredDescription
sharelistsobject[]OptionalUser's own sharelists
subscribed_sharelistsobject[]OptionalSubscribed sharelists
tail_markstringOptionalPagination cursor for subscribed list
idintegerRequiredSharelist ID
descriptionstringOptionalDescription
coverstringOptionalCover image URL
subscribers_countintegerOptionalNumber of subscribers
chgstringOptionalDay change percentage
this_year_chgstringOptionalYear-to-date change percentage
subscribedbooleanOptionalWhether the current user is subscribed
sharelist_typeintegerOptionalType: `0`=regular, `3`=official, `4`=industry
industry_codestringOptionalIndustry code (for industry sharelists)
symbolstringRequiredSecurity symbol
codestringOptionalTicker code
marketstringOptionalMarket
introstringOptionalBrief description
last_donestringOptionalLatest price
changestringOptionalDay change percentage
trade_statusintegerOptionalTrade status code
latencybooleanOptionalWhether quote data is delayed
unread_change_log_categorystringOptionalUnread change log category

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "mine": [
      {
        "id": 15921,
        "name": "AI Picks",
        "type": "Regular",
        "day_change": "-0.40",
        "ytd_change": "6.64",
        "subscribers": 500
      }
    ],
    "subscribed": []
  }
}

Error code

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