人气排行分类
获取人气排行榜的标签分类配置,second_tags[].key 可传入 rank_list。
SDK Links
Parameters
SDK 方法参数。
此方法无参数。
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"first_tags": [
{
"key": "ib_hot",
"name": "热度排行",
"second_tags": [
{ "key": "ib_hot_all-us", "name": "美股总热度", "market": "US" },
{ "key": "ib_hot_all-hk", "name": "港股总热度", "market": "HK" },
{ "key": "ib_hot_all-cn", "name": "A 股总热度", "market": "CN" }
]
},
{
"key": "ib_change",
"name": "涨跌排行",
"second_tags": [
{ "key": "ib_change_top-us", "name": "美股涨幅榜", "market": "US" },
{ "key": "ib_change_top-hk", "name": "港股涨幅榜", "market": "HK" }
]
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | RankCategoriesResponse |
| 400 | 请求错误 | None |
Schemas
RankCategoriesResponse
| Name | Type | Required | Description |
|---|---|---|---|
| first_tags | object[] | false | 一级分类列表 |
| ∟ key | string | false | 一级分类键值 |
| ∟ name | string | false | 一级分类名称 |
| ∟ second_tags | object[] | false | 二级分类列表 |
| ∟ ∟ key | string | false | 二级分类键值,可传入 rank_list 的 key 参数 |
| ∟ ∟ name | string | false | 二级分类名称 |
| ∟ ∟ market | string | false | 所属市场:US、HK、CN、SG |