mixIdstringobligatoire
Mix id
https://api.sandbase.ai/v1/api/tiktok/web/user-mixReturns videos compiled inside a specific TikTok user mix or playlist. Supports pagination through cursor and count parameters.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns the videos in a TikTok user mix (playlist). You send a mixId and get one page of videos with their text, author, stats and hashtags.
playCount and diggCount across the videos of one mix to see which parts perform best.cursor and count to build a full video ID list.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-mix" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mixId": "7101538765474106158"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
mixId | string | Yes | Mix id |
count | integer | No | Number per page |
cursor | integer | No | Page cursor |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"cookie": "tt_chain…",
"cursor": "19",
"extra": {
"fatal_item_ids": [],
"logid": "20261103154431BD2354D80FEE59050E02",
"now": 1793691871000
},
"hasMore": false,
"itemList": [
{
"AIGCDescription": "",
"CategoryType": 110,
"IsHDBitrate": false,
"ShowAIGC": true,
"author": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7310736459579785262~tp…",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7310736459579785262~tp…",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7310736459579785262~tp…",
"commentSetting": 0,
"downloadSetting": 0,
"duetSetting": 0,
"ftc": false,
"id": "6762702053111383045"
},
"authorStats": {
"diggCount": 8342,
"followerCount": 456500,
"followingCount": 361,
"friendCount": 0,
"heart": 7700000,
"heartCount": 7700000,
"videoCount": 951
},
"authorStatsV2": {
"diggCount": "8342",
"followerCount": "456500",
"followingCount": "361",
"friendCount": "0",
"heart": "7700000",
"heartCount": "7700000",
"videoCount": "951"
},
"backendSourceEventTracking": "",
"challenges": [
{
"coverLarger": "",
"coverMedium": "",
"coverThumb": "",
"desc": "",
"id": "229207",
"profileLarger": "",
"profileMedium": "",
"profileThumb": ""
}
],
"collected": false,
"contents": [
{
"desc": "Pit in my stomach when I think ab going to the bathroom lol #fyp #pathologicalde…",
"textExtra": [
{
"awemeId": "",
"end": 64,
"hashtagName": "fyp",
"isCommerce": false,
"start": 60,
"subType": 0,
"type": 1
}
]
}
],
"createTime": 1669790506
}
],
"log_pb": {
"impr_id": "20261103154431BD2354D80FEE59050E02"
},
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "0k5cdiqY…"
}
| Field | Meaning |
|---|---|
itemList[] | The videos on this page of the mix. |
itemList[].id | ID of the video. |
itemList[].desc | Caption of the video, including hashtags. |
itemList[].createTime | Creation time of the video as a Unix timestamp in seconds. |
itemList[].stats.playCount / itemList[].stats.diggCount / itemList[].stats.commentCount / itemList[].stats.shareCount / itemList[].stats.collectCount | Play, like, comment, share and save counts for the video, as numbers. |
itemList[].statsV2 | The same counts as strings, plus repostCount. |
itemList[].author.id | ID of the account that posted the video. |
itemList[].authorStats.followerCount / itemList[].authorStats.videoCount | Follower count and number of videos for the author. |
itemList[].textExtra[].hashtagName | Name of each hashtag in the caption. start and end give its position in desc. |
itemList[].playlistId | ID of the mix the video belongs to. It matches the mixId you sent. |
hasMore | Shows whether more pages exist after this one. |
cursor | Cursor value returned with this page. |
mixId is the only required parameter. count defaults to 30 and cursor defaults to 0.hasMore, then send the returned cursor value in the next request.cursor in the response is a string, while the request parameter cursor is an integer.id values from itemList[] to look up a single video with TikTok Video Detail.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-mix" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 30,
"mixId": "7101538765474106158",
"cursor": 0
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
mixIdstringobligatoireMix id
countintegerNumber per page
Par défaut : 30
cursorintegerPage cursor
Par défaut : 0
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
TikTok User Mix Video ListCette API TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.05 par appel | JSON |
Guides :TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/web/user-mix avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : mixId (string). Facultatif : count (integer) et cursor (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. TikTok User Mix Video List fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.