TikTok
TikTok Sound Videos
List the TikTok videos that use a sound - video id, description, author, region and play/like/comment/share counts - with cursor pagination, as JSON. 1 credit.
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/jsonmusic_idstringrequiredThe sound's numeric id. Use id_str from Search Sounds or Sound Chart.
Example: 7364498342501435408
cursorstringdefault:0Pagination cursor. Pass the cursor from the previous response to get the next page.
countintegerdefault:10Videos per page, 1-30. TikTok currently ignores it and returns about 14 per page.
Notes
About 14 videos per page. count is accepted but TikTok ignores it. Keep passing cursor while has_more is 1.
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.music_videos(music_id="7364498342501435408")
print(results)Response