secUidstringจำเป็น
User secUid
https://api.sandbase.ai/v1/api/tiktok/web/user-play-listReturns the public playlists or mixes associated with a TikTok user using their secure user ID. Includes playlist metadata, video counts, and creator details.
[
{
"data": {
"cookie": "tt_chain_token=0k5cdiqY7uSA4maNu10+1w==;",
"cursor": "5",
"extra": {
"fatal_item_ids": [],
"logid": "20261006203926B011B7BF6ECF6C9BEAC8",
"now": 1791290366000
},
"hasMore": false,
"log_pb": {
"impr_id": "20261006203926B011B7BF6ECF6C9BEAC8"
},
"playList": [
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=14575&x-expires=1791309600&x-signature=N4lCwPS6PhSR7axZr2ZZL%2BlmQrI%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=25fc5bcd&x-expires=1791460800&x-signature=ayi2jCV5F%2Fkzmi1Lc%2BVNzODPcGg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=b5045b67&x-expires=1791460800&x-signature=8DS6%2B%2BrAxV%2BfmSJFqsaP24WrtDc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3e36c41f&x-expires=1791460800&x-signature=w91crfhC6k8SQzZbtPy%2Bw39JIUo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": true,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": true,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"uniqueId": "tiktok",
"verified": false
},
"id": "7681171537575824159",
"mixId": "7681171537575824159",
"mixName": "Songs Of The Summer 2026",
"name": "Songs Of The Summer 2026",
"videoCount": 3
},
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oM4EVAFCUEDiowAA0eAAfLEzqLIhR4OEVASzPC~tplv-tiktokx-origin.image?dr=14575&x-expires=1791309600&x-signature=UH%2FGUs8XyGbxHgV815dKs%2FF3FGg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=25fc5bcd&x-expires=1791460800&x-signature=ayi2jCV5F%2Fkzmi1Lc%2BVNzODPcGg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=b5045b67&x-expires=1791460800&x-signature=8DS6%2B%2BrAxV%2BfmSJFqsaP24WrtDc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3e36c41f&x-expires=1791460800&x-signature=w91crfhC6k8SQzZbtPy%2Bw39JIUo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": true,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": true,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"uniqueId": "tiktok",
"verified": false
},
"id": "7659874208872221471",
"mixId": "7659874208872221471",
"mixName": "Behind The Breakthrough",
"name": "Behind The Breakthrough",
"videoCount": 6
},
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oMr6rAA6QCIh5zBgE2FEAqDfIoAjTeAQIifXqO~tplv-tiktokx-origin.image?dr=14575&x-expires=1791309600&x-signature=L%2BUI%2F8ryyZDZhui0yiRrX3%2Fb%2FlQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=25fc5bcd&x-expires=1791460800&x-signature=ayi2jCV5F%2Fkzmi1Lc%2BVNzODPcGg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=b5045b67&x-expires=1791460800&x-signature=8DS6%2B%2BrAxV%2BfmSJFqsaP24WrtDc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3e36c41f&x-expires=1791460800&x-signature=w91crfhC6k8SQzZbtPy%2Bw39JIUo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": true,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": true,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"uniqueId": "tiktok",
"verified": false
},
"id": "7516638364301265695",
"mixId": "7516638364301265695",
"mixName": "In The Mix",
"name": "In The Mix",
"videoCount": 24
},
"… 2 more items in the full response"
],
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "0k5cdiqY7uSA4maNu10+1w=="
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the public playlists (mixes) on a TikTok account. Each playlist includes its name, cover image, video count and creator details. The input is the user's secUid.
videoCount across playlists to see which series hold the most videos.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-play-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
secUid | string | Yes | User secUid |
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": "5",
"extra": {
"fatal_item_ids": [],
"logid": "20261103154431181FE96A9F411504D026",
"now": 1793691871000
},
"hasMore": false,
"log_pb": {
"impr_id": "20261103154431181FE96A9F411504D026"
},
"playList": [
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByi…",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e…",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e…",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e…",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false
},
"id": "7681171537575824159",
"mixId": "7681171537575824159",
"mixName": "Songs Of The Summer 2026",
"name": "Songs Of The Summer 2026",
"videoCount": 3
}
],
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "0k5cdiqY…"
}
| Field | Meaning |
|---|---|
playList[] | List of playlists (mixes) on the account. |
playList[].id / playList[].mixId | ID of the playlist. Both keys hold the same value in this response. |
playList[].mixName / playList[].name | Display name of the playlist. |
playList[].videoCount | Number of videos in the playlist. |
playList[].cover | URL of the playlist cover image. The URL carries an x-expires query value, so save the image if you need it later. |
playList[].creator.id | ID of the account that owns the playlist. |
playList[].creator.nickname | Display name of the creator. |
playList[].creator.avatarLarger / playList[].creator.avatarMedium / playList[].creator.avatarThumb | Creator avatar image URLs in three sizes. |
hasMore | Tells you whether more pages remain. false means this was the last page. |
cursor | Cursor value returned for this page, as a string. |
secUid for a profile from TikTok Profile Sec User ID or TikTok User Sec User ID Extractor.count (default 30) and cursor (default 0). Pass the returned cursor into the next request while hasMore is true.id with TikTok User Mix Video List to see the videos inside it.$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-play-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 30,
"cursor": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
secUidstringจำเป็นUser secUid
countintegerNumber per page
ค่าเริ่มต้น: 30
cursorintegerPage cursor
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"cookie": "tt_chain_token=0k5cdiqY7uSA4maNu10+1w==;",
"cursor": "5",
"extra": {
"fatal_item_ids": [],
"logid": "20261006203926B011B7BF6ECF6C9BEAC8",
"now": 1791290366000
},
"hasMore": false,
"log_pb": {
"impr_id": "20261006203926B011B7BF6ECF6C9BEAC8"
},
"playList": [
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=14575&x-expires=1791309600&x-signature=N4lCwPS6PhSR7axZr2ZZL%2BlmQrI%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=25fc5bcd&x-expires=1791460800&x-signature=ayi2jCV5F%2Fkzmi1Lc%2BVNzODPcGg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=b5045b67&x-expires=1791460800&x-signature=8DS6%2B%2BrAxV%2BfmSJFqsaP24WrtDc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3e36c41f&x-expires=1791460800&x-signature=w91crfhC6k8SQzZbtPy%2Bw39JIUo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": true,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": true,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"uniqueId": "tiktok",
"verified": false
},
"id": "7681171537575824159",
"mixId": "7681171537575824159",
"mixName": "Songs Of The Summer 2026",
"name": "Songs Of The Summer 2026",
"videoCount": 3
},
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oM4EVAFCUEDiowAA0eAAfLEzqLIhR4OEVASzPC~tplv-tiktokx-origin.image?dr=14575&x-expires=1791309600&x-signature=UH%2FGUs8XyGbxHgV815dKs%2FF3FGg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=25fc5bcd&x-expires=1791460800&x-signature=ayi2jCV5F%2Fkzmi1Lc%2BVNzODPcGg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=b5045b67&x-expires=1791460800&x-signature=8DS6%2B%2BrAxV%2BfmSJFqsaP24WrtDc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3e36c41f&x-expires=1791460800&x-signature=w91crfhC6k8SQzZbtPy%2Bw39JIUo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": true,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": true,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"uniqueId": "tiktok",
"verified": false
},
"id": "7659874208872221471",
"mixId": "7659874208872221471",
"mixName": "Behind The Breakthrough",
"name": "Behind The Breakthrough",
"videoCount": 6
},
{
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oMr6rAA6QCIh5zBgE2FEAqDfIoAjTeAQIifXqO~tplv-tiktokx-origin.image?dr=14575&x-expires=1791309600&x-signature=L%2BUI%2F8ryyZDZhui0yiRrX3%2Fb%2FlQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"creator": {
"avatarLarger": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=25fc5bcd&x-expires=1791460800&x-signature=ayi2jCV5F%2Fkzmi1Lc%2BVNzODPcGg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarMedium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=b5045b67&x-expires=1791460800&x-signature=8DS6%2B%2BrAxV%2BfmSJFqsaP24WrtDc%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"avatarThumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3e36c41f&x-expires=1791460800&x-signature=w91crfhC6k8SQzZbtPy%2Bw39JIUo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",
"ftc": false,
"id": "107955",
"isADVirtual": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": true,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": true,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"uniqueId": "tiktok",
"verified": false
},
"id": "7516638364301265695",
"mixId": "7516638364301265695",
"mixName": "In The Mix",
"name": "In The Mix",
"videoCount": 24
},
"… 2 more items in the full response"
],
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "0k5cdiqY7uSA4maNu10+1w=="
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok User PlaylistsAPI นี้ 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-play-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: secUid (string). ตัวเลือก: count (integer) และ cursor (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok User Playlists ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก