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.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.01 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON

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

问题

常见问题

如何使用 TikTok Webcast User Information API?

向 https://api.sandbase.ai/v1/api/tiktok/app-v3/webcast-user-info 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。TikTok Webcast User Information 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。