secUidstringจำเป็น
User secUid
https://api.sandbase.ai/v1/api/tiktok/web/user-postReturns a list of posts from a specific TikTok user using their `secUid`, including video details, author metrics, and interaction statistics.
[
{
"data": {
"cookie": "tt_chain_token=goMan2g/sx7gbIzZOmQ+4w==;",
"cursor": "1789756556000",
"extra": {
"fatal_item_ids": [],
"logid": "202609261224175DB230E766D04557A3EE",
"now": 1790425457000
},
"hasMore": true,
"hasMorePrevious": true,
"itemList": [
{
"AIGCDescription": "",
"CategoryType": 109,
"IsHDBitrate": false,
"ShowAIGC": true,
"author": {
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=aa7a78f4&x-expires=1790596800&x-signature…",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=a62ce566&x-expires=1790596800&x-signature=2…",
"avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=4d4b917f&x-expires=1790596800&x-signature=R…",
"commentSetting": 0,
"downloadSetting": 0,
"duetSetting": 0,
"ftc": false,
"id": "107955",
"isADVirtual": false,
"isEmbedBanned": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": false,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": false,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"stitchSetting": 0,
"uniqueId": "tiktok",
"verified": true
},
"authorStats": {
"diggCount": 4345,
"followerCount": 95900000,
"followingCount": 1,
"friendCount": 0,
"heart": 464600000,
"heartCount": 464600000,
"videoCount": 1506
},
"authorStatsV2": {
"diggCount": "4345",
"followerCount": "95900000",
"followingCount": "1",
"friendCount": "0",
"heart": "464600000",
"heartCount": "464600000",
"videoCount": "1506"
},
"backendSourceEventTracking": "",
"collected": false,
"contents": [
{
"desc": "the throwback sounds we didn’t know we were missing, given new life on the FYF 💖 @Adam Barrera unpacks how you made this the summer of nostalgia.",
"textExtra": "… 1 items in the full response"
}
],
"createTime": 1790367199,
"desc": "the throwback sounds we didn’t know we were missing, given new life on the FYF 💖 @Adam Barrera unpacks how you made this the summer of nostalgia.",
"digged": false,
"diversificationId": 10029,
"duetDisplay": 0,
"duetEnabled": true,
"forFriend": false,
"id": "7689568478570843422",
"isAd": false,
"isProhibited": false,
"isReviewing": false,
"itemCommentStatus": 0,
"item_control": {
"can_repost": true
},
"music": {
"authorName": "TikTok",
"coverLarge": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=aa7a78f4&x-expires=1790596800&x-signature…",
"coverMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=a62ce566&x-expires=1790596800&x-signature=2…",
"coverThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=4d4b917f&x-expires=1790596800&x-signature=R…",
"duration": 52,
"id": "7689568544471698206",
"isCopyrighted": false,
"is_commerce_music": true,
"is_unlimited_music": false,
"original": true,
"playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast8/tos-useast8-v-27dcd7-tx2/osFIv8MCXAYBbqtfATcQECmobfeIIqA8AVajSQ/?a=1988&bti=ODszNWYuMDE6&&bt=125&ft=GcAInInz7Th3qO1GXq8Zmo&mime_type=audio_mpeg…",
"private": false,
"shoot_duration": 52,
"title": "original sound",
"tt2dsp": {}
},
"officalItem": false,
"…": "13 more fields in the full response"
},
"… 2 more items in the full response"
],
"log_pb": {
"impr_id": "202609261224175DB230E766D04557A3EE"
},
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "goMan2g/sx7gbIzZOmQ+4w=="
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
List the videos a TikTok account has posted, newest first, with each video's caption, cover, play URL, music, hashtags and play, like, comment and share counts. Identify the account by its secUid.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-post" \
-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, default is 20, cannot be changed. |
coverFormat | integer | No | Cover format, default is 2, optional values are 1 or 2. |
cursor | integer | No | Page cursor |
post_item_list_request_type | integer | No | Sort type |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"itemList": [
{
"id": "7702947070604332319",
"createTime": 1793482137,
"desc": "already planning next halloween? 👀🎃 take notes from @Mason Smith. find more DIY",
"stats": {
"collectCount": 352,
"commentCount": 1159,
"diggCount": 4093,
"playCount": 287200,
"shareCount": 328
},
"author": {
"uniqueId": "tiktok",
"nickname": "TikTok"
}
}
],
"cursor": "1788468783000",
"hasMore": true
}
| Field | Meaning |
|---|---|
itemList[] | Videos on this page (about 15). |
itemList[].id | Video ID (aweme_id). |
itemList[].desc | Caption. |
itemList[].createTime | Upload time, Unix seconds. |
itemList[].stats | playCount, diggCount (likes), commentCount, shareCount, collectCount. |
itemList[].author / authorStats | Author profile and follower, like and video counts. |
cursor / hasMore | Pass cursor back to get the next page while hasMore is true. |
secUid is the long ID starting with MS4wLjABAAAA. Get it from a profile with TikTok User Profile.$0.001 per successful call. Failed calls, including lookups whose target does not exist, 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-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 3,
"cursor": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"coverFormat": 2,
"post_item_list_request_type": 0
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
secUidstringจำเป็นUser secUid
countintegerNumber per page, default is 20, cannot be changed.
ค่าเริ่มต้น: 20
coverFormatintegerCover format, default is 2, optional values are 1 or 2.
ค่าเริ่มต้น: 2
cursorintegerPage cursor
ค่าเริ่มต้น: 0
post_item_list_request_typeintegerSort type
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"cookie": "tt_chain_token=goMan2g/sx7gbIzZOmQ+4w==;",
"cursor": "1789756556000",
"extra": {
"fatal_item_ids": [],
"logid": "202609261224175DB230E766D04557A3EE",
"now": 1790425457000
},
"hasMore": true,
"hasMorePrevious": true,
"itemList": [
{
"AIGCDescription": "",
"CategoryType": 109,
"IsHDBitrate": false,
"ShowAIGC": true,
"author": {
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=aa7a78f4&x-expires=1790596800&x-signature…",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=a62ce566&x-expires=1790596800&x-signature=2…",
"avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=4d4b917f&x-expires=1790596800&x-signature=R…",
"commentSetting": 0,
"downloadSetting": 0,
"duetSetting": 0,
"ftc": false,
"id": "107955",
"isADVirtual": false,
"isEmbedBanned": false,
"nickname": "TikTok",
"openFavorite": false,
"privateAccount": false,
"relation": 0,
"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"secret": false,
"shortDramaCreator": {},
"signature": "Your next discovery is waiting on TikTok.",
"stitchSetting": 0,
"uniqueId": "tiktok",
"verified": true
},
"authorStats": {
"diggCount": 4345,
"followerCount": 95900000,
"followingCount": 1,
"friendCount": 0,
"heart": 464600000,
"heartCount": 464600000,
"videoCount": 1506
},
"authorStatsV2": {
"diggCount": "4345",
"followerCount": "95900000",
"followingCount": "1",
"friendCount": "0",
"heart": "464600000",
"heartCount": "464600000",
"videoCount": "1506"
},
"backendSourceEventTracking": "",
"collected": false,
"contents": [
{
"desc": "the throwback sounds we didn’t know we were missing, given new life on the FYF 💖 @Adam Barrera unpacks how you made this the summer of nostalgia.",
"textExtra": "… 1 items in the full response"
}
],
"createTime": 1790367199,
"desc": "the throwback sounds we didn’t know we were missing, given new life on the FYF 💖 @Adam Barrera unpacks how you made this the summer of nostalgia.",
"digged": false,
"diversificationId": 10029,
"duetDisplay": 0,
"duetEnabled": true,
"forFriend": false,
"id": "7689568478570843422",
"isAd": false,
"isProhibited": false,
"isReviewing": false,
"itemCommentStatus": 0,
"item_control": {
"can_repost": true
},
"music": {
"authorName": "TikTok",
"coverLarge": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=aa7a78f4&x-expires=1790596800&x-signature…",
"coverMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=a62ce566&x-expires=1790596800&x-signature=2…",
"coverThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=4d4b917f&x-expires=1790596800&x-signature=R…",
"duration": 52,
"id": "7689568544471698206",
"isCopyrighted": false,
"is_commerce_music": true,
"is_unlimited_music": false,
"original": true,
"playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast8/tos-useast8-v-27dcd7-tx2/osFIv8MCXAYBbqtfATcQECmobfeIIqA8AVajSQ/?a=1988&bti=ODszNWYuMDE6&&bt=125&ft=GcAInInz7Th3qO1GXq8Zmo&mime_type=audio_mpeg…",
"private": false,
"shoot_duration": 52,
"title": "original sound",
"tt2dsp": {}
},
"officalItem": false,
"…": "13 more fields in the full response"
},
"… 2 more items in the full response"
],
"log_pb": {
"impr_id": "202609261224175DB230E766D04557A3EE"
},
"statusCode": 0,
"status_code": 0,
"status_msg": "",
"tt_chain_token": "goMan2g/sx7gbIzZOmQ+4w=="
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok User PostsAPI นี้ 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-post โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: secUid (string). ตัวเลือก: count (integer), coverFormat (integer), cursor (integer) และ post_item_list_request_type (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok User Posts ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก