Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

TikTok User Profile Details

Dokumentacja 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.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
3 identyfikatorów · podaj jeden
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
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.
WyjściePrzykład
Odpowiedźoutputs · 8.9 KB · 155 wierszy
[
  {
    "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"
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.01 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON

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

Pytania

FAQ

Jak używać API TikTok User Profile Details?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/app-v3/user-profile z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API TikTok User Profile Details?

$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API TikTok User Profile Details?

Podaj jeden identyfikator tekstowy: unique_id dla username, user_id dla numerycznego identyfikatora użytkownika lub sec_user_id dla istniejącego bezpiecznego identyfikatora użytkownika. Wyślij tylko wybrany identyfikator i pozostaw pozostałe dwa nieustawione. Numeryczny identyfikator użytkownika należy przesłać jako ciąg znaków. To alternatywne sposoby identyfikacji jednego konta; nie traktuj trzech opcjonalnych pól schematu jako przyzwolenia na wyszukiwanie bez identyfikatora.

Co zwraca API TikTok User Profile Details?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego TikTok lub klucza API?

Nie. TikTok User Profile Details działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.

Czy follower_count zawiera listę obserwujących albo historyczne dane o wzroście?

Obecny README App V3 opisuje user.follower_count jako liczbę na profilu konta. To nie jest lista obserwujących, raport demograficzny odbiorców ani historyczna seria wzrostu. Wymienione pola i skrócony przykład są materiałem referencyjnym, a nie gwarancją, że każda odpowiedź zawiera każdą wartość. Brakujące, null lub puste liczby pozostaw jako nieznane zamiast zamieniać je na zero. To pojedyncze żądanie profilu konta nie ma parametru paginacji.