mixIdstringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
mixIdstringwymaganeMix id
countintegerNumber per page
Domyślnie: 30
cursorintegerPage cursor
Domyślnie: 0
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.05 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/web/user-mix z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: mixId (string). Opcjonalne: count (integer) i cursor (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. TikTok User Mix Video List działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.