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

Douyin Web Home Feed

API 文件
https://api.sandbase.ai/v1/api/douyin/web/home-feed

Retrieves the Douyin web home feed containing video listings and media metadata. Supports setting the item count and pagination index.

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

Playground

輸入
Number, default is 10, it is recommended to keep it unchanged.
Refresh/paging index, start at 0 and +1 per page.
輸出範例
回應outputs · 7.9 KB · 202 行
[
  {
    "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。

API README

Douyin Web Home Feed API

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.

Use cases

  • Collect a sample of recommended Douyin videos with their captions and author IDs.
  • Page through the home feed by raising refresh_index to build a list of video IDs for later lookups.
  • Track which hashtags appear in feed captions by reading desc and caption.
  • Check which feed videos allow comments or sharing using the aweme_control flags.

Request

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.

Parameters

NameTypeRequiredDescription
countintegerNoNumber, default is 10, it is recommended to keep it unchanged.
refresh_indexintegerNoRefresh/paging index, start at 0 and +1 per page.

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,
      "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
}

Response fields

FieldMeaning
aweme_list[]The list of feed items. Each item is one Douyin video.
aweme_list[].aweme_idThe ID of the video, as a string. Use it to look up the video in other APIs.
aweme_list[].desc / aweme_list[].captionThe video text. desc is the full description and caption is the hashtag line.
aweme_list[].create_timeWhen the video was created, as a Unix timestamp in seconds.
aweme_list[].author_user_idThe 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_shareFlags 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_moreShows whether more items are available. The value 1 means you can request the next page.
log_pb.impr_idThe impression ID of this feed request.

Notes

  • Start with refresh_index set to 0 and add 1 for each next page.
  • Keep count at its default of 10, as the parameter documentation recommends.
  • Some items have null for fields such as chapter_list, so check for null before you read them.
  • Pass an aweme_id to Douyin Single Video Details (V1) to get more detail on one video.

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 Web Home Feed API?

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

Douyin Web Home Feed API 的費用是多少?

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

Douyin Web Home Feed API 接受哪些參數?

不需要任何參數。 選填:count (integer) 和 refresh_index (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Web Home Feed API 會回傳什麼?

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

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

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