countintegerbắt buộc
Number per page, default is 16
https://api.sandbase.ai/v1/api/douyin/web/food-awemeReturns a feed of food-related videos from Douyin Web. Results can be paginated using count and refresh index parameters.
[
{
"data": {
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAAAAAArLat4K6rlOP8oiVELjsEUasDut4IErOUIka5v8_dIlkZT9FcVNjSfDvwpuX1nXdLqItSlAG-b-Aq0guTyBsWoVWkUGqj1AfI7Efj03hasO8sbq6EOBPg5ASVszwVyM5qJ5oYItcoyECdSvWFTRne195C_BmXpCHOOHgZ3pXkrTXPHOD0YelmzRwrG2SbWD9BkSysFLuKVBgy2jEVubTYNJSPZJ5UxQhu_ipDmdIgDDRRw32wwwKl86mne2TnTVpx",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_36eda94bb9fc2b821e239d7d2dc769a3",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_36eda94bb9fc2b821e239d7d2dc769a3.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=20260820174356324D8004CFAA6B727B5E"
],
"width": 720
},
"cha_list": null,
"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,
"nickname": "刘桃子",
"not_seen_item_id_list": null,
"prevent_download": false,
"private_relation_list": null,
"region": "CN",
"sec_uid": "MS4wLjABAAAAW4cm2WajwqVIPbDLZPCKOb-WrQco_8lA6AGU5nZhQJI",
"secret": 0,
"share_info": {
"share_desc": "",
"share_qrcode_url": {
"height": 720,
"uri": "30fa200011a5e9f6e5ded",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/30fa200011a5e9f6e5ded?lk3s=138a59ce&x-expires=1787238000&x-signature=O5uoZzkpNEWYG1NlFeiY%2BHnS4Rk%3D&from=327834062"
],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "3553214686",
"signature": "我不定义此号\n爱吃是我 吃好没吃好全写在脸上\n爱捯饬是我 大方的分享漂亮衣服配饰以及你们感兴趣的所有\n爱扯淡是我 和朋友们一起分享彼此生活\n倍儿b酷 倍儿b飒 就是我 你们的朋友",
"uid": "104639793482",
"unique_id": "tao.zi0105",
"verification_type": 1
},
"author_user_id": 104639793482,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7651087651180760370",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "#探店 #迪奥 #漂亮饭 #西餐",
"challenge_position": null,
"chapter_bar_color": null,
"chapter_list": null,
"collect_stat": 0,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"commerce_top_labels": null,
"create_scale_type": null,
"create_time": 1781407667,
"desc": "我花了5400吃Dior 你们觉得值吗? #探店 #迪奥 #漂亮饭 #西餐",
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_v2_vertical\":1}",
"duet_aggregate_in_music_tab": false,
"duration": 486300,
"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": -1,
"recommend_predict_score": 0
},
"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
},
"geofencing": [],
"geofencing_regions": null,
"…": "70 more fields in the full response"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "20260820174356324D8004CFAA6B727B5E"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a feed of food-related videos from Douyin Web. Each item in aweme_list has the video ID, caption, author ID, creation time and duration. The only input is count, with an optional refresh_index for paging.
author_user_id to review further.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/food-aweme" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"count": 16, "refresh_index": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | Yes | Number per page, default is 16 |
refresh_index | integer | No | Paging index, default is 1 |
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,
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_8b0ae19bedfdef9006f590a3fd2f35a9",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_8b0ae19be…"
],
"width": 720
},
"cha_list": null,
"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
},
"author_user_id": 91657343363,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7695804504796564774",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_ta…"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "孜然羊肉,豆酱焗黄脚立,咸蛋黄焗丝瓜,炖羊肉汤。#vlog美食记#家常菜#晚饭吃什么#吴师傅vlog"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "20261103153230C564E68FDE9A6AEFE5EA"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
| Field | Meaning |
|---|---|
aweme_list[] | List of food videos in the feed. Each entry is one video. |
aweme_list[].aweme_id | ID of the video, as a string of digits. |
aweme_list[].desc / aweme_list[].caption | Video text. desc is the full description and caption is a short version. Both can include hashtags such as #家常菜. |
aweme_list[].create_time | Creation time of the video. The values look like Unix timestamps in seconds. |
aweme_list[].duration | Length of the video. Values such as 469600 suggest milliseconds, so that video would run about 7.8 minutes. |
aweme_list[].author_user_id | Numeric ID of the account that posted the video. |
aweme_list[].author.avatar_thumb.url_list[] | URLs of the author's small avatar image. |
aweme_list[].chapter_abstract | Short text summary of the video content. Only some videos have it. |
aweme_list[].chapter_list[] | Chapters of the video. Each has desc (title), detail (text), timestamp (position in the video) and url (image link). |
log_pb.impr_id | ID of this feed request, as logged by Douyin. |
count is required. It sets how many videos come back per page. refresh_index is the paging index and starts at 1.null on some videos, for example chapter_list and chapter_abstract. Check for null before you read them.aweme_id to Douyin Single Video Details (V1).$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/douyin/web/food-aweme" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 1,
"refresh_index": 1
}'Đặ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.
countintegerbắt buộcNumber per page, default is 16
refresh_indexintegerPaging index, default is 1
Đâ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.
[
{
"data": {
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAAAAAArLat4K6rlOP8oiVELjsEUasDut4IErOUIka5v8_dIlkZT9FcVNjSfDvwpuX1nXdLqItSlAG-b-Aq0guTyBsWoVWkUGqj1AfI7Efj03hasO8sbq6EOBPg5ASVszwVyM5qJ5oYItcoyECdSvWFTRne195C_BmXpCHOOHgZ3pXkrTXPHOD0YelmzRwrG2SbWD9BkSysFLuKVBgy2jEVubTYNJSPZJ5UxQhu_ipDmdIgDDRRw32wwwKl86mne2TnTVpx",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_36eda94bb9fc2b821e239d7d2dc769a3",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_36eda94bb9fc2b821e239d7d2dc769a3.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=20260820174356324D8004CFAA6B727B5E"
],
"width": 720
},
"cha_list": null,
"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,
"nickname": "刘桃子",
"not_seen_item_id_list": null,
"prevent_download": false,
"private_relation_list": null,
"region": "CN",
"sec_uid": "MS4wLjABAAAAW4cm2WajwqVIPbDLZPCKOb-WrQco_8lA6AGU5nZhQJI",
"secret": 0,
"share_info": {
"share_desc": "",
"share_qrcode_url": {
"height": 720,
"uri": "30fa200011a5e9f6e5ded",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/30fa200011a5e9f6e5ded?lk3s=138a59ce&x-expires=1787238000&x-signature=O5uoZzkpNEWYG1NlFeiY%2BHnS4Rk%3D&from=327834062"
],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "3553214686",
"signature": "我不定义此号\n爱吃是我 吃好没吃好全写在脸上\n爱捯饬是我 大方的分享漂亮衣服配饰以及你们感兴趣的所有\n爱扯淡是我 和朋友们一起分享彼此生活\n倍儿b酷 倍儿b飒 就是我 你们的朋友",
"uid": "104639793482",
"unique_id": "tao.zi0105",
"verification_type": 1
},
"author_user_id": 104639793482,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7651087651180760370",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"true\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "#探店 #迪奥 #漂亮饭 #西餐",
"challenge_position": null,
"chapter_bar_color": null,
"chapter_list": null,
"collect_stat": 0,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"commerce_top_labels": null,
"create_scale_type": null,
"create_time": 1781407667,
"desc": "我花了5400吃Dior 你们觉得值吗? #探店 #迪奥 #漂亮饭 #西餐",
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"diversion_bar_info": null,
"douyin_p_c_video_extra": "{\"ai_summary\":1,\"ai_summary_v2_vertical\":1}",
"duet_aggregate_in_music_tab": false,
"duration": 486300,
"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": -1,
"recommend_predict_score": 0
},
"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
},
"geofencing": [],
"geofencing_regions": null,
"…": "70 more fields in the full response"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "20260820174356324D8004CFAA6B727B5E"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Food VideosAPI này Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.03 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/web/food-aweme 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ý.
Bắt buộc: count (integer). Tùy chọn: refresh_index (integer). 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. Douyin Food Videos 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 Douyin.