Rank Categories
Get the tag category configuration for the popularity leaderboard. second_tags[].key can be passed to rank_list.
SDK Links
Parameters
SDK method parameters.
This method takes no parameters.
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"first_tags": [
{
"key": "ib_hot",
"name": "Hotness Rank",
"second_tags": [
{ "key": "ib_hot_all-us", "name": "US Total Hotness", "market": "US" },
{ "key": "ib_hot_all-hk", "name": "HK Total Hotness", "market": "HK" },
{ "key": "ib_hot_all-cn", "name": "A-share Total Hotness", "market": "CN" }
]
},
{
"key": "ib_change",
"name": "Price Change Rank",
"second_tags": [
{ "key": "ib_change_top-us", "name": "US Top Gainers", "market": "US" },
{ "key": "ib_change_top-hk", "name": "HK Top Gainers", "market": "HK" }
]
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | RankCategoriesResponse |
| 400 | Bad request | None |
Schemas
RankCategoriesResponse
| Name | Type | Required | Description |
|---|---|---|---|
| first_tags | object[] | false | Top-level category list |
| ∟ key | string | false | Top-level category key |
| ∟ name | string | false | Top-level category name |
| ∟ second_tags | object[] | false | Second-level category list |
| ∟ ∟ key | string | false | Second-level category key; pass to rank_list as the key parameter |
| ∟ ∟ name | string | false | Second-level category name |
| ∟ ∟ market | string | false | Associated market: US, HK, CN, SG |