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

TikTok playlist videos API

The videos in a TikTok playlist, in order, with the playlist itself.

GET /v1/tiktok/playlists/{id}/videos1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/tiktok/playlists/7633966962992892702/videos",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"mixInfo": {
"cover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-…",
"creator": {
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-006…",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-006…",
"avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-006…",
"ftc": false,
"id": "7520296730849281037",
"isADVirtual": false,
"nickname": "Chef Joey Charney",
"openFavorite": false,
"…": "8 more fields"
},
"id": "7633966962992892702",
"name": "Dinners",
"videoCount": 17
},
"itemList": [
{
"id": "7633618814139174175",
"desc": "Cooking dinner for my family: Pork tenderloin the way @Kiera…",
"createTime": 1777340391,
"author": {
"…": "21 fields"
},
"authorStats": {
"…": "7 fields"
},
"stats": {
"…": "5 fields"
},
"statsV2": {
"…": "6 fields"
},
"video": {
"…": "26 fields"
},
"…": "33 more fields"
},
"… 1 more"
],
"cursor": "17",
"hasMore": false
}

Parameters

NameTypeDescription
idpath · requiredstringPlaylist id, or its tiktok.com/@user/playlist/… URL. Example: 7633966962992892702.
cursorquerystringThe previous page’s cursor, for the next page. Omit for the first.
Response fields

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

FieldTypeDescription
mixInfoobjectThe playlist: id, name, cover, creator, video count.
itemListTikTokItem[]
cursorstring
hasMoreboolean
Status codes
StatusMeaning
200A page of the playlist’s 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

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