secUidstring必填
The unique user ID (sec_user_id) on Douyin.
https://api.sandbase.ai/v1/api/douyin/user-video-listGet videos published by a Douyin (TikTok China) user, with cursor pagination and newest or most-popular sorting. Use it to browse or monitor a creator's public video output.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Returns a page of videos published by one Douyin user, including the caption, hashtags, author info and creation time of each video. It needs the user's secUid and can sort by newest or most popular.
LATEST sort.MOST_POPULAR to see which content worked best.aweme_id values to pass to a video detail or statistics API.curl -X POST "https://api.sandbase.ai/v1/api/douyin/user-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secUid": "MS4wLjABAAAAanuWoPEMHem_eaWR8RQFyLQ8_QiouZlPlb7KAe9GS24"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
secUid | string | Yes | The unique user ID (sec_user_id) on Douyin. |
maxCursor | string | No | Pagination cursor; use 0 for the first page, and the max_cursor from the previous response for subsequent pages. |
sortType | string | No | Sort order: LATEST for newest first (default), or MOST_POPULAR for most popular first. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"activity_video_type": 0,
"admire_auth": {
"admire_button": 1,
"author_can_admire": 0,
"exit_admire_in_aweme_post": 0,
"is_admire": 0,
"is_click_admire_icon_recently": 0,
"is_fifty_admire_author_stable_fans": 0,
"is_iron_fans_in_aweme_post": 0,
"is_show_admire_button": 0
},
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"account_cert_info": "{}",
"allow_story_normal_like": true,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16…"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16…"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_1fcfb510bb…"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde…"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde…"
],
"width": 720
}
},
"author_mask_tag": 0,
"author_user_id": 60065294161,
"aweme_acl": {
"download_mask_panel": {
"code": 1,
"show_type": 0
}
},
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "6993909291686104350",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"label_risk_music_or_speech\",\"…"
},
"aweme_type": 68
}
],
"extra": {
"fatal_item_ids": [],
"logid": "20261103153222349B77C71B05BAD0534C",
"now": 1793691143000
},
"has_more": 1,
"log_pb": {
"impr_id": "20261103153222349B77C71B05BAD0534C"
},
"max_cursor": 1792554922000,
"min_cursor": 1793600601000,
"post_serial": 2,
"replace_series_cover": 1,
"request_item_cursor": 0,
"sec_uid": "MS4wLjABAAAAanuWoPEMHem_eaWR8RQFyLQ8_QiouZlPlb7KAe9GS24",
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
aweme_list[] | One published video per item. Each item is the full video record. |
aweme_list[].aweme_id | ID of the video, as a string. Use it to look up the same video in other APIs. |
aweme_list[].desc | Caption text of the video, including inline hashtags such as #家常菜. |
aweme_list[].create_time | Publish time of the video as a Unix timestamp in seconds. |
aweme_list[].cha_list[].cha_name / aweme_list[].cha_list[].cid | Name and ID of each hashtag (challenge) attached to the video. |
aweme_list[].author_user_id | Numeric ID of the account that published the video. |
aweme_list[].author.avatar_larger.url_list | Image URLs for the author's avatar, offered in several sizes and formats such as .heic and .jpeg. |
aweme_list[].city | City code of the video, for example 371300. |
aweme_list[].aweme_control.can_comment / aweme_list[].aweme_control.can_share | Flags that show whether comments and sharing are allowed on the video. |
aweme_list[].commerce_info.is_ad | true if the video is marked as an ad. |
secUid (the sec_user_id) from a Douyin user profile. The Douyin User Profile (App V3) API is a place to look it up.maxCursor as 0 for the first page. For later pages, pass the max_cursor value from the previous response.sortType accepts LATEST (default) or MOST_POPULAR.aweme_id values to Douyin Video Statistics.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/user-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"secUid": "MS4wLjABAAAAanuWoPEMHem_eaWR8RQFyLQ8_QiouZlPlb7KAe9GS24",
"sortType": "LATEST",
"maxCursor": "0"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
secUidstring必填The unique user ID (sec_user_id) on Douyin.
maxCursorstringPagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages.
預設:"0"
sortTypestringSort order: `LATEST` for newest first (default), or `MOST_POPULAR` for most popular first.
預設:"LATEST"
可能值:LATEST, MOST_POPULAR
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
Douyin | 每次呼叫 $0.014286 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/user-video-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.014286,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:secUid (string)。 選填:maxCursor (string) 和 sortType(LATEST, MOST_POPULAR 之一)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin User Published Videos 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。