TikTok-App-V3-API

获取直播每日榜单数据/Get live daily rank data

Changed on

[中文]

用途:

  • 获取直播每日榜单数据

参数:

  • anchor_id: 主播id,可以从直播间信息接口获取,使用默认值即可,该参数会影响返回的数据,你可以尝试不同直播间的主播id。

  • room_id: 直播间id,可以从直播间信息接口获取,使用默认值即可,该参数会影响返回的数据,你可以尝试不同直播间的id。

  • rank_type: 榜单类型,参数值如下表:

    typerankName分组类型说明
    0hourly_rankGIFT_RANK小时榜
    1weekly_rankGIFT_RANK周榜
    5rookie_star_rankGIFT_RANK新星榜
    6sale_rankE_COMMERCE带货榜
    8daily_rankGIFT_RANK日榜
    10weekly_game_rankGAME_RANK周游戏榜
    11daily_game_rankGAME_RANK日游戏榜
    12hall_of_fame_rankGIFT_RANK名人堂
    13champion_tournamentGIFT_RANK冠军赛(含phase_one/two/three)
    14daily_rookie_star_rankGIFT_RANK日新星榜
    15fans_team_rankGIFT_RANK粉丝团榜
    16ranking_leagueGIFT_RANK排位联赛(App内显示: D5段位榜)
    20pubgGAME_RANKPUBG游戏榜
    21mlbbGAME_RANKMLBB游戏榜(Mobile Legends: Bang Bang)
    22free_fireGAME_RANKFree Fire游戏榜
    23sub_weekly_game_rank1GAME_RANK子周游戏榜1
    24sub_weekly_game_rank2GAME_RANK子周游戏榜2
    25sub_weekly_game_rank3GAME_RANK子周游戏榜3
    26collectiblesE_COMMERCE收藏品榜
    27beautyE_COMMERCE美妆榜
    28women_wearE_COMMERCE女装榜
    29sale_rank_dailyE_COMMERCE日带货榜
    1001league_campaign_rankGIFT_RANK联赛活动榜
    -1unknownDEFAULT未知
  • region_type: 地区类型,使用默认值即可,具体含义不明。

  • gap_interval: 时间间隔,使用默认值代表当天,使用-1代表排名记录。

  • cookie: 用户自己的cookie,可选参数,用于接口不可用时使用。

返回:

  • 直播每日榜单数据

[English]

Purpose:

  • Get live daily rank data

Parameters:

  • anchor_id: Anchor id, which can be obtained from the live room information interface, use the default value, this parameter will affect the returned data, you can try different anchor ids of different live rooms.

  • room_id: Live room id, which can be obtained from the live room information interface, use the default value, this parameter will affect the returned data, you can try different room ids of different live rooms.

  • rank_type: Rank type, parameter values are as follows:

    typerankNameGroup TypeDescription
    0hourly_rankGIFT_RANKHourly Rank
    1weekly_rankGIFT_RANKWeekly Rank
    5rookie_star_rankGIFT_RANKRookie Star Rank
    6sale_rankE_COMMERCESale Rank
    8daily_rankGIFT_RANKDaily Rank
    10weekly_game_rankGAME_RANKWeekly Game Rank
    11daily_game_rankGAME_RANKDaily Game Rank
    12hall_of_fame_rankGIFT_RANKHall of Fame Rank
    13champion_tournamentGIFT_RANKChampion Tournament (includes phase_one/two/three)
    14daily_rookie_star_rankGIFT_RANKDaily Rookie Star Rank
    15fans_team_rankGIFT_RANKFans Team Rank
    16ranking_leagueGIFT_RANKRanking League (App display: D5 Level Rank)
    20pubgGAME_RANKPUBG Rank
    21mlbbGAME_RANKMLBB Rank (Mobile Legends: Bang Bang)
    22free_fireGAME_RANKFree Fire Rank
    23sub_weekly_game_rank1GAME_RANKSub Weekly Game Rank 1
    24sub_weekly_game_rank2GAME_RANKSub Weekly Game Rank 2
    25sub_weekly_game_rank3GAME_RANKSub Weekly Game Rank 3
    26collectiblesE_COMMERCECollectibles Rank
    27beautyE_COMMERCEBeauty Rank
    28women_wearE_COMMERCEWomen Wear Rank
    29sale_rank_dailyE_COMMERCEDaily Sale Rank
    1001league_campaign_rankGIFT_RANKLeague Campaign Rank
    -1unknownDEFAULTUnknown
  • region_type: Region type, use the default value, the specific meaning is unknown.

  • gap_interval: Time interval, use the default value to represent the current day, use -1 to represent the ranking record.

  • cookie: User's own cookie, optional parameter, used when the interface is not available.

Return:

  • Live daily rank data
get/api/v1/tiktok/app/v3/fetch_live_daily_rank

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

anchor_idstring

主播id/Anchor id

room_idstring

直播间id/Live room id

rank_typeinteger

榜单类型/Rank type

region_typeinteger

地区类型/Region type

gap_intervalinteger

时间间隔/Time interval

cookiestring

用户自己的cookie/User's own cookie

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      the response's property default value changed from This request will be cached. You can access the cached result directly using the URL below valid for 24 hours. Accessing the cache will not incur additional charges. to This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again. for the status

    • info

      the response's property default value changed from 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 to 本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。 for the status