Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

TikTok User Profile

Dokumentasi API
https://api.sandbase.ai/v1/api/tiktok/web/user-profile

Returns public profile information for a specified TikTok user. Look up accounts by providing either the unique handle or secure user ID.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib ยท 2 opsional
100 panggilan gratis / hari100 panggilan pertama per hari gratis (dibagi per organisasi) ยท Direset pada 00:00 UTC. Setelah itu, bayar per panggilan.

Playground

Input
User secUid
User uniqueId
OutputContoh
Responsoutputs ยท 3.2 KB ยท 81 baris
[
  {
    "data": {
      "needFix": false,
      "shareMeta": {
        "desc": "@srlechuza2.0 225 Followers, 89 Following, 0 Likes - Watch awesome short videos created by ๐‰๐€๐๐”๐„ ๐Œ๐€๐“๐„๐Ÿ”ฅ   โƒคโƒŸโƒ ๐ŸŒน",
        "title": "๐‰๐€๐๐”๐„ ๐Œ๐€๐“๐„๐Ÿ”ฅ   โƒคโƒŸโƒ ๐ŸŒน on TikTok"
      },
      "statusCode": 0,
      "statusMsg": "",
      "userInfo": {
        "itemList": [],
        "stats": {
          "diggCount": 0,
          "followerCount": 225,
          "followingCount": 89,
          "friendCount": 78,
          "heart": 0,
          "heartCount": 0,
          "videoCount": 0
        },
        "statsV2": {
          "diggCount": "0",
          "followerCount": "225",
          "followingCount": "89",
          "friendCount": "78",
          "heart": "0",
          "heartCount": "0",
          "videoCount": "0"
        },
        "user": {
          "UserStoryStatus": 0,
          "avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=f400aeac&x-expires=1791313200&x-signature=ZPzzcIwvLxQlVSgTgXlTcn%2BZ1g0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
          "avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=2d28b08b&x-expires=1791313200&x-signature=85ZDs3Q7T8yW0SY5HijWifo2kng%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
          "avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc97650c9b8dbaaa38162fbe903d9c60~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=995b138d&x-expires=1791313200&x-signature=cZmYyeWAntDKMHAGynv3I9YIdbc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
          "canExpPlaylist": true,
          "commentSetting": 0,
          "commerceUserInfo": {
            "commerceUser": false
          },
          "createTime": 1724366110,
          "downloadSetting": 0,
          "duetSetting": 0,
          "eventList": [],
          "followingVisibility": 2,
          "ftc": false,
          "id": "7406095610422641710",
          "isADVirtual": false,
          "isEmbedBanned": false,
          "isOrganization": 0,
          "language": "en",
          "nickNameModifyTime": 1789014478,
          "nickname": "๐‰๐€๐๐”๐„ ๐Œ๐€๐“๐„๐Ÿ”ฅ   โƒคโƒŸโƒ ๐ŸŒน",
          "nowInvitationCardUrl": "",
          "openFavorite": false,
          "privateAccount": false,
          "profileEmbedPermission": 1,
          "profileTab": {
            "showMusicTab": false,
            "showPlayListTab": false,
            "showQuestionTab": false
          },
          "recommendReason": "",
          "relation": 0,
          "roomId": "",
          "secUid": "MS4wLjABAAAAvVhoo3xoPqx2BhlxArecsPyqN86uGz1sm5Q4bwTwOZ1MUU1PgK6Zemi8PJtHpeh5",
          "secret": false,
          "shortDramaCreator": {},
          "shortId": "",
          "signature": "๐ŸŒธ",
          "stitchSetting": 0,
          "suggestAccountBind": false,
          "ttSeller": false,
          "uniqueId": "srlechuza2.0",
          "uniqueIdModifyTime": 1789783298,
          "verified": false
        }
      }
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

TikTok User Profile API

Returns the public profile of a TikTok account, including its bio, verification status, avatar URLs and follower, like and video counts. Send either uniqueId (the handle) or secUid (the secure user ID).

Use cases

  • Check follower, like and video counts for a creator before outreach.
  • Confirm that a handle exists and is verified.
  • Convert a handle to its secUid so you can call other user endpoints.
  • Save a creator's nickname, bio and avatar for a dashboard or CRM.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-profile" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uniqueId": "tiktok"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
secUidstringNoUser secUid
uniqueIdstringNoUser uniqueId

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "needFix": false,
  "shareMeta": {
    "desc": "@tiktok 96.5m Followers, 1 Following, 466.7m Likes - Watch awesome short videos โ€ฆ",
    "title": "TikTok on TikTok"
  },
  "statusCode": 0,
  "statusMsg": "",
  "userInfo": {
    "itemList": [],
    "stats": {
      "diggCount": 0,
      "followerCount": 96500000,
      "followingCount": 1,
      "friendCount": 1,
      "heart": 466700000,
      "heartCount": 466700000,
      "videoCount": 1514
    },
    "statsV2": {
      "diggCount": "0",
      "followerCount": "96532208",
      "followingCount": "1",
      "friendCount": "1",
      "heart": "466687514",
      "heartCount": "466687514",
      "videoCount": "1514"
    },
    "user": {
      "UserStoryStatus": 0,
      "avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691โ€ฆ",
      "avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691โ€ฆ",
      "avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691โ€ฆ",
      "bioLink": {
        "link": "tiktok.com/discovermore",
        "risk": 0
      },
      "canExpPlaylist": true,
      "commentSetting": 0,
      "commerceUserInfo": {
        "category": "Others",
        "categoryButton": false,
        "commerceUser": true,
        "downLoadLink": {
          "android": "",
          "ios": ""
        }
      },
      "createTime": 1425144149,
      "downloadSetting": 0,
      "duetSetting": 0,
      "eventList": []
    }
  }
}

Response fields

FieldMeaning
userInfo.user.uniqueId / userInfo.user.nicknameThe account handle and the display name.
userInfo.user.secUidSecure user ID of the account. Use it as input to other user endpoints.
userInfo.user.idNumeric user ID of the account, returned as a string.
userInfo.user.signatureThe bio text on the profile.
userInfo.user.verifiedtrue when the account is verified.
userInfo.user.privateAccounttrue when the account is private.
userInfo.user.createTimeAccount creation time as a Unix timestamp in seconds.
userInfo.user.avatarLarger / userInfo.user.avatarMedium / userInfo.user.avatarThumbAvatar image URLs in large, medium and thumbnail sizes.
userInfo.stats.followerCount / userInfo.stats.followingCount / userInfo.stats.videoCountNumber of followers, number of accounts followed, and number of videos. The follower count is rounded in this block.
userInfo.statsV2.followerCount / userInfo.statsV2.heartCount / userInfo.statsV2.videoCountExact counts for followers, total likes received and videos. Values are strings, so convert them to numbers before you do math.

Notes

  • Send either uniqueId or secUid. The request example uses uniqueId only.
  • Use userInfo.statsV2 when you need exact counts. userInfo.stats shows rounded values such as 96500000 for followers.
  • To get a user's videos, call TikTok User Posts with the secUid from this response.
  • If you only have a profile link, use TikTok Profile Sec User ID to get the secUid first.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.05 per panggilanJSON

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

Pertanyaan

FAQ

Bagaimana cara menggunakan API TikTok User Profile?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/web/user-profile dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API TikTok User Profile?

$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.

Parameter apa yang diterima API TikTok User Profile?

Tidak ada parameter yang wajib. Opsional: secUid (string) dan uniqueId (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API TikTok User Profile?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API TikTok?

Tidak. TikTok User Profile berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.