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

TikTok User Profile Details

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

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
3 định danh · cung cấp một
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
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.
Đầu raVí dụ
Phản hồioutputs · 8.9 KB · 155 dòng
[
  {
    "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"
    }
  }
]

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

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.

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

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/user-profile 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 User Profile Details có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

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

Cung cấp một mã định danh dạng chuỗi: unique_id cho username, user_id cho user ID dạng số, hoặc sec_user_id cho secure user ID hiện có. Chỉ gửi mã định danh đã chọn và để hai mã còn lại không được đặt. user ID dạng số phải được gửi dưới dạng chuỗi. Đây là các cách thay thế để xác định một tài khoản; đừng coi ba trường schema tùy chọn là cho phép tra cứu không có mã định danh.

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

follower_count có bao gồm danh sách người theo dõi hoặc dữ liệu tăng trưởng lịch sử không?

README App V3 hiện tại mô tả user.follower_count là một số đếm trên hồ sơ tài khoản. Nó không phải là danh sách người theo dõi, báo cáo nhân khẩu học khán giả, hay chuỗi tăng trưởng lịch sử. Các trường được liệt kê và ví dụ rút gọn chỉ là tài liệu tham chiếu, không đảm bảo rằng mọi phản hồi đều chứa mọi giá trị. Hãy giữ các số đếm bị thiếu, null hoặc rỗng là chưa biết thay vì đổi chúng thành 0. Yêu cầu hồ sơ một tài khoản này không có tham số phân trang.