100 free credits. No credit card required. Get a key

TikTok similar accounts API

The accounts TikTok suggests alongside a profile, about 30, each with its stats.

GET /v1/tiktok/users/{handle}/similar1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/tiktok/users/nasa/similar",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"userList": [
{
"user": {
"id": "7282772529965220910",
"uniqueId": "jennierubyjane",
"nickname": "JENNIE",
"secUid": "MS4wLjABAAAAIopgkmIjiRd561f4uXwoUcU_TAdWu5aW8K_oApjbpzt73VAqE3erAcNdrrbUWjHC",
"signature": "J",
"verified": true,
"privateAccount": false,
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3559896f0db4c1982e01d56eaaebbb44~tplv-tiktokx-cropcente…",
"avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3559896f0db4c1982e01d56eaaebbb44~tplv-tiktokx-cropcente…",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3559896f0db4c1982e01d56eaaebbb44~tplv-tiktokx-cropcente…",
"commentSetting": 0,
"downloadSetting": 0,
"duetSetting": 0,
"ftc": false,
"isADVirtual": false,
"openFavorite": false,
"relation": 0,
"secret": false,
"shortDramaCreator": {},
"stitchSetting": 0,
"ttSeller": false
},
"stats": {
"followerCount": 26500000,
"followingCount": 1,
"heartCount": 491700000,
"heart": 491700000,
"videoCount": 93,
"diggCount": 101,
"friendCount": 0
},
"statsV2": {
"diggCount": "101",
"followerCount": "26538352",
"followingCount": "1",
"friendCount": "0",
"heart": "491666184",
"heartCount": "491666184",
"videoCount": "93"
}
},
{
"user": {
"id": "126223816648822784",
"uniqueId": "rauwalejandro",
"nickname": "rauwalejandro",
"secUid": "MS4wLjABAAAA7pFJYt0Ui6BV6xS9xncL3Zi1NsHEmfdn2t6sMY1yulhbrSWQ29xtwpUQFml62_q0",
"signature": "Puertorrican R&B/Reggaeton singer 🇵🇷",
"verified": true,
"privateAccount": false,
"avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/d6c6315ea52b8a304a0c7ba20e4d87e4~tplv-tiktokx-cropcente…",
"avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/d6c6315ea52b8a304a0c7ba20e4d87e4~tplv-tiktokx-cropcente…",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/d6c6315ea52b8a304a0c7ba20e4d87e4~tplv-tiktokx-cropcente…",
"commentSetting": 0,
"downloadSetting": 0,
"duetSetting": 0,
"ftc": false,
"isADVirtual": false,
"openFavorite": false,
"relation": 0,
"secret": false,
"shortDramaCreator": {},
"stitchSetting": 0,
"ttSeller": false
},
"stats": {
"followerCount": 18800000,
"followingCount": 0,
"heartCount": 230300000,
"heart": 230300000,
"videoCount": 107,
"diggCount": 272,
"friendCount": 0
},
"statsV2": {
"diggCount": "272",
"followerCount": "18837926",
"followingCount": "0",
"friendCount": "0",
"heart": "230341279",
"heartCount": "230341279",
"videoCount": "107"
}
},
"… 29 more"
],
"cursor": "0",
"hasMore": false,
"total": 30
}

Parameters

NameTypeDescription
handlepath · requiredstringHandle, with or without the @, or a profile URL. Example: nasa.
Response fields

200 with a TikTokUserListResponse, in TikTok’s own web JSON (itemStruct, userInfo, comments).

FieldTypeDescription
userListobject[]
cursorstringPass as cursor for the next page (TikTok’s minCursor).
hasMoreboolean
totalnumber
Status codes
StatusMeaning
200Similar accounts.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account, video, comment, hashtag or sound does not exist on TikTok, or was removed.
429Too many requests. Wait for Retry-After seconds.
503TikTok is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

TikTok is a trademark of ByteDance Ltd. We are not affiliated with or endorsed by TikTok or ByteDance.