TikTok
TikTok Playlist Videos
List the videos in a TikTok playlist - video id, description, author, sound, play/like/comment/share stats and duration - with pagination, as JSON. 1 credit.
POST/api/v1/tiktok/playlist/videos
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonplaylist_idstringrequiredThe playlist's numeric id (mixId from User Playlists).
Example: 7596415294902389534
cursorstringdefault:0Pagination cursor. Pass the cursor from the previous response to get the next page.
countintegerdefault:30Videos per page, 1-30.
Notes
Raw TikTok payload. The response is TikTok's own JSON under data. Large numeric ids can lose precision when parsed as JSON numbers, so read the string forms (id_str, sec_uid, secUid) rather than numeric id fields.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.tiktok.playlist_videos(playlist_id="7596415294902389534")
print(results)Response
"cursor": "13",
"hasMore": false,
"statusCode": 0
},
"response_time": 1778
}