---
title: "抖音視頻搜索 API (V4)"
description: "按關鍵詞搜索抖音視頻，支持排序、發佈時間、時長和分頁篩選；後續頁面需要上一頁的搜索ID。用於支持內容發現和趨勢研究。"
aiUsagePrompt: true
---

# 抖音視頻搜索 API \(V4\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/douyin/search-video/v4\"")'
  :summary='JSON.parse("\"視頻搜索 (V4)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/douyin-tiktok-china/video-search-v4-zh-hant.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"此 API 服務的訪問令牌。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"keyword\",\"in\":\"query\",\"description\":\"搜索關鍵詞。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sortType\",\"in\":\"query\",\"description\":\"搜索結果排序標準。\\n\\n可用值：\\n- `_0`：綜合\\n- `_1`：點贊最多\\n- `_2`：最新\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"搜索結果排序標準。\",\"enum\":[\"_0\",\"_1\",\"_2\"]}},{\"name\":\"publishTime\",\"in\":\"query\",\"description\":\"按視頻發佈時間範圍篩選。\\n\\n可用值：\\n- `_0`: 不限\\n- `_1`: 最近24小時\\n- `_7`: 最近7天\\n- `_180`: 最近6個月\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"按視頻發佈時間範圍篩選。\",\"enum\":[\"_0\",\"_1\",\"_7\",\"_180\"]}},{\"name\":\"duration\",\"in\":\"query\",\"description\":\"按視頻時長篩選。\\n\\n可用值：\\n- `_0`: 不限時長\\n- `_1`: 1分鐘以內\\n- `_2`: 1-5分鐘\\n- `_3`: 超過5分鐘\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"_0\",\"description\":\"按視頻時長篩選。\",\"enum\":[\"_0\",\"_1\",\"_2\",\"_3\"]}},{\"name\":\"page\",\"in\":\"query\",\"description\":\"頁碼（從1開始）。\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":1}},{\"name\":\"searchId\",\"in\":\"query\",\"description\":\"搜索ID；頁面大於1時需要。使用前一次回應中的 data.business_config.next_page.search_id，當 data.business_config.has_more 為 0 時停止分頁。\",\"required\":false,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"好的\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"抖音關鍵詞搜索的結果及分頁信息。\",\"properties\":{\"business_data\":{\"type\":\"array\",\"description\":\"搜索結果卡片列表。同一視頻可能出現在多頁，可按 aweme_id 對視頻結果去重。\",\"items\":{\"type\":\"object\",\"description\":\"搜索結果列表中的一張卡片。\",\"properties\":{\"data_id\":{\"type\":\"string\",\"description\":\"卡片在當前回應中的標識。\"},\"type\":{\"type\":\"integer\",\"description\":\"結果類型編碼。已觀察到 1 表示視頻結果，66667 表示相關搜索。\"},\"data\":{\"type\":\"object\",\"description\":\"結果卡片的內容，具體欄位取決於卡片類型。\",\"properties\":{\"aweme_info\":{\"type\":\"object\",\"description\":\"卡片包含視頻結果時返回的抖音視頻信息。\",\"properties\":{\"aweme_id\":{\"type\":\"string\",\"description\":\"抖音視頻的穩定 ID，以字符串返回。可用該值在搜索結果的不同頁面中識別同一個視頻。\"},\"group_id\":{\"type\":\"string\",\"description\":\"平台返回的作品分組標識。\"},\"author_user_id\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"發佈帳號的數字型 ID。\"},\"desc\":{\"type\":\"string\",\"description\":\"抖音提供的作品描述。\"},\"caption\":{\"type\":\"string\",\"description\":\"抖音提供的作品文案。\"},\"item_title\":{\"type\":\"string\",\"description\":\"作品標題，有該值時返回。\"},\"preview_title\":{\"type\":\"string\",\"description\":\"作品預覽使用的標題。\"},\"create_time\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"視頻發佈時間，Unix 時間戳，單位為秒。\"},\"duration\":{\"type\":\"integer\",\"description\":\"視頻時長，單位為毫秒。\"},\"aweme_type\":{\"type\":\"integer\",\"description\":\"抖音返回的作品類型編碼。\"},\"media_type\":{\"type\":\"integer\",\"description\":\"抖音返回的媒體類型編碼。\"},\"ip_attribution\":{\"type\":\"string\",\"description\":\"抖音返回的 IP 屬地標識，有該值時返回。\"},\"share_url\":{\"type\":\"string\",\"description\":\"視頻的抖音分享連結。\"},\"share_info\":{\"type\":\"object\",\"description\":\"分享視頻時使用的信息。\",\"properties\":{\"share_url\":{\"type\":\"string\",\"description\":\"分享視頻時使用的連結。\"},\"share_title\":{\"type\":\"string\",\"description\":\"分享視頻時使用的標題。\"},\"share_desc\":{\"type\":\"string\",\"description\":\"分享視頻時使用的說明文本。\"}}},\"text_extra\":{\"type\":[\"array\",\"null\"],\"description\":\"作品文本關聯的話題標籤與提及的帳號列表，可能為 null。\",\"items\":{\"type\":\"object\",\"description\":\"一項文本標註。\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"抖音返回的文本標註類型編碼。\"},\"hashtag_id\":{\"type\":\"string\",\"description\":\"標註表示話題標籤時，對應的話題標籤 ID。\"},\"hashtag_name\":{\"type\":\"string\",\"description\":\"被標註的話題標籤名稱。\"},\"user_id\":{\"type\":\"string\",\"description\":\"標註提及用戶時，對應的抖音帳號 ID。\"},\"sec_uid\":{\"type\":\"string\",\"description\":\"被提及用戶的抖音備用帳號標識。\"},\"is_commerce\":{\"type\":\"boolean\",\"description\":\"抖音是否將該話題標籤標記為商業內容。\"}}}},\"cha_list\":{\"type\":[\"array\",\"null\"],\"description\":\"與作品關聯的話題或挑戰列表，可能為 null。\",\"items\":{\"type\":\"object\",\"description\":\"一個話題或挑戰。\",\"properties\":{\"cid\":{\"type\":\"string\",\"description\":\"抖音話題或挑戰的 ID。\"},\"cha_name\":{\"type\":\"string\",\"description\":\"話題或挑戰的名稱。\"},\"desc\":{\"type\":\"string\",\"description\":\"話題或挑戰的說明。\"},\"is_commerce\":{\"type\":\"boolean\",\"description\":\"抖音是否將該話題或挑戰標記為商業內容。\"}}}},\"author\":{\"type\":\"object\",\"description\":\"隨視頻返回的作者資料。\",\"properties\":{\"uid\":{\"type\":\"string\",\"description\":\"抖音帳號 ID，以字符串返回。\"},\"sec_uid\":{\"type\":\"string\",\"description\":\"抖音用戶資料接口使用的備用帳號標識。\"},\"nickname\":{\"type\":\"string\",\"description\":\"作者的顯示暱稱。\"},\"unique_id\":{\"type\":\"string\",\"description\":\"公開展示的抖音號，有該值時返回。\"},\"short_id\":{\"type\":\"string\",\"description\":\"抖音返回的帳號短標識。\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"平台返回的作者粉絲數。\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"抖音是否將作者標記為已認證。\"},\"verification_type\":{\"type\":\"integer\",\"description\":\"平台返回的作者認證類別編碼。\"},\"avatar_thumb\":{\"type\":\"object\",\"description\":\"作者頭像縮略圖。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}},\"avatar_medium\":{\"type\":\"object\",\"description\":\"作者頭像的中等尺寸版本。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}},\"avatar_larger\":{\"type\":\"object\",\"description\":\"作者頭像的大尺寸版本。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}}}},\"statistics\":{\"type\":\"object\",\"description\":\"平台返回的視頻互動統計。\",\"properties\":{\"aweme_id\":{\"type\":\"string\",\"description\":\"該統計關聯的抖音視頻 ID。\"},\"digg_count\":{\"type\":\"integer\",\"description\":\"平台返回的視頻點贊數。\"},\"comment_count\":{\"type\":\"integer\",\"description\":\"平台返回的視頻評論數。\"},\"collect_count\":{\"type\":\"integer\",\"description\":\"平台返回的視頻收藏數。\"},\"share_count\":{\"type\":\"integer\",\"description\":\"平台返回的視頻分享數。\"},\"forward_count\":{\"type\":\"integer\",\"description\":\"回應中返回的轉發數。\"},\"download_count\":{\"type\":\"integer\",\"description\":\"平台返回的視頻下載數。\"}}},\"video\":{\"type\":\"object\",\"description\":\"視頻信息及可用的播放資源。\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"視頻時長，單位為毫秒。\"},\"width\":{\"type\":\"integer\",\"description\":\"抖音返回的視頻寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"抖音返回的視頻高度，單位為像素。\"},\"format\":{\"type\":\"string\",\"description\":\"抖音返回的視頻格式。\"},\"ratio\":{\"type\":\"string\",\"description\":\"抖音返回的清晰度標籤。\"},\"has_watermark\":{\"type\":\"boolean\",\"description\":\"視頻信息中返回的水印標記。\"},\"play_addr\":{\"type\":\"object\",\"description\":\"視頻的主要播放地址。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"資源信息中記錄的文件大小，單位為字節。\"}}},\"play_addr_h264\":{\"type\":\"object\",\"description\":\"H.264 版本的播放地址。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"資源信息中記錄的文件大小，單位為字節。\"}}},\"play_addr_265\":{\"type\":\"object\",\"description\":\"H.265 播放欄位中返回的地址。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"資源信息中記錄的文件大小，單位為字節。\"}}},\"download_addr\":{\"type\":\"object\",\"description\":\"視頻下載地址。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"資源信息中記錄的文件大小，單位為字節。\"}}},\"cover\":{\"type\":\"object\",\"description\":\"視頻封面圖片。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}},\"origin_cover\":{\"type\":\"object\",\"description\":\"原始封面欄位中的封面圖片。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}},\"dynamic_cover\":{\"type\":\"object\",\"description\":\"動態封面資源，有相關信息時返回。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}},\"animated_cover\":{\"type\":\"object\",\"description\":\"動畫封面資源，有相關信息時返回。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}}}},\"bit_rate\":{\"type\":\"array\",\"description\":\"視頻的播放編碼版本和碼率信息。\",\"items\":{\"type\":\"object\",\"description\":\"視頻的一個播放編碼版本。\",\"properties\":{\"bit_rate\":{\"type\":\"integer\",\"description\":\"編碼碼率，單位為比特每秒。\"},\"FPS\":{\"type\":\"integer\",\"description\":\"幀率，單位為幀每秒。\"},\"format\":{\"type\":\"string\",\"description\":\"平台返回的該編碼版本媒體格式。\"},\"gear_name\":{\"type\":\"string\",\"description\":\"平台返回的該版本編碼檔位標籤。\"},\"quality_type\":{\"type\":\"integer\",\"description\":\"平台返回的該編碼版本畫質類別編碼。\"},\"is_h265\":{\"type\":\"integer\",\"description\":\"平台返回的該版本 H.265 編碼標記。\"},\"HDR_type\":{\"type\":\"string\",\"description\":\"該編碼版本返回的 HDR 類別標籤。\"},\"HDR_bit\":{\"type\":\"string\",\"description\":\"該編碼版本返回的 HDR 位深標籤。\"},\"play_addr\":{\"type\":\"object\",\"description\":\"該編碼版本的播放地址。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"},\"data_size\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"資源信息中記錄的文件大小，單位為字節。\"}}}}}}}},\"music\":{\"type\":\"object\",\"description\":\"與視頻關聯的音樂或聲音信息。\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"數字型音樂 ID。在 JavaScript 中使用支持無損數字解析的 JSON 解析器保留完整值。\"},\"id_str\":{\"type\":\"string\",\"description\":\"音樂 ID，以字符串返回。\"},\"mid\":{\"type\":\"string\",\"description\":\"mid 欄位返回的音樂 ID。\"},\"title\":{\"type\":\"string\",\"description\":\"聲音或音樂音軌的標題。\"},\"author\":{\"type\":\"string\",\"description\":\"隨音軌返回的藝人或聲音創作者名稱。\"},\"album\":{\"type\":\"string\",\"description\":\"專輯名稱，有該值時返回。\"},\"is_original_sound\":{\"type\":\"boolean\",\"description\":\"抖音是否將該音軌標記為原聲。\"},\"cover_thumb\":{\"type\":\"object\",\"description\":\"聲音或音樂音軌的封面縮略圖。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"資源信息中記錄的高度，單位為像素。\"}}},\"play_url\":{\"type\":\"object\",\"description\":\"聲音或音樂音軌的播放資源。\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"抖音返回的資源標識。\"},\"url_list\":{\"type\":\"array\",\"description\":\"資源的連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"一條資源連結。\"}}}}}}}},\"related_word_list\":{\"type\":\"array\",\"description\":\"結果卡片包含相關搜索時返回的推薦詞列表。\",\"items\":{\"type\":\"object\",\"description\":\"一條相關搜索建議。\",\"properties\":{\"related_word\":{\"type\":\"string\",\"description\":\"推薦的相關搜索詞。\"}}}}}}}}},\"business_config\":{\"type\":\"object\",\"description\":\"分頁和查詢信息。\",\"properties\":{\"keyword\":{\"type\":\"string\",\"description\":\"平台返回的搜索關鍵詞。\"},\"card_count\":{\"type\":\"integer\",\"description\":\"平台返回的當前頁結果卡片數量。\"},\"has_more\":{\"type\":[\"integer\",\"string\"],\"description\":\"該值為 0 時停止翻頁，即使回應仍包含搜索 ID。結果結束時可能只返回此分頁標記。\"},\"next_page\":{\"type\":\"object\",\"description\":\"後續分頁信息，有相關信息時返回。\",\"properties\":{\"search_id\":{\"type\":\"string\",\"description\":\"用於請求下一頁的搜索 ID。將該值傳入 searchId，將 page 加 1，並保持關鍵詞和篩選條件一致。連續頁面可能返回相同的搜索 ID。\"}}}}},\"status_code\":{\"type\":[\"number\",\"string\"],\"description\":\"抖音搜索狀態碼，有該值時返回。\"}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"請求參數或請求本文無效\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"訪問令牌無效或未激活\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"權限不足\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"請求速率或每日配額已超限\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"伺服器內部錯誤\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"服務暫時不可用\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"全球生產 API（預設）\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/douyin/search-video/v4\"")' />

<p>按關鍵詞搜索抖音視頻，支持排序、發佈時間、時長和分頁篩選；後續頁面需要上一頁的搜索ID。用於支持內容發現和趨勢研究。</p>

## 請求參數

<div class="api-doc-table api-doc-table--params">

| 參數名 | 位置 | 類型 | 必填 | 預設值 | 說明 |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | 是 | - | 此 API 服務的訪問令牌。 |
| <code>keyword</code> | query | <code>string</code> | 是 | - | 搜索關鍵詞。 |
| <code>sortType</code> | query | <code>string</code> | 否 | <code>_0</code> | 搜索結果排序標準。<br /><br><br>可用值：<br /><br>- <code>_0</code>：綜合<br /><br>- <code>_1</code>：點贊最多<br /><br>- <code>_2</code>：最新 |
| <code>publishTime</code> | query | <code>string</code> | 否 | <code>_0</code> | 按視頻發佈時間範圍篩選。<br /><br><br>可用值：<br /><br>- <code>_0</code>: 不限<br /><br>- <code>_1</code>: 最近24小時<br /><br>- <code>_7</code>: 最近7天<br /><br>- <code>_180</code>: 最近6個月 |
| <code>duration</code> | query | <code>string</code> | 否 | <code>_0</code> | 按視頻時長篩選。<br /><br><br>可用值：<br /><br>- <code>_0</code>: 不限時長<br /><br>- <code>_1</code>: 1分鐘以內<br /><br>- <code>_2</code>: 1-5分鐘<br /><br>- <code>_3</code>: 超過5分鐘 |
| <code>page</code> | query | <code>integer</code> | 否 | <code>1</code> | 頁碼（從1開始）。 |
| <code>searchId</code> | query | <code>string</code> | 否 | - | 搜索ID；頁面大於1時需要。使用前一次回應中的 data.business_config.next_page.search_id，當 data.business_config.has_more 為 0 時停止分頁。 |

</div>

## 程式碼範例

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 AI 提示詞]
我想使用 JustOneAPI 提供的“視頻搜索 (V4)”接口。
接入地址: https://api.justoneapi.com。
接口路徑: /api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE
接口地址: BASE_URL + /api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE
HTTP 方法: GET
身份驗證: 在 URL 中傳入 token 查詢參數。
OpenAPI 定義: https://docs.justoneapi.com/openapi/douyin-tiktok-china/video-search-v4-zh-hant.json

請求參數說明:
- token (query): 此 API 服務的訪問令牌。 (必填)
- keyword (query): 搜索關鍵詞。 (必填)
- sortType (query): 搜索結果排序標準。

可用值：
- `_0`：綜合
- `_1`：點贊最多
- `_2`：最新
- publishTime (query): 按視頻發佈時間範圍篩選。

可用值：
- `_0`: 不限
- `_1`: 最近24小時
- `_7`: 最近7天
- `_180`: 最近6個月
- duration (query): 按視頻時長篩選。

可用值：
- `_0`: 不限時長
- `_1`: 1分鐘以內
- `_2`: 1-5分鐘
- `_3`: 超過5分鐘
- page (query): 頁碼（從1開始）。
- searchId (query): 搜索ID；頁面大於1時需要。使用前一次回應中的 data.business_config.next_page.search_id，當 data.business_config.has_more 為 0 時停止分頁。

返回格式: 請根據實際 Content-Type 安全處理 JSON 或文本回應。

回應處理與錯誤代碼：
1. 需通過返回體中的 "code" 欄位判斷業務結果（code 為 0 表示成功）。
2. 逾時建議：建議將請求逾時時間設置為 120 秒；如果 120 秒偏長，請至少設置為 60 秒，但可能會有少量請求因逾時而未接收到結果。
3. 業務碼說明：
   - 0: 成功
   - 100: Token 無效或已失效
   - 301: 採集失敗，請重試
   - 302: 超出速率限制
   - 303: 超出每日配額
   - 400: 參數錯誤
   - 500: 內部伺服器錯誤
   - 600: 權限不足
   - 601: 帳戶餘額不足
   - 602: TOKEN 限額超限
4. code 601 表示帳戶共享餘額不足。code 602 表示當前 API TOKEN 自身的累計消費上限已達到。TOKEN 限額不是資金劃撥，多個 TOKEN 仍共享同一個帳戶餘額。

請幫我用我擅長的編程語言寫一個腳本來呼叫這個接口，並處理返回結果。
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # 由 OpenAPI servers 提供

url = BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
const url = BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
        final String url = BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // 由 OpenAPI servers 提供

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // 由 OpenAPI servers 提供
$url = $BASE_URL . '/api/douyin/search-video/v4?token=YOUR_API_KEY&keyword=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/douyin-tiktok-china/video-search-v4-zh-hant.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI 定義 (JSON)]</a>
</div>

## 返回欄位

業務成功時（`code = 0`）的主要返回欄位。

<div class="api-doc-table api-doc-table--response">

| 欄位路徑 | 類型 | 說明 |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | 抖音關鍵詞搜索的結果及分頁信息。 |
| <code>data.business_data</code> | <code>array</code> | 搜索結果卡片列表。同一視頻可能出現在多頁，可按 aweme_id 對視頻結果去重。 |
| <code>data.business_data[]</code> | <code>object</code> | 搜索結果列表中的一張卡片。 |
| <code>data.business_data[].data_id</code> | <code>string</code> | 卡片在當前回應中的標識。 |
| <code>data.business_data[].type</code> | <code>integer</code> | 結果類型編碼。已觀察到 1 表示視頻結果，66667 表示相關搜索。 |
| <code>data.business_data[].data</code> | <code>object</code> | 結果卡片的內容，具體欄位取決於卡片類型。 |
| <code>data.business_data[].data.aweme_info</code> | <code>object</code> | 卡片包含視頻結果時返回的抖音視頻信息。 |
| <code>data.business_data[].data.aweme_info.aweme_id</code> | <code>string</code> | 抖音視頻的穩定 ID，以字符串返回。可用該值在搜索結果的不同頁面中識別同一個視頻。 |
| <code>data.business_data[].data.aweme_info.group_id</code> | <code>string</code> | 平台返回的作品分組標識。 |
| <code>data.business_data[].data.aweme_info.author_user_id</code> | <code>integer</code> | 發佈帳號的數字型 ID。 |
| <code>data.business_data[].data.aweme_info.desc</code> | <code>string</code> | 抖音提供的作品描述。 |
| <code>data.business_data[].data.aweme_info.caption</code> | <code>string</code> | 抖音提供的作品文案。 |
| <code>data.business_data[].data.aweme_info.item_title</code> | <code>string</code> | 作品標題，有該值時返回。 |
| <code>data.business_data[].data.aweme_info.preview_title</code> | <code>string</code> | 作品預覽使用的標題。 |
| <code>data.business_data[].data.aweme_info.create_time</code> | <code>integer</code> | 視頻發佈時間，Unix 時間戳，單位為秒。 |
| <code>data.business_data[].data.aweme_info.duration</code> | <code>integer</code> | 視頻時長，單位為毫秒。 |
| <code>data.business_data[].data.aweme_info.aweme_type</code> | <code>integer</code> | 抖音返回的作品類型編碼。 |
| <code>data.business_data[].data.aweme_info.media_type</code> | <code>integer</code> | 抖音返回的媒體類型編碼。 |
| <code>data.business_data[].data.aweme_info.ip_attribution</code> | <code>string</code> | 抖音返回的 IP 屬地標識，有該值時返回。 |
| <code>data.business_data[].data.aweme_info.share_url</code> | <code>string</code> | 視頻的抖音分享連結。 |
| <code>data.business_data[].data.aweme_info.share_info</code> | <code>object</code> | 分享視頻時使用的信息。 |
| <code>data.business_data[].data.aweme_info.share_info.share_url</code> | <code>string</code> | 分享視頻時使用的連結。 |
| <code>data.business_data[].data.aweme_info.share_info.share_title</code> | <code>string</code> | 分享視頻時使用的標題。 |
| <code>data.business_data[].data.aweme_info.share_info.share_desc</code> | <code>string</code> | 分享視頻時使用的說明文本。 |
| <code>data.business_data[].data.aweme_info.text_extra</code> | <code>array &#124; null</code> | 作品文本關聯的話題標籤與提及的帳號列表，可能為 null。 |
| <code>data.business_data[].data.aweme_info.text_extra[]</code> | <code>object</code> | 一項文本標註。 |
| <code>data.business_data[].data.aweme_info.text_extra[].type</code> | <code>integer</code> | 抖音返回的文本標註類型編碼。 |
| <code>data.business_data[].data.aweme_info.text_extra[].hashtag_id</code> | <code>string</code> | 標註表示話題標籤時，對應的話題標籤 ID。 |
| <code>data.business_data[].data.aweme_info.text_extra[].hashtag_name</code> | <code>string</code> | 被標註的話題標籤名稱。 |
| <code>data.business_data[].data.aweme_info.text_extra[].user_id</code> | <code>string</code> | 標註提及用戶時，對應的抖音帳號 ID。 |
| <code>data.business_data[].data.aweme_info.text_extra[].sec_uid</code> | <code>string</code> | 被提及用戶的抖音備用帳號標識。 |
| <code>data.business_data[].data.aweme_info.text_extra[].is_commerce</code> | <code>boolean</code> | 抖音是否將該話題標籤標記為商業內容。 |
| <code>data.business_data[].data.aweme_info.cha_list</code> | <code>array &#124; null</code> | 與作品關聯的話題或挑戰列表，可能為 null。 |
| <code>data.business_data[].data.aweme_info.cha_list[]</code> | <code>object</code> | 一個話題或挑戰。 |
| <code>data.business_data[].data.aweme_info.cha_list[].cid</code> | <code>string</code> | 抖音話題或挑戰的 ID。 |
| <code>data.business_data[].data.aweme_info.cha_list[].cha_name</code> | <code>string</code> | 話題或挑戰的名稱。 |
| <code>data.business_data[].data.aweme_info.cha_list[].desc</code> | <code>string</code> | 話題或挑戰的說明。 |
| <code>data.business_data[].data.aweme_info.cha_list[].is_commerce</code> | <code>boolean</code> | 抖音是否將該話題或挑戰標記為商業內容。 |
| <code>data.business_data[].data.aweme_info.author</code> | <code>object</code> | 隨視頻返回的作者資料。 |
| <code>data.business_data[].data.aweme_info.author.uid</code> | <code>string</code> | 抖音帳號 ID，以字符串返回。 |
| <code>data.business_data[].data.aweme_info.author.sec_uid</code> | <code>string</code> | 抖音用戶資料接口使用的備用帳號標識。 |
| <code>data.business_data[].data.aweme_info.author.nickname</code> | <code>string</code> | 作者的顯示暱稱。 |
| <code>data.business_data[].data.aweme_info.author.unique_id</code> | <code>string</code> | 公開展示的抖音號，有該值時返回。 |
| <code>data.business_data[].data.aweme_info.author.short_id</code> | <code>string</code> | 抖音返回的帳號短標識。 |
| <code>data.business_data[].data.aweme_info.author.follower_count</code> | <code>integer</code> | 平台返回的作者粉絲數。 |
| <code>data.business_data[].data.aweme_info.author.is_verified</code> | <code>boolean</code> | 抖音是否將作者標記為已認證。 |
| <code>data.business_data[].data.aweme_info.author.verification_type</code> | <code>integer</code> | 平台返回的作者認證類別編碼。 |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb</code> | <code>object</code> | 作者頭像縮略圖。 |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.author.avatar_thumb.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.author.avatar_medium</code> | <code>object</code> | 作者頭像的中等尺寸版本。 |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.author.avatar_medium.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.author.avatar_larger</code> | <code>object</code> | 作者頭像的大尺寸版本。 |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.author.avatar_larger.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.statistics</code> | <code>object</code> | 平台返回的視頻互動統計。 |
| <code>data.business_data[].data.aweme_info.statistics.aweme_id</code> | <code>string</code> | 該統計關聯的抖音視頻 ID。 |
| <code>data.business_data[].data.aweme_info.statistics.digg_count</code> | <code>integer</code> | 平台返回的視頻點贊數。 |
| <code>data.business_data[].data.aweme_info.statistics.comment_count</code> | <code>integer</code> | 平台返回的視頻評論數。 |
| <code>data.business_data[].data.aweme_info.statistics.collect_count</code> | <code>integer</code> | 平台返回的視頻收藏數。 |
| <code>data.business_data[].data.aweme_info.statistics.share_count</code> | <code>integer</code> | 平台返回的視頻分享數。 |
| <code>data.business_data[].data.aweme_info.statistics.forward_count</code> | <code>integer</code> | 回應中返回的轉發數。 |
| <code>data.business_data[].data.aweme_info.statistics.download_count</code> | <code>integer</code> | 平台返回的視頻下載數。 |
| <code>data.business_data[].data.aweme_info.video</code> | <code>object</code> | 視頻信息及可用的播放資源。 |
| <code>data.business_data[].data.aweme_info.video.duration</code> | <code>integer</code> | 視頻時長，單位為毫秒。 |
| <code>data.business_data[].data.aweme_info.video.width</code> | <code>integer</code> | 抖音返回的視頻寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.height</code> | <code>integer</code> | 抖音返回的視頻高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.format</code> | <code>string</code> | 抖音返回的視頻格式。 |
| <code>data.business_data[].data.aweme_info.video.ratio</code> | <code>string</code> | 抖音返回的清晰度標籤。 |
| <code>data.business_data[].data.aweme_info.video.has_watermark</code> | <code>boolean</code> | 視頻信息中返回的水印標記。 |
| <code>data.business_data[].data.aweme_info.video.play_addr</code> | <code>object</code> | 視頻的主要播放地址。 |
| <code>data.business_data[].data.aweme_info.video.play_addr.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.play_addr.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.play_addr.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.play_addr.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.play_addr.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.play_addr.data_size</code> | <code>integer</code> | 資源信息中記錄的文件大小，單位為字節。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264</code> | <code>object</code> | H.264 版本的播放地址。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_h264.data_size</code> | <code>integer</code> | 資源信息中記錄的文件大小，單位為字節。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265</code> | <code>object</code> | H.265 播放欄位中返回的地址。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.play_addr_265.data_size</code> | <code>integer</code> | 資源信息中記錄的文件大小，單位為字節。 |
| <code>data.business_data[].data.aweme_info.video.download_addr</code> | <code>object</code> | 視頻下載地址。 |
| <code>data.business_data[].data.aweme_info.video.download_addr.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.download_addr.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.download_addr.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.download_addr.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.download_addr.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.download_addr.data_size</code> | <code>integer</code> | 資源信息中記錄的文件大小，單位為字節。 |
| <code>data.business_data[].data.aweme_info.video.cover</code> | <code>object</code> | 視頻封面圖片。 |
| <code>data.business_data[].data.aweme_info.video.cover.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.cover.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.cover.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.cover.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.cover.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.origin_cover</code> | <code>object</code> | 原始封面欄位中的封面圖片。 |
| <code>data.business_data[].data.aweme_info.video.origin_cover.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.origin_cover.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.origin_cover.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.origin_cover.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.origin_cover.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover</code> | <code>object</code> | 動態封面資源，有相關信息時返回。 |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.dynamic_cover.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.animated_cover</code> | <code>object</code> | 動畫封面資源，有相關信息時返回。 |
| <code>data.business_data[].data.aweme_info.video.animated_cover.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.animated_cover.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.animated_cover.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate</code> | <code>array</code> | 視頻的播放編碼版本和碼率信息。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[]</code> | <code>object</code> | 視頻的一個播放編碼版本。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].bit_rate</code> | <code>integer</code> | 編碼碼率，單位為比特每秒。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].FPS</code> | <code>integer</code> | 幀率，單位為幀每秒。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].format</code> | <code>string</code> | 平台返回的該編碼版本媒體格式。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].gear_name</code> | <code>string</code> | 平台返回的該版本編碼檔位標籤。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].quality_type</code> | <code>integer</code> | 平台返回的該編碼版本畫質類別編碼。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].is_h265</code> | <code>integer</code> | 平台返回的該版本 H.265 編碼標記。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].HDR_type</code> | <code>string</code> | 該編碼版本返回的 HDR 類別標籤。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].HDR_bit</code> | <code>string</code> | 該編碼版本返回的 HDR 位深標籤。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr</code> | <code>object</code> | 該編碼版本的播放地址。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.video.bit_rate[].play_addr.data_size</code> | <code>integer</code> | 資源信息中記錄的文件大小，單位為字節。 |
| <code>data.business_data[].data.aweme_info.music</code> | <code>object</code> | 與視頻關聯的音樂或聲音信息。 |
| <code>data.business_data[].data.aweme_info.music.id</code> | <code>integer</code> | 數字型音樂 ID。在 JavaScript 中使用支持無損數字解析的 JSON 解析器保留完整值。 |
| <code>data.business_data[].data.aweme_info.music.id_str</code> | <code>string</code> | 音樂 ID，以字符串返回。 |
| <code>data.business_data[].data.aweme_info.music.mid</code> | <code>string</code> | mid 欄位返回的音樂 ID。 |
| <code>data.business_data[].data.aweme_info.music.title</code> | <code>string</code> | 聲音或音樂音軌的標題。 |
| <code>data.business_data[].data.aweme_info.music.author</code> | <code>string</code> | 隨音軌返回的藝人或聲音創作者名稱。 |
| <code>data.business_data[].data.aweme_info.music.album</code> | <code>string</code> | 專輯名稱，有該值時返回。 |
| <code>data.business_data[].data.aweme_info.music.is_original_sound</code> | <code>boolean</code> | 抖音是否將該音軌標記為原聲。 |
| <code>data.business_data[].data.aweme_info.music.cover_thumb</code> | <code>object</code> | 聲音或音樂音軌的封面縮略圖。 |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.width</code> | <code>integer</code> | 資源信息中記錄的寬度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.music.cover_thumb.height</code> | <code>integer</code> | 資源信息中記錄的高度，單位為像素。 |
| <code>data.business_data[].data.aweme_info.music.play_url</code> | <code>object</code> | 聲音或音樂音軌的播放資源。 |
| <code>data.business_data[].data.aweme_info.music.play_url.uri</code> | <code>string</code> | 抖音返回的資源標識。 |
| <code>data.business_data[].data.aweme_info.music.play_url.url_list</code> | <code>array</code> | 資源的連結列表。 |
| <code>data.business_data[].data.aweme_info.music.play_url.url_list[]</code> | <code>string</code> | 一條資源連結。 |
| <code>data.business_data[].data.related_word_list</code> | <code>array</code> | 結果卡片包含相關搜索時返回的推薦詞列表。 |
| <code>data.business_data[].data.related_word_list[]</code> | <code>object</code> | 一條相關搜索建議。 |
| <code>data.business_data[].data.related_word_list[].related_word</code> | <code>string</code> | 推薦的相關搜索詞。 |
| <code>data.business_config</code> | <code>object</code> | 分頁和查詢信息。 |
| <code>data.business_config.keyword</code> | <code>string</code> | 平台返回的搜索關鍵詞。 |
| <code>data.business_config.card_count</code> | <code>integer</code> | 平台返回的當前頁結果卡片數量。 |
| <code>data.business_config.has_more</code> | <code>integer &#124; string</code> | 該值為 0 時停止翻頁，即使回應仍包含搜索 ID。結果結束時可能只返回此分頁標記。 |
| <code>data.business_config.next_page</code> | <code>object</code> | 後續分頁信息，有相關信息時返回。 |
| <code>data.business_config.next_page.search_id</code> | <code>string</code> | 用於請求下一頁的搜索 ID。將該值傳入 searchId，將 page 加 1，並保持關鍵詞和篩選條件一致。連續頁面可能返回相同的搜索 ID。 |
| <code>data.status_code</code> | <code>number &#124; string</code> | 抖音搜索狀態碼，有該值時返回。 |

</div>

## 回應示例

<ApiExampleSection :api='JSON.parse("\"/api/douyin/search-video/v4\"")' />

