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

TikTok liked videos API

Videos a TikTok account liked, when it shows its likes publicly.

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

res = requests.get(
    "https://api.groundsocial.dev/v1/tiktok/users/postmalone/liked",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"itemList": [
{
"id": "7702292297819409678",
"desc": "ANOTHER POST MALONE SONG UNLOCKED ⭐️⭐️ I AM READY @Post Malone #postmalone #da…",
"createTime": 1793329703,
"author": {
"id": "6613421571192258566",
"uniqueId": "kenzieonthedancefloor",
"nickname": "kenzieonthedancefloor",
"secUid": "MS4wLjABAAAA5ZSCrWUtO0vJTcuKAGBuHuDsBWPMhHogGrJZnP29JPmNwvT_E945YR5MOz15QujL",
"signature": "Most likely dancing \n🪩💃🏻🧋\n💌 kenzieonthedancefloor@gmail.com",
"verified": false,
"privateAccount": false,
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/b2f5c5c09fc8e60…",
"avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/b2f5c5c09fc8e60…",
"avatarMedium": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/b2f5c5c09fc8e60…",
"…": "11 more fields"
},
"authorStats": {
"followerCount": 14900,
"followingCount": 805,
"heartCount": 700300,
"heart": 700300,
"videoCount": 285,
"diggCount": 11100,
"friendCount": 0
},
"stats": {
"playCount": 59000,
"diggCount": 7024,
"commentCount": 90,
"shareCount": 234,
"collectCount": 222
},
"statsV2": {
"collectCount": "222",
"commentCount": "90",
"diggCount": "7024",
"playCount": "59000",
"repostCount": "0",
"shareCount": "234"
},
"video": {
"duration": 30,
"cover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/oE5ruvJIOquAikjqy…",
"playAddr": "https://v19-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-ve-0068c002…",
"PlayAddrStruct": {
"…": "8 fields"
},
"VQScore": "64.22",
"bitrate": 641037,
"bitrateInfo": [
"…"
],
"claInfo": {
"…": "3 fields"
},
"codecType": "h264",
"definition": "720p",
"…": "15 more fields"
},
"music": {
"id": "7701817410836024077",
"title": "original sound",
"authorName": "Post Malone",
"original": true,
"duration": 30,
"playUrl": "https://v16m.tiktokcdn-us.com/c017d56707d735ba3af1110132ea7256/6b068783/video/to…",
"coverLarge": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/20fb6f24f4a243d…",
"coverMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/20fb6f24f4a243d…",
"coverThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/20fb6f24f4a243d…",
"isCopyrighted": false,
"…": "5 more fields"
},
"challenges": [
{
"…": "9 fields"
},
"… 4 more"
],
"…": "30 more fields"
},
"… 1 more"
],
"cursor": "1771265992000",
"hasMore": true
}

Parameters

NameTypeDescription
handlepath · requiredstringHandle, with or without the @, or a profile URL. Example: nasa.
cursorquerystringThe previous page’s cursor, for the next page. Omit for the first.
Response fields

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

FieldTypeDescription
itemListTikTokItem[]
cursorstringPass as cursor for the next page. Its meaning is the list’s own (a time or an offset).
hasMoreboolean
Status codes
StatusMeaning
200A page of liked videos.
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

Questions

Why is it private?

Most accounts hide their likes; those answer 403 target_private, never charged.

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