Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

TikTok User Profile Details

API 文档
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-profile

Returns profile information for a specified TikTok user. Lookups can be performed using a numeric user ID, username, or sec_user_id.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
3 个标识符 · 提供一个
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
User sec_user_id
User unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user information, unique_id is also the user's username, if used, please keep sec_user_id and user_id empty.
User uid, optional parameter, pure number, if used, please keep sec_user_id and unique_id empty.
输出示例
响应outputs · 8.9 KB · 155 行
[
  {
    "data": {
      "extra": {
        "fatal_item_ids": [],
        "logid": "20261004192544C8764136B8D385D0E15D",
        "now": 1791141944000
      },
      "log_pb": {
        "impr_id": "20261004192544C8764136B8D385D0E15D"
      },
      "status_code": 0,
      "status_msg": "",
      "user": {
        "account_type": 0,
        "ad_virtual": false,
        "avatar_168x168": {
          "uri": "tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:168:168.webp?dr=9638&refresh_token=6c925d3c&x-expires=1791313200&x-signature=InB0Q2JOYQmei9SUI32nT7hvu5c%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:168:168.webp?dr=9638&refresh_token=5b121850&x-expires=1791313200&x-signature=%2Fcjw4IR1E9bUI5B9qHzUKi9rQQk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:168:168.jpeg?dr=9638&refresh_token=b0da4509&x-expires=1791313200&x-signature=%2B4uxKlDS%2FcT8asgL%2B19HBeMNq0A%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5"
          ],
          "url_prefix": null
        },
        "avatar_300x300": {
          "uri": "tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktok-shrink:282:282.jpeg?dr=9622&refresh_token=ba526a08&x-expires=1791162000&x-signature=6EQDjt0VQqxg4%2BfMcEKetq7WASg%3D&t=4d5b0474&ps=13740610&shp=2472a6c6&shcp=9b759fb9&idc=useast5&s=PACK_GO_API",
            "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:300:300.webp?dr=9638&refresh_token=abac024c&x-expires=1791313200&x-signature=GnTXf5%2F885mK8Rf3ijt82RND6Lw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:300:300.webp?dr=9638&refresh_token=0eab33ae&x-expires=1791313200&x-signature=J4CEgifQ2XqXtRY5d2vTI9yI7wU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "… 1 more items in the full response"
          ],
          "url_prefix": null
        },
        "avatar_larger": {
          "uri": "tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:1080:1080.webp?dr=9640&refresh_token=cbc5c425&x-expires=1791313200&x-signature=1cWMwqVKMJrwOmjaak2LAAM4Al8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:1080:1080.webp?dr=9640&refresh_token=06013d8e&x-expires=1791313200&x-signature=jVKcHeokwGZyakQCdSWIjXVWNXE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=1028a1fa&x-expires=1791313200&x-signature=l0B8YSzJyAZAg1C6%2BKdEAvQtCtk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5"
          ],
          "url_prefix": null
        },
        "avatar_medium": {
          "uri": "tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktok-shrink:282:282.jpeg?dr=9622&refresh_token=ba526a08&x-expires=1791162000&x-signature=6EQDjt0VQqxg4%2BfMcEKetq7WASg%3D&t=4d5b0474&ps=13740610&shp=2472a6c6&shcp=9b759fb9&idc=useast5&s=PACK_GO_API",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktok-shrink:282:282.jpeg?dr=9622&refresh_token=ba526a08&x-expires=1791162000&x-signature=6EQDjt0VQqxg4%2BfMcEKetq7WASg%3D&t=4d5b0474&ps=13740610&shp=2472a6c6&shcp=9b759fb9&idc=useast5&s=PACK_GO_API",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&refresh_token=f8482e81&x-expires=1791313200&x-signature=yq6MTa1bbqDWs9KbZyp0qpWhP4k%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "… 2 more items in the full response"
          ],
          "url_prefix": null
        },
        "avatar_thumb": {
          "uri": "tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktok-shrink:282:282.jpeg?dr=9622&refresh_token=ba526a08&x-expires=1791162000&x-signature=6EQDjt0VQqxg4%2BfMcEKetq7WASg%3D&t=4d5b0474&ps=13740610&shp=2472a6c6&shcp=9b759fb9&idc=useast5&s=PACK_GO_API",
            "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=cbdd897c&x-expires=1791313200&x-signature=8%2FyYa4Mjz1U3Gnm8ISG%2F2%2BnazRI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:100:100.webp?dr=9640&refresh_token=211b4252&x-expires=1791313200&x-signature=Fc0%2BJ7GTmbewO%2BXLMsfKnqWg9rg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=useast5",
            "… 1 more items in the full response"
          ],
          "url_prefix": null
        },
        "aweme_count": 0,
        "can_message_follow_status_list": [
          0,
          1,
          2,
          "… 1 more items in the full response"
        ],
        "category": "",
        "commerce_user_info": {
          "ad_revenue_rits": null
        },
        "commerce_user_level": 0,
        "custom_verify": "",
        "enterprise_verify_reason": "",
        "favoriting_count": 0,
        "follow_status": 0,
        "follower_count": 225,
        "follower_status": 0,
        "following_count": 89,
        "forward_count": 0,
        "has_open_favorite": false,
        "ins_id": "",
        "is_acquaintance": false,
        "is_block": false,
        "is_blocked": false,
        "is_effect_artist": false,
        "is_star": false,
        "live_commerce": false,
        "live_push_notification_status": 2,
        "message_chat_entry": true,
        "mplatform_followers_count": 0,
        "music_tab_info": {
          "show_artist_pick_videos": true
        },
        "nickname": "𝐉𝐀𝐐𝐔𝐄 𝐌𝐀𝐓𝐄🔥   ⃤⃟⃝ 🌹",
        "original_musician": {
          "digg_count": 0,
          "music_count": 0,
          "music_used_count": 0,
          "new_release_clip_ids": null
        },
        "post_push_notification_status": 2,
        "privacy_setting": {
          "following_visibility": 2
        },
        "profile_tab_type": 15,
        "recommend_reason_relation": "",
        "room_id": 0,
        "sec_uid": "MS4wLjABAAAAvVhoo3xoPqx2BhlxArecsPyqN86uGz1sm5Q4bwTwOZ1MUU1PgK6Zemi8PJtHpeh5",
        "secret": 0,
        "share_info": {
          "now_invitation_card_image_urls": null,
          "share_desc": "Check out 𝐉𝐀𝐐𝐔𝐄 𝐌𝐀𝐓𝐄🔥   ⃤⃟⃝ 🌹! #TikTok",
          "share_title": "Join TikTok and see what I’ve been up to!",
          "share_url": "https://www.tiktok.com/@srlechuza2.0?_r=1&_d=f13emdd9hkm431&sec_uid=MS4wLjABAAAAvVhoo3xoPqx2BhlxArecsPyqN86uGz1sm5Q4bwTwOZ1MUU1PgK6Zemi8PJtHpeh5&share_author_id=7406095610422641710&sharer_language=en&source=h5_m&u_code=f13eml06b2dbg0"
        },
        "short_id": "0",
        "show_favorite_list": false,
        "show_messaging_entrance_on_profile": true,
        "signature": "🌸",
        "signature_language": "un",
        "story_status": 0,
        "supporting_ngo": {},
        "tab_settings": {
          "private_tab": {
            "private_tab_style": 1,
            "show_private_tab": false
          },
          "repost_tab": {
            "repost_tab_all_visible": true,
            "show_repost_tab_other": 1
          }
        },
        "total_favorited": 0,
        "twitter_id": "",
        "twitter_name": "",
        "uid": "7406095610422641710",
        "unique_id": "srlechuza2.0",
        "verification_type": 0,
        "visible_videos_count": 0,
        "watch_status": false,
        "with_commerce_enterprise_tab_entry": false,
        "with_commerce_entry": false,
        "with_new_goods": false,
        "youtube_channel_id": "",
        "youtube_channel_title": ""
      },
      "version": "v2"
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Provide one string identifier: unique_id for a username, user_id for a numeric user ID, or sec_user_id for an existing secure user ID. Send only the chosen identifier and leave the other two unset. A numeric user ID must be sent as a string. These are alternative ways to identify one account; do not treat three optional schema fields as permission to make a zero-identifier lookup.

For a known username, start with the Python guide to requesting one public TikTok creator profile. It uses unique_id for the single-account request and preserves the separate search-first workflow for creator research.

TikTok User Profile Details API

Returns the public profile of one TikTok account, including nickname, follower and following counts, video count, verification label and avatar image URLs. You pass one identifier: sec_user_id, unique_id (the username) or user_id.

Use cases

  • Track the follower_count and aweme_count of a creator or brand account over time.
  • Check whether an account is verified and which category label it carries before a partnership.
  • Download avatar images and the bio link of an account for a profile card or a CRM record.
  • Confirm that a sec_user_id belongs to the expected account by checking its nickname.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-profile" \
  -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
unique_idstringNoUser unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user information, unique_id is also the user's username, if used, please keep sec_user_id and user_id empty.
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.

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110307440258124FAE33158303128D",
    "now": 1793691843000
  },
  "log_pb": {
    "impr_id": "2026110307440258124FAE33158303128D"
  },
  "status_code": 0,
  "status_msg": "",
  "user": {
    "account_labels": [
      {
        "content": "Artist",
        "label_type": 3
      }
    ],
    "account_type": 3,
    "ad_virtual": false,
    "avatar_168x168": {
      "uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
      ],
      "url_prefix": null
    },
    "avatar_300x300": {
      "uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
      ],
      "url_prefix": null
    },
    "avatar_larger": {
      "uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
      "url_list": [
        "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
      ],
      "url_prefix": null
    },
    "avatar_medium": {
      "uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
      ],
      "url_prefix": null
    },
    "avatar_thumb": {
      "uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
      "url_list": [
        "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
      ],
      "url_prefix": null
    },
    "aweme_count": 1601,
    "bio_secure_url": "https://www.tiktoklinksafety.us/link/v2?aid=1233&lang=en&scene=bio_url&target=ti…",
    "bio_url": "tiktok.com/discovermore",
    "biz_account_info": {
      "added_contact_and_link_list": null,
      "android_download_app_link": "",
      "coupon_list": null,
      "ios_download_app_link": "",
      "leads_gen": {
        "action_name": "",
        "business_data": "",
        "has_leads_gen": false,
        "page_id": 0,
        "schema_url": ""
      },
      "permission_list": [
        "017002"
      ],
      "rba_user_info": {
        "company_name": "TikTok"
      }
    }
  },
  "version": "v2"
}

Response fields

FieldMeaning
user.nicknameDisplay name of the account.
user.follower_count / user.following_countNumber of followers the account has and number of accounts it follows.
user.aweme_countNumber of videos posted by the account.
user.enterprise_verify_reasonVerification text shown on the account, for example Verified account.
user.account_labels[].contentLabel shown on the account, for example Artist.
user.categoryCategory of the account, for example Others.
user.bio_urlLink shown in the profile bio. user.bio_secure_url holds the same link wrapped in a TikTok link safety redirect.
user.avatar_larger.url_list[] / user.avatar_medium.url_list[] / user.avatar_thumb.url_list[]Avatar image URLs in large, medium and thumbnail sizes. Each list has several URLs for the same image.
user.original_musician.music_countNumber of original sounds credited to the account.
user.privacy_setting.following_visibilitySetting that controls who can see the account's following list. The response shows only the value 1.

Notes

  • Send only one of sec_user_id, unique_id or user_id. Leave the other two empty.
  • unique_id is the username, for example tiktok. If you only have a username and need the IDs, call TikTok User ID by Username.
  • To list the videos of the account, call TikTok User Videos (App V3) with the same sec_user_id.
  • status_code is 0 when the lookup works. The profile data sits under user.

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 User Profile Details API?

向 https://api.sandbase.ai/v1/api/tiktok/app-v3/user-profile 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

TikTok User Profile Details API 的价格是多少?

每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

TikTok User Profile Details API 接受哪些参数?

提供一个字符串标识符:用于用户名的 unique_id、用于数字用户 ID 的 user_id,或用于现有安全用户 ID 的 sec_user_id。只发送所选标识符,并保持另外两个未设置。数字用户 ID 必须作为字符串发送。这些是识别同一账户的替代方式;不要把三个可选 schema 字段理解为可以零标识符查询。

TikTok User Profile Details API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 TikTok 开发者账户或 API key 吗?

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

follower_count 是否包含粉丝列表或历史增长数据?

当前 App V3 README 将 user.follower_count 描述为账号资料上的计数。它不是粉丝列表、受众人口统计报告,也不是历史增长序列。列出的字段和截短示例只是参考材料,并不保证每个响应都包含所有值。请将缺失、null 或空计数保留为未知,不要把它们转成 0。这个单账号资料请求没有分页参数。