TikTok LIVE Ranking

API docs
https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank

Get TikTok LIVE rankings: hourly, weekly, rookie and other leaderboards with rank, score and creator.

Price
$0.001USD / call
Method
POST
Response
JSON
Parameters
0 required · 5 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
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.
Time interval, use the default value to represent the current day, use -1 to represent the ranking record.
Rank type: 0: hourly_rank (Hourly Rank); 1: weekly_rank (Weekly Rank); 5: rookie_star_rank (Rookie Star Rank); 6: sale_rank (Sale Rank); 8: daily_rank (Daily Rank); 10: weekly_game_rank (Weekly Game Rank); 11: daily_game_rank (Daily Game Rank); 12: hall_of_fame_rank (Hall of Fame Rank); 13: champion_tournament (Champion Tournament (includes phase_one/two/three)); 14: daily_rookie_star_rank (Daily Rookie Star Rank); 15: fans_team_rank (Fans Team Rank); 16: ranking_league (Ranking League (App display: D5 Level Rank)); 20: pubg (PUBG Rank); 21: mlbb (MLBB Rank (Mobile Legends: Bang Bang)); 22: free_fire (Free Fire Rank); 23: sub_weekly_game_rank1 (Sub Weekly Game Rank 1); 24: sub_weekly_game_rank2 (Sub Weekly Game Rank 2); 25: sub_weekly_game_rank3 (Sub Weekly Game Rank 3); 26: collectibles (Collectibles Rank); 27: beauty (Beauty Rank); 28: women_wear (Women Wear Rank); 29: sale_rank_daily (Daily Sale Rank); 1001: league_campaign_rank (League Campaign Rank)
Region type, use the default value, the specific meaning is unknown.
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.
OutputExample
Responseoutputs · 223.3 KB · 4,240 lines
[
  {
    "data": {
      "data": {
        "rank_view": {
          "bulletin": {
            "enable": false,
            "notice_type": "",
            "schema": ""
          },
          "bulletin_loop": {
            "bulletins": []
          },
          "countdown": 61852,
          "cut_off_line": [
            {
              "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": "Top 20 LIVE creators will get ranking rewards",
                "key": "pm_mt_Live_WRbonus",
                "pieces": []
              },
              "cut_off_index": 20
            }
          ],
          "empty_rank_schema": "",
          "has_last_rank": true,
          "is_position_safe": true,
          "midday_peak_time_stamp": 1791313200,
          "next_period_time_stamp": 1791345600,
          "owner_rank": {
            "gap": {
              "ban_Info": 0,
              "button": {
                "action": 2,
                "button_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": "Send Gift",
                  "key": "pm_mt_live_page_gift",
                  "pieces": []
                },
                "button_display_type": 0,
                "button_type": "",
                "schema_url": ""
              },
              "display_type": 0,
              "gap_description": {
                "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} Diamonds to reach No. {1:string}",
                "key": "pm_mt_Live_WRdiamonds",
                "pieces": [
                  {
                    "string_value": "170.9K",
                    "type": 1
                  },
                  {
                    "string_value": "99",
                    "type": 1
                  }
                ]
              },
              "gap_extra": {
                "class_rank_extra": {
                  "bottom_schema": ""
                },
                "skip_info": {
                  "is_skip": false,
                  "skip_schema": ""
                },
                "tile_bottom_bar": {}
              },
              "gap_score": 0
            },
            "labels": [],
            "rank": 0,
            "rank_str": "99+",
            "rank_user": {
              "avatar_thumb": {
                "avg_color": "",
                "height": 0,
                "image_type": 0,
                "is_animated": false,
                "open_web_url": "",
                "uri": "100x100/tos-useast5-avt-0068-tx/34d4c2168595f3ae99ab5abed81d806f",
                "url_list": [
                  "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/34d4c2168595f3ae99ab5abed81d806f~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=3e08604f&x-expires=1791453600&x-signature=b1b86QJfweB%2BBhon60sXi%2By3mWg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
                  "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/34d4c2168595f3ae99ab5abed81d806f~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=973d5a76&x-expires=1791453600&x-signature=fFsZdiHFxe6IRKkMsMu5VudrxjY%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
                  "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/34d4c2168595f3ae99ab5abed81d806f~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=3bf03ba1&x-expires=1791453600&x-signature=T%2FwZ9pACjgSoIE5%2BcWNDnbHplQg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8"
                ],
                "width": 0
              },
              "badge_list": [],
              "display_id": "user778826688166389",
              "enigma_info": {
                "is_enigma_mask_on": false
              },
              "follow_info": {
                "follow_status": 0,
                "follower_count": 7339,
                "following_count": 9,
                "push_status": 0
              },
              "follow_status": 0,
              "id": 6952422426752206000,
              "id_str": "6952422426752205830",
              "nickname": "Yori",
              "secret": 0
            },
            "room_id": 0,
            "room_id_str": "",
            "score": 0,
            "score_description": "0",
            "weekly_rank_extra": {
              "curr_week_rank": 0,
              "last_week_rank": 0
            }
          },
          "primary_tabs": [],
          "rank_extra_info": {
            "class_extra": {
              "class_type": 400,
              "creator_class_image": {
                "avg_color": "",
                "height": 14,
                "image_type": 0,
                "is_animated": false,
                "open_web_url": "",
                "uri": "tos-alisg-i-cuqfs489yo-sg/class_rank/D2.png",
                "url_list": [
                  "http://p19-common-sign.tiktokcdn-us.com/tos-alisg-i-cuqfs489yo-sg/class_rank/D2.png~tplv-tiktokx-origin.image?dr=9643&refresh_token=2c45372a&x-expires=1791302400&x-signature=17wlHHnlAqAnC37D7edOZvWwNe0%3D&t=4d5b0474&ps=13740610&shp=75a09491&shcp=75a09491&idc=useast8"
                ],
                "width": 32
              }
            },
            "hall_of_fame_rank_extra": {
              "is_first_day": false
            }
          },
          "rank_type": 8,
          "ranks": [
            {
              "labels": [],
              "rank": 1,
              "rank_str": "1",
              "rank_user": {
                "avatar_thumb": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "100x100/tos-useast8-avt-0068-tx2/114828e0069dc8085e9d470caefa71e8",
                  "url_list": [
                    "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/114828e0069dc8085e9d470caefa71e8~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=9fa2156c&x-expires=1791453600&x-signature=l56jCgvmt1BuwyRWiMO1rHlIldw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
                    "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/114828e0069dc8085e9d470caefa71e8~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=130ea673&x-expires=1791453600&x-signature=Lvzi8ufoCzzXSRBp1wTkarGv9Vs%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
                    "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/114828e0069dc8085e9d470caefa71e8~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=e80743a9&x-expires=1791453600&x-signature=3%2B1JP7BK9lLguxE0teXJiCyPqGU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8"
                  ],
                  "width": 0
                },
                "badge_list": [],
                "display_id": "saucysantana",
                "enigma_info": {
                  "is_enigma_mask_on": false
                },
                "follow_info": {
                  "follow_status": 0,
                  "follower_count": 5343001,
                  "following_count": 1474,
                  "push_status": 0
                },
                "follow_status": 0,
                "id": 6732956919511975000,
                "id_str": "6732956919511974918",
                "nickname": "Saucy Santana",
                "secret": 0
              },
              "room_id": 0,
              "room_id_str": "0",
              "score": 1014521,
              "score_description": "1.0M"
            },
            {
              "labels": [],
              "rank": 2,
              "rank_str": "2",
              "rank_user": {
                "avatar_thumb": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "100x100/tos-useast8-avt-0068-tx2/d98d8073a65ecd0b7109d2e5e9bc83ed",
                  "url_list": [
                    "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d98d8073a65ecd0b7109d2e5e9bc83ed~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=c4f2a220&x-expires=1791453600&x-signature=XwP3BcqVVqYuWs1b4uoj4SO0xNY%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5",
                    "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d98d8073a65ecd0b7109d2e5e9bc83ed~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=22851e17&x-expires=1791453600&x-signature=Rt5%2BUONg3UvQVZ5qkbBS8ySzg2c%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5",
                    "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/d98d8073a65ecd0b7109d2e5e9bc83ed~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=5d84985c&x-expires=1791453600&x-signature=TOjpragghGvsbF%2BVzfZhUji7AQQ%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5"
                  ],
                  "width": 0
                },
                "badge_list": [],
                "display_id": "rafa.aleex",
                "enigma_info": {
                  "is_enigma_mask_on": false
                },
                "follow_info": {
                  "follow_status": 0,
                  "follower_count": 486061,
                  "following_count": 830,
                  "push_status": 0
                },
                "follow_status": 0,
                "id": 6816913280406160000,
                "id_str": "6816913280406160390",
                "nickname": "R A F A 🔥",
                "secret": 0
              },
              "room_id": 0,
              "room_id_str": "0",
              "score": 937497,
              "score_description": "937.4K"
            },
            {
              "labels": [],
              "rank": 3,
              "rank_str": "3",
              "rank_user": {
                "avatar_thumb": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "100x100/tos-useast5-avt-0068-tx/ef3c397be5039a0d2cc5c0aa33a47828",
                  "url_list": [
                    "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ef3c397be5039a0d2cc5c0aa33a47828~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=dc0bd4ba&x-expires=1791453600&x-signature=NqSgC0hp5p8jlph47NBaEMGS3xg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
                    "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ef3c397be5039a0d2cc5c0aa33a47828~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=e7f808df&x-expires=1791453600&x-signature=URTGcNIY7ujE%2BISsDDcvFFAPlso%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8",
                    "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ef3c397be5039a0d2cc5c0aa33a47828~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=32ded5d1&x-expires=1791453600&x-signature=WxRsJCcqwuY4QiDGrW%2BqhR8GRS4%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast8"
                  ],
                  "width": 0
                },
                "badge_list": [],
                "display_id": "fitwitsoff",
                "enigma_info": {
                  "is_enigma_mask_on": false
                },
                "follow_info": {
                  "follow_status": 0,
                  "follower_count": 210917,
                  "following_count": 999,
                  "push_status": 0
                },
                "follow_status": 0,
                "id": 7176704965531551000,
                "id_str": "7176704965531550762",
                "nickname": "Sofia🫀",
                "secret": 0
              },
              "room_id": 0,
              "room_id_str": "0",
              "score": 889099,
              "score_description": "889.0K"
            },
            {
              "labels": [],
              "rank": 4,
              "rank_str": "4",
              "rank_user": {
                "avatar_thumb": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,

Examples

Select an example to load its inputs and result into the playground.

API README

TikTok LIVE Ranking API

Returns a TikTok LIVE leaderboard with each creator's rank, score and profile summary. Pick the board with rank_type (hourly, weekly, rookie star, daily and others). All inputs are optional, and the request sent here used none, so it returned the daily ranking (rank_type 8).

Use cases

  • Track which creators lead the daily or weekly LIVE leaderboard.
  • Spot rookie creators climbing the rookie star board for partnership outreach.
  • Compare the score gap between the top ranks and a given creator's position.
  • Store board snapshots over time to chart how a creator's rank changes.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
anchor_idstringNoAnchor 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.
gap_intervalintegerNoTime interval, use the default value to represent the current day, use -1 to represent the ranking record.
rank_typeintegerNoRank type: 0: hourly_rank (Hourly Rank); 1: weekly_rank (Weekly Rank); 5: rookie_star_rank (Rookie Star Rank); 6: sale_rank (Sale Rank); 8: daily_rank (Daily Rank); 10: weekly_game_rank (Weekly Game Rank); 11: daily_game
region_typeintegerNoRegion type, use the default value, the specific meaning is unknown.
room_idstringNoLive 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.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "rank_view": {
      "bulletin": {
        "enable": false,
        "notice_type": "",
        "schema": ""
      },
      "bulletin_loop": {
        "bulletins": []
      },
      "countdown": 72967,
      "cut_off_line": [
        {
          "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": "Top 20 LIVE creators will get ranking rewards",
            "key": "pm_mt_Live_WRbonus",
            "pieces": []
          },
          "cut_off_index": 20
        }
      ],
      "empty_rank_schema": "",
      "has_last_rank": true,
      "is_position_safe": true,
      "midday_peak_time_stamp": 1793732400,
      "next_period_time_stamp": 1793764800,
      "owner_rank": {
        "gap": {
          "ban_Info": 0,
          "button": {
            "action": 2,
            "button_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": "Send Gift",
              "key": "pm_mt_live_page_gift",
              "pieces": []
            },
            "button_display_type": 0,
            "button_type": "",
            "schema_url": ""
          },
          "display_type": 0,
          "gap_description": {
            "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} Diamonds to reach No. {1:string}",
            "key": "pm_mt_Live_WRdiamonds",
            "pieces": [
              {
                "string_value": "182.6K",
                "type": 1
              }
            ]
          },
          "gap_extra": {
            "class_rank_extra": {
              "bottom_schema": ""
            },
            "skip_info": {
              "is_skip": false,
              "skip_schema": ""
            },
            "tile_bottom_bar": {}
          },
          "gap_score": 0
        },
        "labels": [],
        "rank": 0,
        "rank_str": "99+",
        "rank_user": {
          "avatar_thumb": {
            "avg_color": "",
            "height": 0,
            "image_type": 0,
            "is_animated": false,
            "open_web_url": "",
            "uri": "100x100/tos-useast5-avt-0068-tx/34d4c2168595f3ae99ab5abed81d806f",
            "url_list": [
              "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/34d4c2168595f3a…"
            ],
            "width": 0
          },
          "badge_list": [],
          "display_id": "user778826688166389",
          "enigma_info": {
            "is_enigma_mask_on": false
          },
          "follow_info": {
            "follow_status": 0,
            "follower_count": 7321,
            "following_count": 9,
            "push_status": 0
          },
          "follow_status": 0,
          "id": 6952422426752205830,
          "id_str": "6952422426752205830"
        },
        "room_id": 0,
        "room_id_str": "",
        "score": 0
      },
      "primary_tabs": [],
      "rank_extra_info": {
        "class_extra": {
          "class_type": 400,
          "creator_class_image": {
            "avg_color": "",
            "height": 14,
            "image_type": 0,
            "is_animated": false,
            "open_web_url": "",
            "uri": "tos-alisg-i-cuqfs489yo-sg/class_rank/D2.png",
            "url_list": [
              "http://p16-common-sign.tiktokcdn-us.com/tos-alisg-i-cuqfs489yo-sg/class_rank/D2.…"
            ],
            "width": 32
          }
        },
        "hall_of_fame_rank_extra": {
          "is_first_day": false
        }
      }
    }
  },
  "extra": {
    "now": 1793691833381
  },
  "status_code": 0
}

Response fields

FieldMeaning
data.rank_view.titleName of the board returned, for example Daily Ranking.
data.rank_view.rank_typeNumeric id of the board. It matches the rank_type request parameter.
data.rank_view.ranks[].rank / data.rank_view.ranks[].rank_strPosition of the creator on the board, as a number and as a string.
data.rank_view.ranks[].score / data.rank_view.ranks[].score_descriptionThe creator's score on this board. score_description is a short display form such as 1.0M.
data.rank_view.ranks[].rank_user.display_idThe creator's TikTok username.
data.rank_view.ranks[].rank_user.id_strThe creator's user ID as a string.
data.rank_view.ranks[].rank_user.follow_info.follower_countFollower count of the ranked creator.
data.rank_view.cut_off_line[].content.default_patternText describing the reward cutoff, such as the top 20 creators getting ranking rewards. cut_off_index gives the cutoff rank.
data.rank_view.owner_rank.rank_strRank of the account tied to the request, shown as 99+ in this response.
data.rank_view.owner_rank.gap.gap_description.pieces[].string_valueValues that fill the gap text, for example the diamonds needed to reach the next rank.

Notes

  • Get room_id and anchor_id from TikTok Broadcast Room Information. They change the owner_rank data.
  • Use gap_interval -1 to get the ranking record instead of the current day.
  • data.rank_view.countdown, midday_peak_time_stamp and next_period_time_stamp are timing values for the board period. The timestamps look like Unix seconds.
  • To check whether a ranked creator is live now, call TikTok LIVE Status.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explore more

Related APIs

All APIs
APIPriceResponse
TikTok$0.001 per callJSON
TikTok$0.001 per callJSON
TikTok$0.01 per callJSON
TikTok$0.001 per callJSON
TikTok$0.001 per callJSON
TikTok$0.001 per callJSON

Questions

FAQ

How do I use the TikTok LIVE Ranking API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the TikTok LIVE Ranking API cost?

$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the TikTok LIVE Ranking API accept?

No parameters are required. Optional: anchor_id (string), gap_interval (integer), rank_type (integer), region_type (integer) and room_id (string). The Parameters table and the Playground on this page list every field.

What does the TikTok LIVE Ranking API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a TikTok developer account or API key?

No. TikTok LIVE Ranking runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.