mixIdstringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
mixIdstringจำเป็นMix id
countintegerNumber per page
ค่าเริ่มต้น: 30
cursorintegerPage cursor
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok User Mix Video ListAPI นี้ TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.05 ต่อการเรียก | JSON |
คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/web/user-mix โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: mixId (string). ตัวเลือก: count (integer) และ cursor (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok User Mix Video List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก