countinteger
Number, default is 10, it is recommended to keep it unchanged.
https://api.sandbase.ai/v1/api/douyin/web/home-feedRetrieves the Douyin web home feed containing video listings and media metadata. Supports setting the item count and pagination index.
[
{
"data": {
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"authentication_token": "MS4wLjAAAAAAC3P6e58M1bMq5sbCDCpHTRgQqgfmVFwaClM9aNzrJxuWhVS1GoIdXXqFXvY6zgy76LKybERAd1-40QoIDe14akzZQYVZ3af21pk30QcTBLp1yNZdSy4fJcsOWNRrcQbNMm80L06jmcmL7uu7a73x0r1kQjJVSe8WZgXlAiNnYphGbnvG0dER3s6wW3AmNedQYfqUw-UkPqLvSnwAg30Z-RLzNRa3o-g2vx6Jv1Su3RSir9e_9U-73r-h7Hv6siAt",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813_oYYAbBeCIACjTXAA2AOiT85A4EDegAiOzgC4tv",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_oYYAbBeCIACjTXAA2AOiT85A4EDegAiOzgC4tv.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=2026082017442008D6375BAD37FBCD3464"
],
"width": 720
},
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0,
"is_ad_fake": false,
"nickname": "荣誉无畏契约",
"not_seen_item_id_list": null,
"prevent_download": false,
"private_relation_list": null,
"room_data": "{\"status\":2,\"user_count\":9816,\"stream_url\":{\"default_resolution\":\"HD1\",\"extra\":{\"height\":1080,\"width\":1920},\"flv_pull_url\":{\"FULL_HD1\":\"http://pull-flv-t13.douyincdn.com/thirdgame/stream-696398822749766459_uhd.flv?expire=1787823862\\u0026sign=49db58935a121d3e5a09eeb7938c18f7\\u0026rtm_expr_tag=empty_d…",
"room_id": 7676036465096527000,
"sec_uid": "MS4wLjABAAAAJv7WsFSsfGhqeXlh6tTc5kYlClWWnEVO6Xk-Ce-xZ-U",
"share_info": {
"share_desc": "",
"share_qrcode_url": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"uid": "345671530193628"
},
"author_user_id": 345671530193628,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7674175695035086586",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"true\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "#无畏契约 #尚博臭勒 #荣誉无畏契约 #张豪",
"chapter_bar_color": null,
"chapter_list": null,
"collect_stat": 0,
"commerce_top_labels": null,
"create_scale_type": null,
"create_time": 1786783267,
"desc": "加时赛18-18,一局打了36个回合,最终能否拿下胜利? #无畏契约 #尚博臭勒 #荣誉无畏契约 #张豪",
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_v2\":1,\"video_highlight_bar\":1}",
"effect_inflow_effects": null,
"encrypt_interest_point_list": null,
"encrypt_key_phrase_list": null,
"entertainment_product_info": {
"biz": 0,
"market_info": {
"limit_free": {
"in_free": false
},
"marketing_tag": null
},
"sub_title": null
},
"feed_comment_config": {
"input_config_text": "善语结善缘,恶言伤人心"
},
"feed_comment_panel_ai_tab": {
"fit_ai_summarize": true,
"show_comment_ai_tab": true
},
"follow_shot_assets": null,
"friend_recommend_info": {
"friend_recommend_source": 5,
"label_user_list": null,
"recommend_predict_rate": 0.8287448901121098,
"recommend_predict_score": 0.12168574333190918
},
"galileo_pad_textcrop": {
"android_d_h_cut_ratio": [
1
],
"android_d_v_cut_ratio": [
1
],
"ipad_d_h_cut_ratio": [
1,
1
],
"ipad_d_v_cut_ratio": [
1,
1
],
"pc_blocked_area_ratio": [
1,
1,
"… 11 more items in the full response"
],
"version": 1
},
"group_id": "7674175695035086586",
"horizontal_type": 1,
"im_share_btn_extra": null,
"im_shared_uid_list": null,
"image_crop_ctrl": 0,
"image_follow_shot_assets": null,
"images": null,
"img_bitrate": null,
"impression_data": {
"group_id_list_a": [],
"group_id_list_b": [],
"group_id_list_c": [],
"group_id_list_d": [],
"similar_id_list_a": null,
"similar_id_list_b": null
},
"…": "47 more fields in the full response"
},
{
"ad_candidates": null,
"ai_follow_images": null,
"author": null,
"author_user_id": 7666025096787543000,
"aweme_id": "7676033474129693483",
"aweme_type": 101,
"cell_room": {
"rawdata": "{\"id\":7676033474129693483,\"id_str\":\"7676033474129693483\",\"status\":2,\"owner_user_id\":7666025096787543077,\"title\":\"新人首播第一天\",\"user_count\":2118,\"extra\":{},\"cover\":{\"url_list\":[\"https://p11-webcast-sign.douyinpic.com/image-cut-tos-priv/828a42a571d88097f9fd651b6da061ad~tplv-qz53dukwul-common-resize:0:0.im…"
},
"chapter_bar_color": null,
"chapter_list": null,
"commerce_top_labels": null,
"create_scale_type": null,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"effect_inflow_effects": null,
"encrypt_interest_point_list": null,
"encrypt_key_phrase_list": null,
"follow_shot_assets": null,
"group_id": "7676033474129693483",
"im_share_btn_extra": null,
"im_shared_uid_list": null,
"image_follow_shot_assets": null,
"images": null,
"img_bitrate": null,
"interest_points": null,
"jump_tab_info_list": null,
"live_sort_info": "{\"preclk\":0}",
"music_guidance_tag_list": null,
"mv_info": null,
"original_images": null,
"preview_video_status": 1,
"ref_tts_id_list": null,
"ref_voice_modify_id_list": null,
"related_suggest_word": null,
"relation_labels": null,
"reply_smart_emojis": null,
"share_info": null,
"share_rank_sec_uid_list": null,
"slides_music_beats": null,
"statistics": null,
"…": "8 more fields in the full response"
}
],
"has_more": 1,
"log_pb": {
"impr_id": "2026082017442008D6375BAD37FBCD3464"
},
"status_code": 0
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
This API returns a page of videos from the Douyin web home feed. It needs no input, and you can set count and refresh_index to control the batch size and the page.
refresh_index to build a list of video IDs for later lookups.desc and caption.aweme_control flags.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/home-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | No | Number, default is 10, it is recommended to keep it unchanged. |
refresh_index | integer | No | Refresh/paging index, start at 0 and +1 per page. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"authentication_token": "MS4wLjAA…",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_b0561efc1a4d84e5ec492deaac6c1f28",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b0561efc1…"
],
"width": 720
},
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expire…"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0,
"is_ad_fake": false
},
"author_user_id": 3207689576654832,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7674483865485987108",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_ta…"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "#原创动漫 #原创漫剧 #二次元 #甜文 #ai漫剧",
"chapter_abstract": ""
}
],
"has_more": 1,
"log_pb": {
"impr_id": "2026110315322802C13721EFCFF357478D"
},
"status_code": 0
}
| Field | Meaning |
|---|---|
aweme_list[] | The list of feed items. Each item is one Douyin video. |
aweme_list[].aweme_id | The ID of the video, as a string. Use it to look up the video in other APIs. |
aweme_list[].desc / aweme_list[].caption | The video text. desc is the full description and caption is the hashtag line. |
aweme_list[].create_time | When the video was created, as a Unix timestamp in seconds. |
aweme_list[].author_user_id | The numeric user ID of the video author. |
aweme_list[].author.avatar_thumb.url_list[] | Links to the author's avatar image. |
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[].chapter_list[] | Chapter markers for the video, when present. Each has a desc title, a timestamp and an image url. |
has_more | Shows whether more items are available. The value 1 means you can request the next page. |
log_pb.impr_id | The impression ID of this feed request. |
refresh_index set to 0 and add 1 for each next page.count at its default of 10, as the parameter documentation recommends.null for fields such as chapter_list, so check for null before you read them.aweme_id to Douyin Single Video Details (V1) to get more detail on one video.$0.001 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/web/home-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 10,
"refresh_index": 0
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
countintegerNumber, default is 10, it is recommended to keep it unchanged.
refresh_indexintegerRefresh/paging index, start at 0 and +1 per page.
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"authentication_token": "MS4wLjAAAAAAC3P6e58M1bMq5sbCDCpHTRgQqgfmVFwaClM9aNzrJxuWhVS1GoIdXXqFXvY6zgy76LKybERAd1-40QoIDe14akzZQYVZ3af21pk30QcTBLp1yNZdSy4fJcsOWNRrcQbNMm80L06jmcmL7uu7a73x0r1kQjJVSe8WZgXlAiNnYphGbnvG0dER3s6wW3AmNedQYfqUw-UkPqLvSnwAg30Z-RLzNRa3o-g2vx6Jv1Su3RSir9e_9U-73r-h7Hv6siAt",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-0813_oYYAbBeCIACjTXAA2AOiT85A4EDegAiOzgC4tv",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_oYYAbBeCIACjTXAA2AOiT85A4EDegAiOzgC4tv.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=2026082017442008D6375BAD37FBCD3464"
],
"width": 720
},
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0,
"is_ad_fake": false,
"nickname": "荣誉无畏契约",
"not_seen_item_id_list": null,
"prevent_download": false,
"private_relation_list": null,
"room_data": "{\"status\":2,\"user_count\":9816,\"stream_url\":{\"default_resolution\":\"HD1\",\"extra\":{\"height\":1080,\"width\":1920},\"flv_pull_url\":{\"FULL_HD1\":\"http://pull-flv-t13.douyincdn.com/thirdgame/stream-696398822749766459_uhd.flv?expire=1787823862\\u0026sign=49db58935a121d3e5a09eeb7938c18f7\\u0026rtm_expr_tag=empty_d…",
"room_id": 7676036465096527000,
"sec_uid": "MS4wLjABAAAAJv7WsFSsfGhqeXlh6tTc5kYlClWWnEVO6Xk-Ce-xZ-U",
"share_info": {
"share_desc": "",
"share_qrcode_url": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"uid": "345671530193628"
},
"author_user_id": 345671530193628,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7674175695035086586",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"true\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "#无畏契约 #尚博臭勒 #荣誉无畏契约 #张豪",
"chapter_bar_color": null,
"chapter_list": null,
"collect_stat": 0,
"commerce_top_labels": null,
"create_scale_type": null,
"create_time": 1786783267,
"desc": "加时赛18-18,一局打了36个回合,最终能否拿下胜利? #无畏契约 #尚博臭勒 #荣誉无畏契约 #张豪",
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_v2\":1,\"video_highlight_bar\":1}",
"effect_inflow_effects": null,
"encrypt_interest_point_list": null,
"encrypt_key_phrase_list": null,
"entertainment_product_info": {
"biz": 0,
"market_info": {
"limit_free": {
"in_free": false
},
"marketing_tag": null
},
"sub_title": null
},
"feed_comment_config": {
"input_config_text": "善语结善缘,恶言伤人心"
},
"feed_comment_panel_ai_tab": {
"fit_ai_summarize": true,
"show_comment_ai_tab": true
},
"follow_shot_assets": null,
"friend_recommend_info": {
"friend_recommend_source": 5,
"label_user_list": null,
"recommend_predict_rate": 0.8287448901121098,
"recommend_predict_score": 0.12168574333190918
},
"galileo_pad_textcrop": {
"android_d_h_cut_ratio": [
1
],
"android_d_v_cut_ratio": [
1
],
"ipad_d_h_cut_ratio": [
1,
1
],
"ipad_d_v_cut_ratio": [
1,
1
],
"pc_blocked_area_ratio": [
1,
1,
"… 11 more items in the full response"
],
"version": 1
},
"group_id": "7674175695035086586",
"horizontal_type": 1,
"im_share_btn_extra": null,
"im_shared_uid_list": null,
"image_crop_ctrl": 0,
"image_follow_shot_assets": null,
"images": null,
"img_bitrate": null,
"impression_data": {
"group_id_list_a": [],
"group_id_list_b": [],
"group_id_list_c": [],
"group_id_list_d": [],
"similar_id_list_a": null,
"similar_id_list_b": null
},
"…": "47 more fields in the full response"
},
{
"ad_candidates": null,
"ai_follow_images": null,
"author": null,
"author_user_id": 7666025096787543000,
"aweme_id": "7676033474129693483",
"aweme_type": 101,
"cell_room": {
"rawdata": "{\"id\":7676033474129693483,\"id_str\":\"7676033474129693483\",\"status\":2,\"owner_user_id\":7666025096787543077,\"title\":\"新人首播第一天\",\"user_count\":2118,\"extra\":{},\"cover\":{\"url_list\":[\"https://p11-webcast-sign.douyinpic.com/image-cut-tos-priv/828a42a571d88097f9fd651b6da061ad~tplv-qz53dukwul-common-resize:0:0.im…"
},
"chapter_bar_color": null,
"chapter_list": null,
"commerce_top_labels": null,
"create_scale_type": null,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"effect_inflow_effects": null,
"encrypt_interest_point_list": null,
"encrypt_key_phrase_list": null,
"follow_shot_assets": null,
"group_id": "7676033474129693483",
"im_share_btn_extra": null,
"im_shared_uid_list": null,
"image_follow_shot_assets": null,
"images": null,
"img_bitrate": null,
"interest_points": null,
"jump_tab_info_list": null,
"live_sort_info": "{\"preclk\":0}",
"music_guidance_tag_list": null,
"mv_info": null,
"original_images": null,
"preview_video_status": 1,
"ref_tts_id_list": null,
"ref_voice_modify_id_list": null,
"related_suggest_word": null,
"relation_labels": null,
"reply_smart_emojis": null,
"share_info": null,
"share_rank_sec_uid_list": null,
"slides_music_beats": null,
"statistics": null,
"…": "8 more fields in the full response"
}
],
"has_more": 1,
"log_pb": {
"impr_id": "2026082017442008D6375BAD37FBCD3464"
},
"status_code": 0
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Douyin Web Home Feed此 API Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.03 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/web/home-feed 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:count (integer) 和 refresh_index (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Web Home Feed 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。