DEV Community

tokinsight
tokinsight

Posted on • Edited on

How to Scrape TikTok Live/Webcast Room Data via TokInsight Free API

๐Ÿš€ Overview

TokInsight is a powerful TikTok API platform that provides comprehensive data insights and original data for TikTok content creators, marketers, and businesses. Our platform offers real-time access to TikTok's vast data ecosystem through a robust REST API. Including :

  • Profile, Device, Video, Music, Comment, Hashtag, Collection(Mix), Trending, Search, Live, Shop, Place, Effect, etc.
  • All apis are mobile versions

๐Ÿ“ž Contact

โœจ Live / Webcast Room API Overview

1. Anchor Live Room ID

GET /tok/v1/user_uniqueid/
Enter fullscreen mode Exit fullscreen mode
  • Get user current live room id. The room Id of the anchor is different every time when they launch their live stream

๐Ÿ“‹ Parameters

Parameter Type Required Description
unique_id string โœ… the anchor user name

๐Ÿ’ก How to get anchor user name?

  • From User Web Profile:
  • From User App Profile:

Notice: it's not nick name

2. Check Live Room Status

GET /tok/v1/webcast_room_check_alive/
Enter fullscreen mode Exit fullscreen mode
  • Check the alive status of live room

๐Ÿ“‹ Parameters

Parameter Type Required Description
room_id string โœ… the webcast room id

๐Ÿ’ก How to get live room id?

  • From API /tok/v1/user_uniqueid/

3. Check Multiple Live Rooms Status

GET /tok/v1/webcast_room_check_alive_batch/
Enter fullscreen mode Exit fullscreen mode
  • Check multi live room status

๐Ÿ“‹ Parameters

Parameter Type Required Description
room_ids string โœ… the multi webcast room ids, such as: 12345,4567,2345

๐Ÿ’ก How to get live room id?

  • From API /tok/v1/user_uniqueid/

4. Get User Live Profile

GET /tok/v1/webcast_room_user_info/
Enter fullscreen mode Exit fullscreen mode
  • Get user webcast room profile, the data is different from the user profile

๐Ÿ“‹ Parameters

Parameter Type Required Description
uid string โœ… user id

๐Ÿ’ก How to get uid?

  • From API /tok/v1/user_uniqueid/
  • From Many APIs Response

5. Get Live Room Messages

GET /tok/v1/webcast_room_msg_fetch/
Enter fullscreen mode Exit fullscreen mode
  • Get live room current messages, including welcome messages, chat messages, gift message, member messages, game messages, link messages etc.

๐Ÿ“‹ Parameters

Parameter Type Required Description
room_id string โœ… the live room id
cursor string โœ… message cursor, first time 0, next time get from resp
region string โŒ the live room region

๐Ÿ’ก How to get cursor?

  • From respone of api webcast_room_msg_fetch
{
    .....
    "cursor": "1755626467063_7540358255462062135_1_1_1755626451824_0",
    "fetch_interval": 1000,
    "internal_ext": "fetch_time:1755626467063|start_time:0|ack_ids:,,|flag:0|seq:1|next_cursor:1755626467063_7540358255462062135_1_1_1755626451824_0|wss_info:1-1755626467063-0-1",
    "is_first": true,
    "history_comment_cursor": "7540357990382111501"
}
Enter fullscreen mode Exit fullscreen mode

You can get cursor and history_comment_cursor value.

  • If you want to keep getting the next message in the live stream, use the cursor vaule from the previous webcast_room_msg_fetch response.
  • If you want to keep getting the history messages in the live stream. The first time, you can get history_comment_cursor value from the first response of webcast_room_msg_fetch api, then the next history message, you should get history_comment_cursor value from api webcast_room_history_msg_fetch

6. Get Live Room History Messages

GET /tok/v1/webcast_room_history_msg_fetch/
Enter fullscreen mode Exit fullscreen mode
  • Get live room history messages, including welcome messages, chat messages, gift message, member messages, game messages, link messages etc.
  • Get up to 10 messages each time

๐Ÿ“‹ Parameters

Parameter Type Required Description
room_id string โœ… the live room id
history_comment_cursor string โœ… message cursor, first time 0, next time get from resp
region string โŒ the live room region

๐Ÿ’ก How to get history cursor?

{
    .....
    "now": 1755628286507,
    "history_comment_cursor": "7540355145495989014"
}
Enter fullscreen mode Exit fullscreen mode

You can get history_comment_cursor value from api webcast_room_msg_fetch and webcast_room_msg_fetch

  • The first time, you can get history_comment_cursor value from the first response of webcast_room_msg_fetch api
  • The next time, the next history message, you should get history_comment_cursor value from api webcast_room_history_msg_fetch

๐Ÿš€ Quick Start

๐Ÿ“Š One Click

webcast00

webcast01

webcast02

webcast03

webcast04

๐Ÿ“Š Response Structure

/tok/v1/user_uniqueid/ resp:

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "202506301742213709******796D",
    "now": 1751305342000
  },
  "log_pb": {
    "impr_id": "202506301742213709******96D"
  },
  "room_id": "7540635682529282838",
  "sec_uid": "MS4wLjABAAAAbsJXIi7Zp_stpGTHActlHPynpla61vPsjnLrFVzbYypKLerluPfKRHL7FvvjakM9",
  "status_code": 0,
  "status_msg": "",
  "uid": "7327233093398807585"
}
Enter fullscreen mode Exit fullscreen mode

/tok/v1/webcast_room_check_alive/ resp:

{
    "data": [
      {
        "alive": true,
        "room_id": 7539920378915048000,
        "room_id_str": "7539920378915048214"
      }
    ],
    "extra": {
      "now": 1755891158836
    },
    "status_code": 0
  }
Enter fullscreen mode Exit fullscreen mode

/tok/v1/webcast_room_check_alive_batch/ resp:

{
    "data": [
      {
        "alive": true,
        "room_id": 7539905857515458000,
        "room_id_str": "7539905857515457302"
      },
      {
        "alive": true,
        "room_id": 7539920378915048000,
        "room_id_str": "7539920378915048214"
      }
    ],
    "extra": {
      "now": 1755891158836
    },
    "status_code": 0
  }
Enter fullscreen mode Exit fullscreen mode

/tok/v1/webcast_room_user_info/ resp:

{
    "data": {
      "allow_find_by_contacts": false,
      "allow_others_download_video": false,
      "allow_others_download_when_sharing_video": false,
      "allow_share_show_profile": false,
      "allow_show_in_gossip": false,
      "allow_show_my_action": false,
      "allow_strange_comment": false,
      "allow_unfollower_comment": false,
      "allow_use_linkmic": false,
      "author_stats": {
        "variety_show_play_count": 0,
        "video_total_count": 0,
        "video_total_favorite_count": 23963,
        "video_total_play_count": 0,
        "video_total_series_count": 0,
        "video_total_share_count": 0
      },
      "avatar_large": {
        "avg_color": "",
        "height": 0,
        "image_type": 0,
        "is_animated": false,
        "open_web_url": "",
        "uri": "1080x1080/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177",
        "url_list": [
          "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:1080:1080.webp?dr=14579&refresh_token=1a970a84&x-expires=1755702000&x-signature=on1PbP6WAC4ziNGacHjfb7mLXMc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my",
          "https://p19-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:1080:1080.webp?dr=14579&refresh_token=92acb43c&x-expires=1755702000&x-signature=Z5XQVlGwKuumVKzW1k97ej9YF1I%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my",
          "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=3a5bea8b&x-expires=1755702000&x-signature=pR1jtZZm%2BmtP35jtP98JUhDHyTU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my"
        ],
        "width": 0
      },
      "avatar_medium": {
        "avg_color": "",
        "height": 0,
        "image_type": 0,
        "is_animated": false,
        "open_web_url": "",
        "uri": "720x720/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177",
        "url_list": [
          "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:720:720.webp?dr=14579&refresh_token=267f2cc2&x-expires=1755702000&x-signature=Bj9AIlrBNoPrUzZmrpzp449TxAA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my",
          "https://p19-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:720:720.webp?dr=14579&refresh_token=9fdfaa70&x-expires=1755702000&x-signature=UkwKt7LFzMPrGSVI8iyy5OfWUtc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my",
          "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=ae15d204&x-expires=1755702000&x-signature=RpiSd4VSH9Us6iy082LIZi%2BxcHc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my"
        ],
        "width": 0
      },
      "avatar_thumb": {
        "avg_color": "",
        "height": 0,
        "image_type": 0,
        "is_animated": false,
        "open_web_url": "",
        "uri": "100x100/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177",
        "url_list": [
          "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:100:100.webp?dr=14579&refresh_token=7050e9fa&x-expires=1755702000&x-signature=43RzYBPRBeg4oSsuj%2F0s7Ck99IQ%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my",
          "https://p19-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:100:100.webp?dr=14579&refresh_token=13cd73da&x-expires=1755702000&x-signature=IBrqOAQEf01yBocVWB%2BAEqyQVqA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my",
          "https://p16-common-sign-useastred.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/68b0f150228940e5e0ca944da6bc9177~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=f2f4662b&x-expires=1755702000&x-signature=LEg7eywEUcDaid46beA9s5KB%2FSw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=5be10d83&idc=my"
        ],
        "width": 0
      },
      "badge_image_list": [],
      "badge_list": [],
      "bg_img_url": "",
      "bio_description": "Natural Gems ๐Ÿ’Ž Jewelry Factory ๐Ÿ‡จ๐Ÿ‡ณ\nLeo & Davina",
      "block_status": 0,
      "border_list": [],
      "comment_restrict": 0,
      "commerce_webcast_config_ids": [],
      "constellation": "",
      "create_time": 0,
      "display_id": "davinaluostudio_gb",
      "enable_ichat_img": 0,
      "exp": 0,
      "fan_ticket_count": 0,
      "fold_stranger_chat": false,
      "follow_info": {
        "follow_status": 0,
        "follower_count": 122854,
        "following_count": 677,
        "push_status": 0
      },
      "follow_status": 0,
      "ichat_restrict_type": 0,
      "id": 7327233093398808000,
      "id_str": "7327233093398807585",
      "is_anchor_marked": false,
      "is_block": false,
      "is_follower": false,
      "is_following": false,
      "is_subscribe": false,
      "link_mic_stats": 1,
      "media_badge_image_list": [],
      "mint_type_label": [],
      "modify_time": 1755521232,
      "need_profile_guide": false,
      "new_real_time_icons": [],
      "nickname": "Davinaluostudio_GB",
      "pay_grade": {
        "grade_icon_list": [],
        "level": 0,
        "name": "",
        "next_name": "",
        "next_privileges": "",
        "score": 0,
        "screen_chat_type": 0,
        "upgrade_need_consume": 0
      },
      "pay_score": 0,
      "pay_scores": 0,
      "push_comment_status": false,
      "push_digg": false,
      "push_follow": false,
      "push_friend_action": false,
      "push_ichat": false,
      "push_status": false,
      "push_video_post": false,
      "push_video_recommend": false,
      "real_time_icons": [],
      "scm_label": "",
      "sec_uid": "MS4wLjABAAAAbsJXIi7Zp_stpGTHActlHPynpla61vPsjnLrFVzbYypKLerluPfKRHL7FvvjakM9",
      "secret": 0,
      "share_qrcode_uri": "",
      "special_id": "",
      "status": 1,
      "ticket_count": 0,
      "top_fans": [],
      "top_vip_no": 0,
      "upcoming_event_list": [],
      "user_attr": {
        "admin_permissions": {},
        "has_voting_function": false,
        "is_admin": false,
        "is_channel_admin": false,
        "is_muted": false,
        "is_super_admin": false,
        "mute_duration": 0
      },
      "user_role": 0,
      "verified": false,
      "verified_content": "",
      "verified_reason": "",
      "with_car_management_permission": false,
      "with_commerce_permission": false,
      "with_fusion_shop_entry": false
    },
    "extra": {
      "anonymous_is_silence": false,
      "now": 1755531348279,
      "preload_empty_reason": ""
    },
    "status_code": 0
  }
Enter fullscreen mode Exit fullscreen mode

/tok/v1/webcast_room_msg_fetch/ resp:

{
    "messages": [
      {
        "method": "WebcastChatMessage",
        "payload": {
          "common": {
            "method": "WebcastChatMessage",
            "msgId": "7540357990382111501",
            "roomId": "7540298176301894422",
            "createTime": "1755626418239",
            "isShowMsg": true,
            "foldType": "2",
            "anchorFoldType": "2",
            "fromIdc": "useast5",
            "anchorPriorityScore": "1000",
            "roomMessageHeatLevel": "1",
            "foldTypeForWeb": "2",
            "anchorFoldTypeForWeb": "2",
            "clientSendTime": "1755626417603"
          },
          "user": {
            "id": "7040115635246941189",
            "nickname": "Zafiro Oropeza-Galva",
            "avatarThumb": {
              "urlList": [
                "https://p19-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/e549abefaa5611ceb0de8b7aa0cc578b~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=6ca52f18&x-expires=1755799200&x-signature=YOYm9mA4%2BbVO%2BOxr1gxbAWo%2B1fI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5",
                "https://p16-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/e549abefaa5611ceb0de8b7aa0cc578b~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=601b17a5&x-expires=1755799200&x-signature=iiWSD15cJHYfiCB8%2Fb%2FhcL2efd4%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5",
                "https://p19-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/e549abefaa5611ceb0de8b7aa0cc578b~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=467b8da0&x-expires=1755799200&x-signature=QRt8v2WukJNxrg2GU6W0ZsSZ%2Fmo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=useast5"
              ],
              "uri": "100x100/tos-useast8-avt-0068-tx2/e549abefaa5611ceb0de8b7aa0cc578b"
            },
            "followInfo": {
              "followingCount": "461",
              "followerCount": "268",
              "followStatus": "2"
            },
            "payGrade": {},
            "userAttr": {},
            "displayId": "zafirobebe",
            "secUid": "MS4wLjABAAAAE6r9Dzwd_HZh_ZrtvZd04otwAFHoNQFiysvfs_r0v_Pea-sAAk-_6EkaI5yMOCl3"
          },
          "content": "Any big ring on sale ( ring) ๐Ÿ˜ณ ๐Ÿ‘€๐Ÿ˜๐Ÿ˜",
          "contentLanguage": "en",
          "userIdentity": {
            "isMutualFollowingWithAnchor": true,
            "isFollowerOfAnchor": true
          },
          "commentQualityScores": [
            {
              "version": "user_type_rule",
              "score": "300000"
            },
            {
              "version": "community-flagged",
              "score": "-1"
            },
            {
              "version": "commentator_id",
              "score": "7040115635246941189"
            },
            {
              "version": "default",
              "score": "1755626418174000"
            },
            {
              "version": "default_app",
              "score": "10000"
            },
            {
              "version": "rankV3",
              "score": "1755626418175000"
            },
            {
              "version": "ttp_rule_rerank",
              "score": "1755626418175000"
            },
            {
              "version": "timestamp_desc",
              "score": "98244373581825000"
            },
            {
              "version": "tikcast_community_comment_18866_v7_r655069",
              "score": "1755626418175000"
            },
            {
              "version": "tikcast_community_comment_18866_v7_r655069_desc",
              "score": "1755626418175000"
            },
            {
              "version": "idc_rule_rerank",
              "score": "1755626418175000"
            },
            {
              "version": "v13_r712088",
              "score": "1755626418175000"
            },
            {
              "version": "v12_r702075",
              "score": "1755626418175000"
            }
          ],
          "commentTag": [
            "COMMENT_TAG_NORMAL"
          ],
          "publicAreaMessageCommon": {
            "creatorSuccessInfo": {
              "tags": [
                {
                  "tagType": "TAG_TYPE_CREATOR_CRM_TAG_TYPE_ECOMMERCE_TAG",
                  "tagText": {
                    "key": "BADGE_FOLLOWER",
                    "defaultPattern": "Follower ยท Followed for 530 days",
                    "pieces": [
                      {
                        "type": 1,
                        "stringValue": "Follower"
                      },
                      {
                        "type": 1,
                        "stringValue": "Followed for 530 days"
                      }
                    ]
                  }
                }
              ]
            },
            "portraitInfo": {}
          },
          "signature": "45f13d2c739ea07a064162b5dcce1d5f",
          "signatureVersion": "v1"
        },
        "msg_id": 7540357990382112000,
        "is_history": true
      },
      ....
    ],
    "cursor": "1755626467063_7540358255462062135_1_1_1755626451824_0",
    "fetch_interval": 1000,
    "now": 1755626467063,
    "internal_ext": "fetch_time:1755626467063|start_time:0|ack_ids:,,|flag:0|seq:1|next_cursor:1755626467063_7540358255462062135_1_1_1755626451824_0|wss_info:1-1755626467063-0-1",
    "is_first": true,
    "history_comment_cursor": "7540357990382111501"
  }
Enter fullscreen mode Exit fullscreen mode

/tok/v1/webcast_room_history_msg_fetch/ resp:

{
    "messages": [
      {
        "method": "WebcastChatMessage",
        "payload": {
          "common": {
            "method": "WebcastChatMessage",
            "msgId": "7540355812308372246",
            "roomId": "7540315749735254806",
            "createTime": "1755625906553",
            "isShowMsg": true,
            "foldType": "2",
            "anchorFoldType": "2",
            "fromIdc": "no1a",
            "roomMessageHeatLevel": "3",
            "foldTypeForWeb": "2",
            "anchorFoldTypeForWeb": "2",
            "clientSendTime": "1755625906041"
          },
          "user": {
            "id": "7505343803353400342",
            "nickname": "Live Deals",
            "avatarThumb": {
              "urlList": [
                "https://p16-sign-va.tiktokcdn.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.webp?dr=10399&refresh_token=d1ea03a0&x-expires=1755795600&x-signature=gECUmeentyyd9YtFWAfY8l8q05w%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=no1a",
                "https://p77-sign-va.tiktokcdn.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.webp?dr=10399&refresh_token=2114a64c&x-expires=1755795600&x-signature=sBM4MpyuuNDf8EON%2BzNAcWFlJVM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=no1a",
                "https://p16-sign-va.tiktokcdn.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.jpeg?dr=10399&refresh_token=326a51a7&x-expires=1755795600&x-signature=kyVaUOO%2BRtCbG4cDnopVYQpYi2o%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=fdd36af4&idc=no1a",
                "https://p16-common-sign-va.tiktokcdn-us.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.webp?dr=13166&refresh_token=4694ce8d&x-expires=1755795600&x-signature=nOFOUdgyykP5OJnLufR7ahje9V0%3D&t=4d5b0474&ps=ae600521&shp=a5d48078&shcp=fdd36af4&idc=no1a",
                "https://p19-common-sign-va.tiktokcdn-us.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.webp?dr=13166&refresh_token=b45f8d2c&x-expires=1755795600&x-signature=ftCbYn8kCH635907Tp0iP4UFTdo%3D&t=4d5b0474&ps=ae600521&shp=a5d48078&shcp=fdd36af4&idc=no1a",
                "https://p16-common-sign-va.tiktokcdn-us.com/musically-maliva-obj/1594805258216454~tplv-tiktokx-cropcenter:100:100.jpeg?dr=13166&refresh_token=1e9e5830&x-expires=1755795600&x-signature=A7wyd46MYMMNIPJUObMH9EMyEgQ%3D&t=4d5b0474&ps=ae600521&shp=a5d48078&shcp=fdd36af4&idc=no1a"
              ],
              "uri": "100x100/musically-maliva-obj/1594805258216454"
            },
            "badgeImageList": [
              {
                "urlList": [
                  "https://p16-webcast.tiktokcdn.com/webcast-sg/new_top_gifter_version_2.png~tplv-obj.image",
                  "https://p19-webcast.tiktokcdn.com/webcast-sg/new_top_gifter_version_2.png~tplv-obj.image"
                ],
                "uri": "webcast-sg/new_top_gifter_version_2.png",
                "imageType": 31
              }
            ],
            "followInfo": {
              "followingCount": "1",
              "followerCount": "4"
            },
            "payGrade": {},
            "userAttr": {},
            "displayId": "live.deals1",
            "secUid": "MS4wLjABAAAASm6KmJIWu-Qt-zKPukIDd7j1kYTpZgOQpXJsXVWUVpfGhn9mqqZStZgBduM2mH3x",
            "badgeList": [
              {
                "displayType": "BadgeDisplayType_Image",
                "priorityType": "BadgePriorityType_RankList",
                "sceneType": "BadgeSceneType_Ranklist",
                "position": "PositionRight",
                "OpenWebURL": "sslocal://webcast_webview_popup?url=https%3A%2F%2Finapp.tiktokv.com%2Flive%2Fmonetization%2Franking%2Ftopview%2Ffaq-new&web_bg_color=FFFFFF&gravity=bottom&height=60%25&show_mask=1&mask_bg_color=000000b3&radius=8&use_spark=1&rank=1&score=55",
                "privilegeLogExtra": {
                  "dataVersion": "0",
                  "privilegeId": "0",
                  "privilegeVersion": "0",
                  "Level": "0"
                },
                "image": {
                  "displayType": "BadgeDisplayType_Image",
                  "image": {
                    "urlList": [
                      "https://p16-webcast.tiktokcdn.com/webcast-sg/new_top_gifter_version_2.png~tplv-obj.image",
                      "https://p19-webcast.tiktokcdn.com/webcast-sg/new_top_gifter_version_2.png~tplv-obj.image"
                    ],
                    "uri": "webcast-sg/new_top_gifter_version_2.png",
                    "imageType": 31
                  }
                }
              },
              {
                "displayType": "BadgeDisplayType_Combine",
                "priorityType": "BadgePriorityType_RankList",
                "sceneType": "BadgeSceneType_Ranklist",
                "position": "PositionRight",
                "OpenWebURL": "sslocal://webcast_webview_popup?url=https%3A%2F%2Finapp.tiktokv.com%2Flive%2Fmonetization%2Franking%2Ftopview%2Ffaq-new&web_bg_color=FFFFFF&gravity=bottom&height=60%25&show_mask=1&mask_bg_color=000000b3&radius=8&use_spark=1&rank=1&score=55",
                "display": true,
                "privilegeLogExtra": {
                  "dataVersion": "0",
                  "privilegeId": "0",
                  "privilegeVersion": "0",
                  "Level": "0"
                },
                "combine": {
                  "displayType": "BadgeDisplayType_Combine",
                  "icon": {
                    "urlList": [
                      "https://p16-webcast.tiktokcdn.com/webcast-sg/new_top_gifter_version_2.png~tplv-obj.image",
                      "https://p19-webcast.tiktokcdn.com/webcast-sg/new_top_gifter_version_2.png~tplv-obj.image"
                    ],
                    "uri": "webcast-sg/new_top_gifter_version_2.png",
                    "imageType": 31,
                    "openWebUrl": "sslocal://webcast_webview_popup?url=https%3A%2F%2Finapp.tiktokv.com%2Flive%2Fmonetization%2Franking%2Ftopview%2Ffaq-new&web_bg_color=FFFFFF&gravity=bottom&height=60%25&show_mask=1&mask_bg_color=000000b3&radius=8&use_spark=1&rank=1&score=55"
                  },
                  "text": {
                    "key": "pm_mt_badeg_notes_profile1",
                    "defaultPattern": "No. 1"
                  },
                  "background": {
                    "image": {},
                    "backgroundColorCode": "#66FE2C55"
                  },
                  "backgroundDarkMode": {
                    "image": {},
                    "backgroundColorCode": "#66FE2C55"
                  },
                  "publicScreenShowStyle": 14,
                  "personalCardShowStyle": 15,
                  "ranklistOnlineAudienceShowStyle": 14,
                  "multiGuestShowStyle": 14
                }
              }
            ]
          },
          "content": "84 rolls for ยฃ25.99",
          "contentLanguage": "en",
          "userIdentity": {},
          "commentQualityScores": [
            {
              "version": "user_type_rule",
              "score": "100000"
            },
            {
              "version": "community-flagged",
              "score": "7710515"
            },
            {
              "version": "commentator_id",
              "score": "7505343803353400342"
            },
            {
              "version": "default",
              "score": "1755625907020000"
            },
            {
              "version": "default_app",
              "score": "10000"
            },
            {
              "version": "rankV3",
              "score": "1755625910000099"
            },
            {
              "version": "ttp_rule_rerank",
              "score": "1755625916496000"
            },
            {
              "version": "timestamp_desc",
              "score": "98244374093504000"
            },
            {
              "version": "tikcast_community_comment_18866_v7_r655069",
              "score": "1755625916496000"
            },
            {
              "version": "tikcast_community_comment_18866_v7_r655069_desc",
              "score": "1755625916496000"
            },
            {
              "version": "idc_rule_rerank",
              "score": "1755625956496000"
            },
            {
              "version": "v13_r712088",
              "score": "1755625956496000"
            },
            {
              "version": "v12_r702075",
              "score": "1755625956496000"
            },
            {
              "version": "batch_rank_v1",
              "score": "1755625957020000"
            }
          ],
          "commentTag": [
            "COMMENT_TAG_NORMAL"
          ],
          "publicAreaMessageCommon": {
            "creatorSuccessInfo": {},
            "portraitInfo": {}
          },
          "signature": "766204261f0f5d5efa99b5198394cb34",
          "signatureVersion": "v1"
        },
        "msg_id": 7540355812308372000
      },
      ....
    ],
    "now": 1755628212644,
    "history_comment_cursor": "7540355409489103638"
  }
Enter fullscreen mode Exit fullscreen mode

Top comments (0)