secUidstringจำเป็น
The opaque security ID returned for the TikTok user.
https://api.sandbase.ai/v1/api/tiktok/user-postGet posts published by a TikTok user identified by secUid, with cursor pagination and latest or popular sorting. Use it to browse a creator's posting history or continue through their public post feed.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of posts published by a TikTok user. The input is the user's secUid, with optional cursor and sort (LATEST or MOST_POPULAR) parameters.
MOST_POPULAR to find a creator's top-performing videos.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/user-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secUid": "MS4wLjABAAAA9BGtvm-UVpvkJWKC9MQO2MwFhXOz2Cp0Euox91YwY-F9EQWLz8gRnVG8sQw6LkMk"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
secUid | string | Yes | The opaque security ID returned for the TikTok user. |
cursor | string | No | Pagination cursor. Use '0' for the first page, then use the max_cursor value returned in the previous response. |
sort | string | No | Sorting criteria for the user's posts. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"added_sound_music_info": {
"album": "Arrival",
"allow_offline_music_to_detail_page": false,
"artists": [
{
"avatar": {
"uri": "tos-maliva-avt-0068/aafa706a21e5b32e79d08684f17ba2b5",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/aafa706a21e5b32e79d…"
],
"url_prefix": null
},
"enter_type": 2,
"follow_status": 0,
"follower_status": 0,
"handle": "abba",
"is_block": false,
"is_blocked": false,
"is_private_account": false
}
],
"audition_duration": 60,
"author": "ABBA",
"author_deleted": false,
"author_position": null,
"avatar_medium": {
"data_size": 0,
"height": 720,
"uri": "tos-maliva-avt-0068/aafa706a21e5b32e79d08684f17ba2b5",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/aafa706a21e5b32e79d…"
],
"url_prefix": null,
"width": 720
}
},
"ai_remix_info": {
"has_entrance": false
},
"aigc_info": {
"aigc_label_type": 0,
"created_by_ai": false
},
"anchors": null,
"anchors_extras": "",
"animated_image_info": {
"effect": 0,
"type": 0
},
"author": {
"accept_private_policy": false,
"account_labels": null,
"account_region": "",
"ad_cover_url": null,
"advance_feature_item_order": null,
"advanced_feature_info": null,
"apple_account": 0,
"authority_status": 0
},
"author_user_id": 52018348334530560,
"aweme_acl": {
"download_general": {
"code": 0,
"mute": false,
"show_type": 2,
"transcode": 3
},
"download_mask_panel": {
"code": 0,
"mute": false,
"show_type": 2,
"transcode": 3
},
"platform_list": null,
"press_action_list": null,
"share_action_list": null,
"share_general": {
"code": 0,
"mute": false,
"show_type": 2,
"transcode": 3
},
"share_list_status": 0
},
"aweme_id": "7703087341845384479",
"aweme_type": 0,
"banners": null
}
],
"extra": {
"fatal_item_ids": [],
"logid": "20261103074418A9DE0C887E3F124A2041",
"now": 1793691858000
},
"has_locate_item": false,
"has_more": 1,
"log_pb": {
"impr_id": "20261103074418A9DE0C887E3F124A2041"
},
"max_cursor": 1791845975050,
"min_cursor": 1793514806165,
"status_code": 0,
"status_msg": "",
"version": "v2"
}
| Field | Meaning |
|---|---|
aweme_list[] | List of posts on this page. Each item is one post. |
aweme_list[].aweme_id | ID of the post, as a string. Use it to look up the single post. |
aweme_list[].desc | Caption text of the post, including hashtags. |
aweme_list[].create_time | Time the post was created. The value is a 10-digit number, which looks like a Unix timestamp in seconds. |
aweme_list[].content_type | Type of content, for example video. |
aweme_list[].cha_list[].cha_name / aweme_list[].cha_list[].cid | Name and ID of each hashtag (challenge) attached to the post. |
aweme_list[].content_desc_extra[].hashtag_name | Hashtag names found in the caption. start and end give the position of each tag in its caption line. |
aweme_list[].added_sound_music_info.author | Name of the author of the sound used in the post. |
aweme_list[].added_sound_music_info.album | Album name of the sound, which may be empty. |
aweme_list[].author_user_id | Numeric ID of the user who published the post. |
cursor as 0 for the first page. For the next page, pass the max_cursor value from the previous response.secUid is the opaque ID returned for a TikTok user, for example by a user profile API.aweme_id are long numeric strings. Keep them as strings to avoid rounding.$0.014286 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/user-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sort": "LATEST",
"cursor": "0",
"secUid": "MS4wLjABAAAA9BGtvm-UVpvkJWKC9MQO2MwFhXOz2Cp0Euox91YwY-F9EQWLz8gRnVG8sQw6LkMk"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
secUidstringจำเป็นThe opaque security ID returned for the TikTok user.
cursorstringPagination cursor. Use '0' for the first page, then use the max_cursor value returned in the previous response.
ค่าเริ่มต้น: "0"
sortstringSorting criteria for the user's posts.
ค่าเริ่มต้น: "LATEST"
ค่าที่เป็นไปได้: LATEST, MOST_POPULAR
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok User Published PostsAPI นี้ TikTok | $0.014286 ต่อการเรียก | JSON |
TikTok | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
TikTok | เริ่มต้นที่ $0.0008 ต่อครั้ง | JSON |
TikTok | เริ่มต้นที่ $0.0008 ต่อครั้ง | 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/user-post โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: secUid (string). ตัวเลือก: cursor (string) และ sort (หนึ่งใน LATEST, MOST_POPULAR). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok User Published Posts ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก