Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Food Videos

API 文件
https://api.sandbase.ai/v1/api/douyin/web/food-aweme

Returns a feed of food-related videos from Douyin Web. Results can be paginated using count and refresh index parameters.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
Number per page, default is 16
Paging index, default is 1
輸出範例
回應outputs · 6.1 KB · 165 行
[
  {
    "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
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Food Videos API

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.

Use cases

  • Pull a batch of current food videos to see which dishes and hashtags appear in the feed.
  • Collect captions and hashtags from food posts for text analysis of recipe and restaurant topics.
  • Build a list of food creator IDs from author_user_id to review further.
  • Read the chapter summaries of cooking videos to see the steps without watching the video.

Request

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.

Parameters

NameTypeRequiredDescription
countintegerYesNumber per page, default is 16
refresh_indexintegerNoPaging index, default is 1

Example response

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
}

Response fields

FieldMeaning
aweme_list[]List of food videos in the feed. Each entry is one video.
aweme_list[].aweme_idID of the video, as a string of digits.
aweme_list[].desc / aweme_list[].captionVideo text. desc is the full description and caption is a short version. Both can include hashtags such as #家常菜.
aweme_list[].create_timeCreation time of the video. The values look like Unix timestamps in seconds.
aweme_list[].durationLength of the video. Values such as 469600 suggest milliseconds, so that video would run about 7.8 minutes.
aweme_list[].author_user_idNumeric 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_abstractShort 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_idID of this feed request, as logged by Douyin.

Notes

  • count is required. It sets how many videos come back per page. refresh_index is the paging index and starts at 1.
  • Many fields are null on some videos, for example chapter_list and chapter_abstract. Check for null before you read them.
  • To get full details for a video, pass its aweme_id to Douyin Single Video Details (V1).
  • To read the comments on a video, use Douyin Video Comments (Web).

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.03JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Food Videos API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/web/food-aweme。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Food Videos API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Food Videos API 接受哪些參數?

必要:count (integer)。 選填:refresh_index (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Food Videos API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Food Videos 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。