mixIdstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
mixIdstringwajibMix id
countintegerNumber per page
Default: 30
cursorintegerPage cursor
Default: 0
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
TikTok User Mix Video ListAPI ini TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.05 per panggilan | JSON |
Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/web/user-mix dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: mixId (string). Opsional: count (integer) dan cursor (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. TikTok User Mix Video List berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.