๐Ÿ‡บ๐Ÿ‡ธ English
  • ๐Ÿ‡จ๐Ÿ‡ณ็ฎ€ไฝ“ไธญๆ–‡
  • ๐Ÿ‡บ๐Ÿ‡ธ English
  1. Live
๐Ÿ‡บ๐Ÿ‡ธ English
  • ๐Ÿ‡จ๐Ÿ‡ณ็ฎ€ไฝ“ไธญๆ–‡
  • ๐Ÿ‡บ๐Ÿ‡ธ English
  • Introduction
  • Authentication
  • User
    • Get user information by ID
      GET
    • Extract user user_id
      GET
    • Extract user sec_uid
      GET
    • Get user video feed
      GET
    • Get user liked video feed
      GET
    • Get user playlists
      GET
    • Get playlist information by ID
      GET
    • Get user follower list
      GET
    • Get user following list
      GET
    • Get user region
      GET
    • Get user stories
      GET
    • Check ttseller identity
      GET
    • Check showcase activated
      GET
  • Video
    • Get video information by ID
      GET
    • Comments by video ID
      GET
    • Get comment replies
      GET
    • Comment information by ID
      GET
    • Trending categories feed list
      GET
    • Trending feed
      GET
    • Get video feed by play ID
      GET
    • Get video feed by hashtag ID
      GET
    • Get video feed by music ID
      GET
    • Get hashtag information by ID
      GET
    • Get music information by ID
      GET
    • Get user music list by user ID
      GET
    • Get product related videos
      GET
    • Get seller related videos
      GET
  • Live
    • Get live information by ID
      GET
    • Get live ranking list
      GET
    • Get live ranking information by ID
      GET
    • Check live stream on
      GET
  • Shop
    • Get product information by ID
    • Get seller categories
    • Get product level1 category metadata
    • Get product level2 category metadata
    • Get product level3 category metadata
    • Get seller information by ID
    • Get list of seller products
    • Get seller ID by Share Link
    • Get product ID by Share Link
    • Get web home products by category ID
    • Get video associated product list
    • Get user Related products
  • Search
    • Search user
    • Search video
    • Search hashtag
    • Search music
    • Search live
    • Search product
  • Errors
    • Bad Request (400)
    • Unauthorized (401)
    • Account Key Session Expiry (428)
    • Rate-Limit (429)
    • Server error (500)
  • Key
    • Get information about your API Key
  1. Live

Get live ranking list

GET
https://api.tikhubapi.com/api/v1//live/ranking/list
Live
Get live ranking list

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Query Params

Responses

๐ŸŸข200SUCCESS
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.tikhubapi.com/api/v1//live/ranking/list?room_id=7485143893470694186&user_id=7288986759428588590' \
--header 'Authorization: Basic <encoded-value>'
Response Response Example
{
    "code": 0,
    "msg": "success",
    "data": {
        "data": [
            {
                "Priority": 10,
                "animation_loop_for_off": false,
                "data": {
                    "entrances": [
                        {
                            "affiliated_content": {
                                "gap_desc": {
                                    "default_format": {
                                        "bold": false,
                                        "color": "#ffffffff",
                                        "font_size": 0,
                                        "italic": false,
                                        "italic_angle": 0,
                                        "use_heigh_light_color": false,
                                        "use_remote_clor": false,
                                        "weight": 400
                                    },
                                    "default_pattern": "{0:string} to reach No. 99",
                                    "key": "ttlive_ranking_rankingUpdateLabel_behindNo99",
                                    "pieces": [
                                        {
                                            "string_value": "197684",
                                            "type": 1
                                        }
                                    ]
                                }
                            },
                            "block_message": false,
                            "countdown": 55279,
                            "default_content": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "Daily Ranking",
                                "key": "pm_mt_daily_entrance",
                                "pieces": []
                            },
                            "owner_on_rank": false,
                            "owner_rank_idx": 0,
                            "rank_type": 8,
                            "related_tab_rank_type": 8,
                            "request_first_show_type": 8,
                            "reset_time": 1754625600,
                            "roll_config": {
                                "duration": 0,
                                "weight": 0
                            },
                            "window_size": 86400
                        },
                        {
                            "affiliated_content": {
                                "team_rank_bonus_time": {
                                    "bonus_rate": 2,
                                    "bonus_time_gift_id": 13651,
                                    "end_timestamp": 1754614800,
                                    "show_animation": false,
                                    "start_timestamp": 1754611200,
                                    "switch": true
                                }
                            },
                            "block_message": false,
                            "countdown": 55279,
                            "default_content": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "Popular LIVE",
                                "key": "pm_mt_trending_goLIVE_trending_tag",
                                "pieces": []
                            },
                            "owner_on_rank": false,
                            "owner_rank_idx": 0,
                            "rank_type": 15,
                            "related_tab_rank_type": 15,
                            "request_first_show_type": 15,
                            "reset_time": 1754625600,
                            "roll_config": {
                                "duration": 0,
                                "weight": 0
                            },
                            "window_size": 86400
                        },
                        {
                            "block_message": false,
                            "class_info": {
                                "class_type": 600,
                                "star_count": 0
                            },
                            "countdown": 55279,
                            "default_content": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "League {0:string} top {1:string}%",
                                "key": "ttlive_LIVEpage_rankingEntry_creatorRank",
                                "pieces": [
                                    {
                                        "string_value": "C5",
                                        "type": 1
                                    },
                                    {
                                        "string_value": "80",
                                        "type": 1
                                    }
                                ]
                            },
                            "entranceIcon": {
                                "avg_color": "",
                                "height": 13,
                                "image_type": 0,
                                "is_animated": false,
                                "open_web_url": "",
                                "uri": "tos-alisg-i-cuqfs489yo-sg/class_rank/entrance_C.png",
                                "url_list": [
                                    "http://p16-sign-sg.tiktokcdn.com/tos-alisg-i-cuqfs489yo-sg/class_rank/entrance_C.png~tplv-tiktokx-origin.image?dr=10402&refresh_token=ef3e3ca4&x-expires=1754589600&x-signature=1qSAIAavmEP%2BVZ7PmiM8mTP9O5w%3D&t=4d5b0474&ps=13740610&shp=75a09491&shcp=75a09491&idc=no1a"
                                ],
                                "width": 13
                            },
                            "owner_on_rank": false,
                            "owner_rank_idx": 0,
                            "rank_type": 16,
                            "related_tab_rank_type": 8,
                            "request_first_show_type": 16,
                            "reset_time": 0,
                            "roll_config": {
                                "duration": 0,
                                "weight": 0
                            },
                            "window_size": 0
                        }
                    ],
                    "tabs": [
                        {
                            "list_lynx_type": 0,
                            "rank_type": 8,
                            "title": "Daily Ranking",
                            "title_text": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "Daily Ranking",
                                "key": "pm_mt_daily_entrance",
                                "pieces": []
                            }
                        },
                        {
                            "list_lynx_type": 0,
                            "rank_type": 15,
                            "title": "Popular LIVE",
                            "title_text": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "Popular LIVE",
                                "key": "pm_mt_trending_goLIVE_trending_tag",
                                "pieces": []
                            }
                        }
                    ]
                },
                "group_type": 1,
                "is_animation_loop_play": false,
                "union_animation": {
                    "rank_type_array": [
                        8,
                        15,
                        16
                    ],
                    "supported_version": 0,
                    "union_type": 1
                }
            },
            {
                "Priority": 20,
                "animation_loop_for_off": false,
                "data": {
                    "entrances": [
                        {
                            "block_message": false,
                            "countdown": 318079,
                            "default_content": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "Shopping No.{0:string}",
                                "key": "pm_mt_shopping_ranking_top_title",
                                "pieces": [
                                    {
                                        "string_value": "57",
                                        "type": 1
                                    }
                                ]
                            },
                            "owner_on_rank": true,
                            "owner_rank_idx": 57,
                            "rank_type": 6,
                            "related_tab_rank_type": 6,
                            "request_first_show_type": 6,
                            "reset_time": 0,
                            "roll_config": {
                                "duration": 0,
                                "weight": 0
                            },
                            "window_size": 0
                        }
                    ],
                    "tabs": [
                        {
                            "list_lynx_type": 0,
                            "rank_type": 6,
                            "title": "LIVE Shopping Ranking",
                            "title_text": {
                                "default_format": {
                                    "bold": false,
                                    "color": "#ffffffff",
                                    "font_size": 0,
                                    "italic": false,
                                    "italic_angle": 0,
                                    "use_heigh_light_color": false,
                                    "use_remote_clor": false,
                                    "weight": 400
                                },
                                "default_pattern": "LIVE Shopping Ranking",
                                "key": "pm_mt_shopping_ranking_full_title",
                                "pieces": []
                            }
                        }
                    ]
                },
                "group_type": 2,
                "is_animation_loop_play": false,
                "union_animation": {
                    "rank_type_array": [
                        6
                    ],
                    "supported_version": 0,
                    "union_type": 2
                }
            }
        ],
        "extra": {
            "now": 1754570321797
        },
        "status_code": 0
    }
}
Previous
Get live information by ID
Next
Get live ranking information by ID
Built with