Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

TikTok Webcast User Information

API 文件
https://api.sandbase.ai/v1/api/tiktok/app-v3/webcast-user-info

Retrieves profile information for a specified TikTok Webcast user. Queries data using either a numeric user ID or a secure user ID.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 2 個選填

Playground

輸入
User sec_user_id
User uid, optional parameter, pure number, if used, please keep sec_user_id and unique_id empty.
輸出範例
回應outputs · 15.2 KB · 408 行
[
  {
    "data": {
      "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": 727,
          "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/webcast-va/enigma-avatar.png",
          "url_list": [
            "https://p19-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:1080:1080.webp?dr=9640&refresh_token=c0d64bb2&x-expires=1791399600&x-signature=RgOsQ9zZtlNdk9vmPvIBXYXgmvw%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8",
            "https://p16-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:1080:1080.webp?dr=9640&refresh_token=7eb90278&x-expires=1791399600&x-signature=dWVCWuSpeX6Bh3qFmn7n%2FfhG%2FCo%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8",
            "https://p19-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=42b370f8&x-expires=1791399600&x-signature=WLnBhFB9koram0iyX0WvUVftqH8%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8"
          ],
          "width": 0
        },
        "avatar_medium": {
          "avg_color": "",
          "height": 0,
          "image_type": 0,
          "is_animated": false,
          "open_web_url": "",
          "uri": "720x720/webcast-va/enigma-avatar.png",
          "url_list": [
            "https://p19-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=0ea36c70&x-expires=1791399600&x-signature=GFiwHv55NJxZotSiwl1dmDzo0hE%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8",
            "https://p16-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=eceada7b&x-expires=1791399600&x-signature=XhJR3vDPtktOxlTsCwcE0gWPjaA%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8",
            "https://p19-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=1b5fcf57&x-expires=1791399600&x-signature=5J2b%2Bc3GUsa4vcBqBW4E14GHIM8%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8"
          ],
          "width": 0
        },
        "avatar_thumb": {
          "avg_color": "",
          "height": 0,
          "image_type": 0,
          "is_animated": false,
          "open_web_url": "",
          "uri": "100x100/webcast-va/enigma-avatar.png",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=a36aa784&x-expires=1791399600&x-signature=GZmrj18VAloNkFBLemrFHJ1lB48%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8",
            "https://p19-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=bc5f8cc7&x-expires=1791399600&x-signature=0%2BW%2BLU0Rndw7VTrlddBj1vv39U8%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8",
            "https://p16-common-sign.tiktokcdn-us.com/webcast-va/enigma-avatar.png~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=0fc0f744&x-expires=1791399600&x-signature=argDrC8uM%2FHxUGHeb5aVXQ7c4jo%3D&t=4d5b0474&ps=13740610&shp=5be10d83&shcp=9b759fb9&idc=useast8"
          ],
          "width": 0
        },
        "badge_image_list": [],
        "badge_list": [
          {
            "OpenWebURL": "",
            "combine": {
              "background": {
                "background_color_code": "#E61D2255",
                "border_color_code": "#B3EDF7FF",
                "image": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "",
                  "url_list": [],
                  "width": 0
                },
                "left_side_image": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "",
                  "url_list": [],
                  "width": 0
                }
              },
              "background_auto_mirrored": false,
              "background_dark_mode": {
                "background_color_code": "",
                "border_color_code": "",
                "image": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "",
                  "url_list": [],
                  "width": 0
                },
                "left_side_image": {
                  "avg_color": "",
                  "height": 0,
                  "image_type": 0,
                  "is_animated": false,
                  "open_web_url": "",
                  "uri": "",
                  "url_list": [],
                  "width": 0
                }
              },
              "display_type": 4,
              "icon": {
                "avg_color": "",
                "height": 14,
                "image_type": 37,
                "is_animated": false,
                "open_web_url": "",
                "uri": "webcast-va/enigma_badge_mask.png",
                "url_list": [
                  "https://p16-webcast.tiktokcdn.com/webcast-va/enigma_badge_mask.png~tplv-obj.image",
                  "https://p19-webcast.tiktokcdn.com/webcast-va/enigma_badge_mask.png~tplv-obj.image"
                ],
                "width": 14
              },
              "icon_auto_mirrored": false,
              "multi_guest_show_style": 0,
              "padding": {
                "badge_width": 0,
                "horizontal_padding_rule": 0,
                "icon_bottom_padding": 0,
                "icon_top_padding": 0,
                "left_padding": 2,
                "middle_padding": 0,
                "right_padding": 2,
                "use_specific": true,
                "vertical_padding_rule": 0
              },
              "padding_new_font": {
                "badge_width": 18,
                "horizontal_padding_rule": 0,
                "icon_bottom_padding": 0,
                "icon_top_padding": 0,
                "left_padding": 0,
                "middle_padding": 4,
                "right_padding": 0,
                "use_specific": true,
                "vertical_padding_rule": 0
              },
              "personal_card_show_style": 8,
              "public_screen_show_style": 12,
              "ranklist_online_audience_show_style": 0,
              "str": ""
            },
            "display": true,
            "display_status": 0,
            "display_type": 4,
            "exhibition_type": 0,
            "greyed_by_client": 0,
            "is_customized": false,
            "position": 1,
            "priority_type": 20,
            "privilege_log_extra": {
              "data_version": "0",
              "end_time": 0,
              "level": "0",
              "privilege_id": "0",
              "privilege_order_id": "",
              "privilege_version": "0",
              "start_time": 0
            },
            "scene_type": 14
          }
        ],
        "bg_img_url": "",
        "bio_description": "",
        "block_status": 0,
        "border": {
          "avatar_background_border_color": "#00000000",
          "avatar_background_color": "#33000000",
          "border_privilege_log_extra": {
            "data_version": "0",
            "end_time": 1791919225,
            "level": "0",
            "privilege_id": "7551235818376809217",
            "privilege_order_id": "",
            "privilege_version": "0",
            "start_time": 1791314425
          },
          "desc_starling_key": "",
          "description": "",
          "icon": {
            "avg_color": "",
            "height": 0,
            "image_type": 0,
            "is_animated": false,
            "open_web_url": "",
            "uri": "webcast-va/5a75bd8540209be5db3951346288146366dadc30.png-1758159032523",
            "url_list": [
              "https://p16-webcast.tiktokcdn.com/webcast-va/5a75bd8540209be5db3951346288146366dadc30.png-1758159032523~tplv-obj.png",
              "https://p19-webcast.tiktokcdn.com/webcast-va/5a75bd8540209be5db3951346288146366dadc30.png-1758159032523~tplv-obj.png"
            ],
            "width": 0
          },
          "is_taller_avatar_background": false,
          "level": 1,
          "name": "",
          "name_starling_key": "ttlive_enigma_featureTitle",
          "profile_decoration_ribbon": {
            "avg_color": "",
            "height": 0,
            "image_type": 0,
            "is_animated": false,
            "open_web_url": "",
            "uri": "",
            "url_list": [],
            "width": 0
          },
          "profile_privilege_log_extra": {
            "data_version": "0",
            "end_time": 1791919225,
            "level": "0",
            "privilege_id": "7551235818376809217",
            "privilege_order_id": "",
            "privilege_version": "0",
            "start_time": 1791314425
          },
          "source": ""
        },
        "border_list": [
          {
            "avatar_background_border_color": "#00000000",
            "avatar_background_color": "#33000000",
            "border_privilege_log_extra": {
              "data_version": "0",
              "end_time": 1791919225,
              "level": "0",
              "privilege_id": "7551235818376809217",
              "privilege_order_id": "",
              "privilege_version": "0",
              "start_time": 1791314425
            },
            "desc_starling_key": "",
            "description": "",
            "icon": {
              "avg_color": "",
              "height": 0,
              "image_type": 0,
              "is_animated": false,
              "open_web_url": "",
              "uri": "webcast-va/5a75bd8540209be5db3951346288146366dadc30.png-1758159032523",
              "url_list": [
                "https://p16-webcast.tiktokcdn.com/webcast-va/5a75bd8540209be5db3951346288146366dadc30.png-1758159032523~tplv-obj.png",
                "https://p19-webcast.tiktokcdn.com/webcast-va/5a75bd8540209be5db3951346288146366dadc30.png-1758159032523~tplv-obj.png"
              ],
              "width": 0
            },
            "is_taller_avatar_background": false,
            "level": 1,
            "name": "",
            "name_starling_key": "ttlive_enigma_featureTitle",
            "profile_decoration_ribbon": {
              "avg_color": "",
              "height": 0,
              "image_type": 0,
              "is_animated": false,
              "open_web_url": "",
              "uri": "",
              "url_list": [],
              "width": 0
            },
            "profile_privilege_log_extra": {
              "data_version": "0",
              "end_time": 1791919225,
              "level": "0",
              "privilege_id": "7551235818376809217",
              "privilege_order_id": "",
              "privilege_version": "0",
              "start_time": 1791314425
            },
            "source": ""
          }
        ],
        "comment_restrict": 0,
        "commerce_webcast_config_ids": [],
        "constellation": "",
        "create_time": 0,
        "deprecated1": 0,
        "deprecated12": 0,
        "deprecated13": 0,
        "deprecated15": 0,
        "deprecated16": false,
        "deprecated17": false,
        "deprecated18": "",

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

TikTok Webcast User Information API

Returns Webcast profile data for one TikTok user: bio, avatar images, verification details, privacy and live-interaction settings, and aggregate video stats. Send either sec_user_id or a numeric user_id.

Use cases

  • Show a broadcaster's bio and avatar in a live-stream monitoring dashboard.
  • Check whether an account carries a verification badge and read its verification reason.
  • Read the account's live-interaction settings, such as linkmic and stranger comments, before planning outreach.
  • Pull a creator's total favorite count to compare accounts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/webcast-user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'

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

Parameters

NameTypeRequiredDescription
sec_user_idstringNoUser sec_user_id
user_idstringNoUser uid, optional parameter, pure number, if used, please keep sec_user_id and unique_id empty.

Example response

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

{
  "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,
    "authentication_info": {
      "authentication_badge": {
        "avg_color": "",
        "height": 0,
        "image_type": 0,
        "is_animated": false,
        "open_web_url": "",
        "uri": "webcast-va/authentication_icon.png",
        "url_list": [
          "https://p16-webcast.tiktokcdn.com/webcast-va/authentication_icon.png~tplv-obj.im…"
        ],
        "width": 0
      },
      "custom_verify": "",
      "enterprise_verify_reason": "verified account",
      "has_cert": true
    },
    "author_stats": {
      "variety_show_play_count": 0,
      "video_total_count": 0,
      "video_total_favorite_count": 466687469,
      "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-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
      ],
      "width": 0
    }
  },
  "extra": {
    "anonymous_is_silence": false,
    "mirror_profile_card_decoration": false,
    "now": 1793691843072,
    "preload_empty_reason": ""
  },
  "status_code": 0
}

Response fields

FieldMeaning
data.bio_descriptionProfile bio text of the user.
data.authentication_info.has_certWhether the account holds a verification certificate. In this response it is true.
data.authentication_info.enterprise_verify_reasonText explaining the verification, such as verified account.
data.authentication_info.authentication_badge.url_list[]Image URLs for the verification badge icon.
data.author_stats.video_total_favorite_countTotal favorites (likes) counted across the user's videos.
data.author_stats.video_total_count / video_total_play_count / video_total_share_countAggregate video count, play count and share count. They return 0 in this response, so do not rely on them for this account.
data.avatar_large.url_list[] / avatar_medium.url_list[] / avatar_thumb.url_list[]Avatar image URLs in 1080x1080, 720x720 and 100x100 sizes. Each list holds several CDN links in webp and jpeg formats.
data.allow_use_linkmic / allow_strange_comment / allow_unfollower_commentPrivacy flags for live co-hosting (linkmic), comments from strangers, and comments from non-followers.
data.allow_others_download_video / allow_share_show_profileFlags for whether others may download the user's videos and whether sharing shows the profile.
extra.nowServer timestamp of the response, as a number in the form 1793691843072.

Notes

  • Use either sec_user_id or user_id. If you send user_id, leave sec_user_id and unique_id empty.
  • user_id is a purely numeric string. sec_user_id is a longer string that starts with MS4wLjABAAAA.
  • If you only have a username, call TikTok User ID by Username to get the IDs first.
  • Fields named deprecated* and several empty lists such as badge_list carry no data in this response.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.01JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

問題

常見問題

我要如何使用 TikTok Webcast User Information API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/app-v3/webcast-user-info。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

TikTok Webcast User Information API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

TikTok Webcast User Information API 接受哪些參數?

不需要任何參數。 選填:sec_user_id (string) 和 user_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok Webcast User Information API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 TikTok 開發者帳號或 API 金鑰嗎?

不需要。TikTok Webcast User Information 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。