countinteger
Maximum count number
Mặc định: 20
https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v3Returns simplified video data from a TikTok user homepage feed. Supports sorting by latest or hot posts and filtering by username or user ID.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns a list of videos from a TikTok user's profile feed. The input is either a sec_user_id or a unique_id (the username). You can sort by latest or hot posts.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'
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. |
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": {
"height": 720,
"uri": "tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a",
"url_list": [
"https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e…"
],
"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": null
}
],
"extra": {
"fatal_item_ids": [],
"logid": "20261103154401564FA481B424FA041A11",
"now": 1793691841000
},
"has_locate_item": false,
"has_more": 1,
"lite_filter_reasons": "{}",
"log_pb": {
"impr_id": "20261103154401564FA481B424FA041A11"
},
"max_cursor": 1787847286366,
"min_cursor": 1793482137319,
"status_code": 0,
"status_msg": "",
"version": "v3"
}
| Field | Meaning |
|---|---|
aweme_list[] | The list of videos on the user's feed. Each item is one video. |
aweme_list[].aweme_id | The ID of the video, as a string. |
aweme_list[].desc | The caption text of the video. |
aweme_list[].create_time | The time the video was posted. The value is a Unix timestamp in seconds. |
aweme_list[].desc_language | The language code of the caption, for example en. |
aweme_list[].content_type | The type of content, for example video. |
aweme_list[].author_user_id | The numeric ID of the account that posted the video. |
aweme_list[].content_desc_extra[].sec_uid / aweme_list[].content_desc_extra[].user_id | The sec_uid and user_id of an account tagged in the caption. |
aweme_list[].content_desc_extra[].start / aweme_list[].content_desc_extra[].end | The start and end position of the tag in the caption text. |
aweme_list[].aigc_info.created_by_ai | Shows whether the video is marked as created by AI. |
sec_user_id when you have it. If it is empty, the API uses unique_id instead.sort_type to 0 for latest posts or 1 for hot posts. Use count to set the maximum number of videos.max_cursor value from the previous response. The first page uses 0.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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 20,
"sort_type": 0,
"unique_id": "tiktok",
"max_cursor": 0,
"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
countintegerMaximum count number
Mặc định: 20
max_cursorintegerMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
Mặc định: 0
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.
Mặc định: ""
sort_typeintegerSort type, 0-Latest, 1-Hot
Mặc định: 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.
Mặc định: ""
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.01 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v3 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: count (integer), max_cursor (integer), sec_user_id (string), sort_type (integer) và unique_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. TikTok User Homepage Videos (V3) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.