Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Webcast User Information

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
User sec_user_id
User uid, optional parameter, pure number, if used, please keep sec_user_id and unique_id empty.
Đầu raVí dụ
Phản hồioutputs · 15.2 KB · 408 dòng
[
  {
    "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": "",

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.01 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Webcast User Information?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/webcast-user-info với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Webcast User Information có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Webcast User Information chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: sec_user_id (string) và user_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Webcast User Information trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Webcast User Information chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.