mixIdstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
mixIdstringbắt buộcMix id
countintegerNumber per page
Mặc định: 30
cursorintegerPage cursor
Mặc định: 0
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok User Mix Video ListAPI này TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.05 mỗi lần gọi | JSON |
Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/user-mix với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: mixId (string). Tùy chọn: count (integer) và cursor (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. TikTok User Mix Video List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.