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

TikTok Similar User Recommendations

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

Returns recommended similar user profiles for a target TikTok account based on its secure user identifier, with support for cursor-based pagination.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 1 个可选

Playground

输入
User sec_uid
Page token, not required for the first request, for subsequent requests, pass the next_page_token value from the previous response.
输出示例
响应outputs · 12.1 KB · 242 行
[
  {
    "data": {
      "has_more": false,
      "status_code": 0,
      "status_msg": "",
      "users": [
        {
          "accept_private_policy": false,
          "account_labels": null,
          "account_region": "",
          "ad_cover_url": null,
          "advance_feature_item_order": null,
          "advanced_feature_info": null,
          "apple_account": 0,
          "authority_status": 0,
          "avatar_168x168": {
            "data_size": 0,
            "height": 720,
            "uri": "tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715",
            "url_list": [
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:168:168:q70.heic?dr=8833&refresh_token=1374e690&x-expires=1790776800&x-signature=nUQ2ScAw0HUnLI5er20AmGXZtF4%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:168:168:q70.heic?dr=8833&refresh_token=fb586821&x-expires=1790776800&x-signature=AvMq2D0z6xOVf2edFHCBZBx7Sd4%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:168:168:q70.webp?dr=8833&refresh_token=9abb90fe&x-expires=1790776800&x-signature=kKaP4twu6yG7njjUfPOF3KcFylw%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST"
            ],
            "url_prefix": null,
            "width": 720
          },
          "avatar_300x300": {
            "data_size": 0,
            "height": 720,
            "uri": "tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715",
            "url_list": [
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:300:300:q70.heic?dr=8834&refresh_token=434506e9&x-expires=1790776800&x-signature=hx0AyZ72%2BBibIcmfxKyyQeRIoC4%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:300:300:q70.heic?dr=8834&refresh_token=f4a7fb09&x-expires=1790776800&x-signature=llSiWyFWw8NhkurP8nC9HJRqxHo%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:300:300:q70.webp?dr=8834&refresh_token=bcd52dbf&x-expires=1790776800&x-signature=JuTMlq3JZw%2BNFMogxseKdyNdQuk%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST"
            ],
            "url_prefix": null,
            "width": 720
          },
          "avatar_larger": {
            "data_size": 0,
            "height": 720,
            "uri": "tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715",
            "url_list": [
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=8837&refresh_token=72b42bc1&x-expires=1790776800&x-signature=s9dBeub0g7YBYNpKRuC6kLDJKZo%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=8837&refresh_token=782d1eba&x-expires=1790776800&x-signature=gMQp1vGON05ZDYzq7Or3twImaNI%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:1080:1080:q70.webp?dr=8837&refresh_token=bf9c2803&x-expires=1790776800&x-signature=yTLNXvsi9gfX9sgo7xCH4V4f%2BCg%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST"
            ],
            "url_prefix": null,
            "width": 720
          },
          "avatar_medium": {
            "data_size": 0,
            "height": 720,
            "uri": "tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715",
            "url_list": [
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&refresh_token=11d27153&x-expires=1790776800&x-signature=LAeRYioA%2F%2FjJJ2ddunbT5Fueo4w%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=8836&refresh_token=67cce1e1&x-expires=1790776800&x-signature=beiRlhgO6%2B%2F4Yk0o%2FfjQblIaaYY%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:720:720:q70.webp?dr=8836&refresh_token=bc7d4f0b&x-expires=1790776800&x-signature=h9I0GsdPUEPV5%2FsnVzsRGUDRvt0%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST"
            ],
            "url_prefix": null,
            "width": 720
          },
          "avatar_thumb": {
            "data_size": 0,
            "height": 720,
            "uri": "tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715",
            "url_list": [
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=8835&refresh_token=08239a37&x-expires=1790776800&x-signature=AMxfaYfzrPuh1uaoCRKvslQ9PeE%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=8835&refresh_token=19df9156&x-expires=1790776800&x-signature=rq4WdOwFNwTypU2V8nMKoXoj9TA%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST",
              "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=b4122083&x-expires=1790776800&x-signature=J4i4hWxHOlYWdYmCpu8cQaEpk9g%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=65db1d19&idc=useast8&sc=avatar&s=COMMON_RELATION_LIST"
            ],
            "url_prefix": null,
            "width": 720
          },
          "avatar_uri": "tos-maliva-avt-0068/ebb28b1cd8d74928f35b05ab0ec3a715",
          "aweme_count": 4,
          "bind_phone": "",
          "bold_fields": null,
          "can_message_follow_status_list": [
            0,
            1,
            2,
            "… 1 more items in the full response"
          ],
          "can_set_geofencing": null,
          "cha_list": null,
          "comment_filter_status": 0,
          "comment_setting": 0,
          "commerce_user_level": 0,
          "cover_url": [],
          "create_time": 1789799224,
          "custom_verify": "",
          "cv_level": "",
          "download_prompt_ts": 0,
          "download_setting": 0,
          "duet_setting": 0,
          "enabled_filter_all_comments": false,
          "enterprise_verify_reason": "",
          "events": null,
          "fake_data_info": {},
          "favoriting_count": 993,
          "fb_expire_time": 0,
          "follow_status": 0,
          "follower_count": 9465,
          "follower_status": 0,
          "followers_detail": null,
          "following_count": 150,
          "friend_count": 0,
          "friends_status": 0,
          "geofencing": null,
          "google_account": "",
          "has_email": false,
          "has_facebook_token": false,
          "has_insights": false,
          "has_orders": false,
          "has_twitter_token": false,
          "has_youtube_token": false,
          "hide_search": false,
          "homepage_bottom_toast": null,
          "ins_id": "",
          "is_ad_fake": false,
          "is_block": false,
          "is_discipline_member": false,
          "is_mute": 0,
          "is_mute_lives": 0,
          "is_mute_non_story_post": 0,
          "is_mute_story": 0,
          "is_phone_binded": false,
          "is_star": false,
          "item_list": null,
          "language": "el",
          "live_agreement": 0,
          "live_commerce": false,
          "live_verify": 0,
          "matched_friend": {
            "face_cover_num": 0,
            "friend_relation_type": 0,
            "is_acquaintance": false,
            "is_new_joined": false,
            "is_new_maf": false,
            "label_type": "5-0",
            "rec_type": "5-0",
            "recommend_reason": "热门创作者",
            "recommend_reason_starling": "",
            "relation_type": "43",
            "repost_items": [],
            "social_info": "{\"friend_type_str\":\"43\",\"rec_type\":\"5_0\",\"recall_code\":\"simon\",\"site_id\":\"900102\"}",
            "video_item_reason": "",
            "video_items": [],
            "video_num_type": ""
          },
          "mention_status": 1,
          "mutual_relation_avatars": null,
          "need_points": null,
          "need_recommend": 0,
          "new_post_count": 0,
          "nickname": "NatsukiRants",
          "original_musician": {
            "digg_count": 0,
            "music_count": 0,
            "music_used_count": 0,
            "new_release_clip_ids": null
          },
          "platform_sync_info": null,
          "post_count": 0,
          "prevent_download": false,
          "react_setting": 0,
          "relative_users": null,
          "reply_with_video_flag": 4,
          "room_id": 0,
          "search_highlight": null,
          "sec_uid": "MS4wLjABAAAARiCI3HZceo9mjdwyukfXkDQnPWxki17wYmbOxjgme9-l3k-ikwCX9XnoomEn8wqe",
          "secret": 0,
          "share_info": {
            "now_invitation_card_image_urls": null,
            "share_desc": "",
            "share_desc_info": "",
            "share_qrcode_url": {
              "height": 720,
              "uri": "",
              "url_list": [],
              "url_prefix": null,
              "width": 720
            },
            "share_title": "",
            "share_title_myself": "",
            "share_title_other": "",
            "share_url": ""
          },
          "share_qrcode_uri": "",
          "shield_comment_notice": 0,
          "shield_digg_notice": 0,
          "shield_edit_field_info": null,
          "shield_follow_notice": 0,
          "short_id": "0",
          "show_image_bubble": false,
          "signature": "𝙣𝙖𝙩𝙨𝙪𝙠︎︎𝙞🧁Rants \nTy for the support!\n10k special coming!!",
          "special_account": {
            "special_account_list": null
          },
          "special_lock": 1,
          "status": 1,
          "stitch_setting": 0,
          "story_status": 0,
          "total_favorited": 25187,
          "tw_expire_time": 0,
          "twitter_id": "",
          "twitter_name": "",
          "type_label": null,
          "uid": "7687128860735063062",
          "unique_id": "mokxshvrant",
          "unique_id_modify_time": 1789799227,
          "user_canceled": false,
          "user_mode": 1,
          "user_now_pack_info": {},
          "user_period": 0,
          "user_profile_guide": null,
          "user_rate": 1,
          "user_spark_info": {},
          "user_tags": null,
          "verification_type": 0,
          "verify_info": "",
          "video_icon": {
            "height": 720,
            "uri": "",
            "url_list": [],
            "url_prefix": null,
            "width": 720
          },
          "white_cover_url": null,
          "with_commerce_entry": false,
          "with_shop_entry": false,
          "youtube_channel_id": "",
          "youtube_channel_title": "",
          "youtube_expire_time": 0
        }
      ]
    }
  }
]

示例

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

API README

TikTok Similar User Recommendations API

Returns a list of TikTok accounts that TikTok recommends as similar to a target account. The input is the target account's sec_uid. Each user object holds profile counts, avatar images and account settings.

Use cases

  • Find creators close to a known account to build a list of competitors in the same niche.
  • Grow an influencer shortlist by starting from one strong creator and collecting the accounts TikTok suggests next to it.
  • Compare follower_count across recommended accounts to sort lookalike creators by audience size.
  • Map clusters of related accounts by calling the endpoint again with the sec_uid of each recommended user.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/similar-user-recommendations" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'

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

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_uid
page_tokenstringNoPage token, not required for the first request, for subsequent requests, pass the next_page_token value from the previous response.

Example response

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

{
  "has_more": true,
  "next_page_token": "MzA=",
  "status_code": 0,
  "status_msg": "",
  "users": [
    {
      "accept_private_policy": false,
      "account_labels": null,
      "account_region": "",
      "ad_cover_url": null,
      "advance_feature_item_order": null,
      "advanced_feature_info": null,
      "apple_account": 0,
      "authority_status": 0,
      "avatar_168x168": {
        "data_size": 0,
        "height": 720,
        "uri": "tos-useast5-avt-0068-tx/94f94830ec139c3b89320167da2acc60",
        "url_list": [
          "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/94f94830ec139c3…"
        ],
        "url_prefix": null,
        "width": 720
      },
      "avatar_300x300": {
        "data_size": 0,
        "height": 720,
        "uri": "tos-useast5-avt-0068-tx/94f94830ec139c3b89320167da2acc60",
        "url_list": [
          "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/94f94830ec139c3…"
        ],
        "url_prefix": null,
        "width": 720
      },
      "avatar_larger": {
        "data_size": 0,
        "height": 720,
        "uri": "tos-useast5-avt-0068-tx/94f94830ec139c3b89320167da2acc60",
        "url_list": [
          "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/94f94830ec139c3…"
        ],
        "url_prefix": null,
        "width": 720
      },
      "avatar_medium": {
        "data_size": 0,
        "height": 720,
        "uri": "tos-useast5-avt-0068-tx/94f94830ec139c3b89320167da2acc60",
        "url_list": [
          "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/94f94830ec139c3…"
        ],
        "url_prefix": null,
        "width": 720
      }
    }
  ]
}

Response fields

FieldMeaning
users[]List of recommended accounts. Each item is one user profile.
users[].follower_countNumber of followers the recommended account has.
users[].aweme_countNumber of videos the account has posted.
users[].favoriting_countCount of favorites on the account, as returned by TikTok.
users[].create_timeAccount creation time as a Unix timestamp in seconds (for example 1581743982).
users[].custom_verifyVerification label text for the account. It is an empty string when the account has no label.
users[].avatar_larger / users[].avatar_medium / users[].avatar_thumbAvatar images in different sizes. Each has a uri and a url_list with several image URLs.
users[].avatar_uriIdentifier of the avatar image.
has_moretrue when more recommended users can be fetched with another call.
next_page_tokenToken to pass as page_token to get the next batch.

Notes

  • Pass the target account's sec_uid in sec_uid. To get a sec_uid from a username, call TikTok User ID by Username.
  • Leave page_token out on the first request. When has_more is true, send the next_page_token value as page_token in the next request.
  • To read the full profile of a recommended account, call TikTok User Profile Details.

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 Similar User Recommendations API?

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

TikTok Similar User Recommendations API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

TikTok Similar User Recommendations API 接受哪些参数?

必填:sec_uid (string)。 可选:page_token (string)。 Parameters 表和本页的 Playground 列出了每个字段。

TikTok Similar User Recommendations API 返回什么?

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

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

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