sec_user_idstringจำเป็น
User sec_user_id
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videosReturns liked videos for a specific user using their secure user ID. Supports cursor-based pagination and page size configuration.
[
{
"data": {
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20260928084006D2EEDF4A496381D3D748",
"now": 1790584806000
},
"invalid_item_id_list": null,
"log_pb": {
"impr_id": "20260928084006D2EEDF4A496381D3D748"
},
"status_code": 0,
"status_msg": "",
"version": "v2"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Retrieve liked video data for a TikTok user identified by sec_user_id. Supports pagination via max_cursor and page limits using counts.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'
| Name | Type | Required | Description |
|---|---|---|---|
sec_user_id | string | Yes | User sec_user_id |
counts | integer | No | Number per page |
max_cursor | integer | No | Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. |
sec_user_id to identify the target profile.max_cursor to 0 for the first page, then pass the returned cursor value for subsequent pages.counts controls the number of items returned per page.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_user_id": "1"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
sec_user_idstringจำเป็นUser sec_user_id
countsintegerNumber per page
max_cursorintegerMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20260928084006D2EEDF4A496381D3D748",
"now": 1790584806000
},
"invalid_item_id_list": null,
"log_pb": {
"impr_id": "20260928084006D2EEDF4A496381D3D748"
},
"status_code": 0,
"status_msg": "",
"version": "v2"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok User Liked VideosAPI นี้ TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.01 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/app-v3/user-like-videos โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: sec_user_id (string). ตัวเลือก: counts (integer) และ max_cursor (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น TikTok User Liked Videos ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก