跳转到内容

人气排行分类

获取人气排行榜的标签分类配置,second_tags[].key 可传入 rank_list。

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 ​

StatusDescriptionSchema
200成功RankCategoriesResponse
400请求错误None

Schemas ​

RankCategoriesResponse ​

NameTypeRequiredDescription
first_tagsobject[]false一级分类列表
∟ keystringfalse一级分类键值
∟ namestringfalse一级分类名称
∟ second_tagsobject[]false二级分类列表
∟ ∟ keystringfalse二级分类键值,可传入 rank_list 的 key 参数
∟ ∟ namestringfalse二级分类名称
∟ ∟ marketstringfalse所属市场:US、HK、CN、SG