countinteger
Maximum count number
ค่าเริ่มต้น: 20
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videosReturns videos posted on a TikTok user profile. Filter by account identifier, specify sorting order by latest or popular items, and paginate through results.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a list of videos posted on a TikTok user profile. You pass the account's sec_user_id, or its unique_id (the username), and the API returns each video under aweme_list.
collab_info.aigc_info.sort_type to 1.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM", "region": "US"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | No | Maximum count number |
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. |
region | string | No | Region, optional parameter, if not passed, the US region data will be used by default. After passing, the data of the corresponding country and region will be preferred, for example: US, GB, FR, JP, SG, VN, etc. |
sec_user_id | string | No | User sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data. |
sort_type | integer | No | Sort type, 0-Latest, 1-Hot |
unique_id | string | No | User unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"added_sound_music_info": {
"album": "",
"allow_offline_music_to_detail_page": false,
"artists": [],
"audition_duration": 43,
"author": "TikTok",
"author_deleted": false,
"author_position": null,
"avatar_medium": {
"data_size": 0,
"height": 720,
"uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
],
"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": 107955,
"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": "7702947070604332319",
"aweme_type": 0,
"banners": [
{
"key": {
"component_key": "bottom_banner_search_rs"
}
}
]
}
],
"extra": {
"fatal_item_ids": [],
"logid": "2026110307440751E2AC0A7755494ACB67",
"now": 1793691847000
},
"has_locate_item": false,
"has_more": 1,
"log_pb": {
"impr_id": "2026110307440751E2AC0A7755494ACB67"
},
"max_cursor": 1790367198527,
"min_cursor": 1793482136132,
"status_code": 0,
"status_msg": "",
"version": "v2"
}
| Field | Meaning |
|---|---|
aweme_list[] | One video per item. The list holds the videos on the requested page. |
aweme_list[].aweme_id | ID of the video, as a string. |
aweme_list[].create_time | Time the video was posted. The value is a Unix timestamp in seconds. |
aweme_list[].content_type | Kind of post. The sample value is video. |
aweme_list[].author_user_id | Numeric ID of the account that posted the video. |
aweme_list[].added_sound_music_info.author | Name of the author of the sound added to the video. |
aweme_list[].collab_info.collaborators[].user_info | Profile data for each collaborator on the video, such as the avatar in avatar_thumb. |
aweme_list[].collab_info.collaborators[].collab_status | Status code of the collaboration. The response does not say what each code means. |
aweme_list[].aigc_info.created_by_ai | Whether the video is flagged as created by AI. aigc_label_type holds the label type. |
aweme_list[].comment_config.emoji_recommend_list[].emoji | Emoji suggested for comments on this video, with a score for each. |
sec_user_id or unique_id. If both are given, sec_user_id is used first.max_cursor value from the previous response. The first page uses 0.sort_type 0 for latest videos and 1 for hot videos.sec_user_id from a username, call TikTok User ID by Username.$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/app-v3/user-post-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 20,
"region": "US",
"sort_type": 0,
"unique_id": "tiktok",
"max_cursor": 0,
"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
countintegerMaximum count number
ค่าเริ่มต้น: 20
max_cursorintegerMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
ค่าเริ่มต้น: 0
regionstringRegion, optional parameter, if not passed, the US region data will be used by default. After passing, the data of the corresponding country and region will be preferred, for example: US, GB, FR, JP, SG, VN, etc.
ค่าเริ่มต้น: ""
sec_user_idstringUser sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data.
ค่าเริ่มต้น: ""
sort_typeintegerSort type, 0-Latest, 1-Hot
ค่าเริ่มต้น: 0
unique_idstringUser unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username.
ค่าเริ่มต้น: ""
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok User Videos (App V3)API นี้ 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-post-videos โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: count (integer), max_cursor (integer), region (string), sec_user_id (string), sort_type (integer) และ unique_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok User Videos (App V3) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก