List Sharelists
Get all community stock lists (sharelists) created by or subscribed to by the current user.
SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| type | string | NO | Filter: mine or subscribed. Omit for both. |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"mine": [
{
"id": 15921,
"name": "AI Picks",
"type": "Regular",
"day_change": "-0.40",
"ytd_change": "6.64",
"subscribers": 500
}
],
"subscribed": []
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | SharelistListResponse |
| 400 | Bad request | None |
Schemas
SharelistListResponse
| Name | Type | Required | Description |
|---|---|---|---|
| sharelists | object[] | false | User's own sharelists, see SharelistInfo |
| subscribed_sharelists | object[] | false | Subscribed sharelists, see SharelistInfo |
| tail_mark | string | false | Pagination cursor for subscribed list |
SharelistInfo
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | true | Sharelist ID |
| name | string | false | Sharelist name |
| description | string | false | Description |
| cover | string | false | Cover image URL |
| subscribers_count | integer | false | Number of subscribers |
| chg | string | false | Day change percentage |
| this_year_chg | string | false | Year-to-date change percentage |
| subscribed | boolean | false | Whether the current user is subscribed |
| sharelist_type | integer | false | Type: 0=regular, 3=official, 4=industry |
| industry_code | string | false | Industry code (for industry sharelists) |
| stocks | object[] | false | Constituent stocks, see SharelistStock |
SharelistStock
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | true | Security symbol |
| code | string | false | Ticker code |
| name | string | false | Security name |
| market | string | false | Market |
| intro | string | false | Brief description |
| last_done | string | false | Latest price |
| change | string | false | Day change percentage |
| trade_status | integer | false | Trade status code |
| latency | boolean | false | Whether quote data is delayed |
| unread_change_log_category | string | false | Unread change log category |

