Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok User Profile Details

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
3 identificadores · proporciona uno
100 llamadas gratis / díaLas primeras 100 llamadas de cada día son gratis (compartidas por organización) · Se restablecen a las 00:00 UTC. Después, pago por llamada.

Entorno de pruebas

Entrada
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.
SalidaEjemplo
Respuestaoutputs · 8.9 KB · 155 líneas
[
  {
    "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"
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.01 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok User Profile Details?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/app-v3/user-profile con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok User Profile Details?

$0.001 por llamada. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.

¿Qué parámetros acepta la API de TikTok User Profile Details?

Proporcione un identificador de cadena: unique_id para un username, user_id para un ID de usuario numérico o sec_user_id para un ID seguro de usuario existente. Envíe solo el identificador elegido y deje los otros dos sin definir. Un ID de usuario numérico debe enviarse como cadena. Estas son formas alternativas de identificar una cuenta; no trate tres campos opcionales del esquema como permiso para hacer una búsqueda sin identificador.

¿Qué devuelve la API de TikTok User Profile Details?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok User Profile Details funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.

¿follower_count incluye una lista de seguidores o datos históricos de crecimiento?

El README actual de App V3 describe user.follower_count como un conteo en el perfil de la cuenta. No es una lista de seguidores, un informe de demografía de audiencia ni una serie histórica de crecimiento. Los campos listados y el ejemplo recortado son material de referencia, no una garantía de que cada respuesta contenga todos los valores. Conserva los conteos faltantes, null o vacíos como desconocidos en lugar de convertirlos en cero. Esta solicitud de perfil de una sola cuenta no tiene parámetro de paginación.