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

Douyin Experience Content Search

API 文件
https://api.sandbase.ai/v1/api/douyin/search/experience-search

Returns Douyin search results for tutorial, knowledge, and experience videos based on keyword queries. Supports filtering by release timing, sorting method, and video duration.

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

Playground

輸入
Backtrace for pagination, obtained from the last response
Content type filter (usually fixed to video)
Pagination cursor (0 for first page)
Video duration filter
Search keyword, e.g., "gaming guide"
Publish time filter
Search ID for pagination
Sorting method
輸出範例
回應outputs · 19.0 KB · 470 行
[
  {
    "data": {
      "business_config": {
        "ad_info": null,
        "card_count": 8,
        "extra_fresh_struct": null,
        "feedback": null,
        "feelgood_msg": {},
        "filter_bar": null,
        "general_search_config": {
          "double_column_layout_type": 3
        },
        "has_more": 1,
        "is_filter_search": 0,
        "keyword": "猫咪",
        "next_page": {
          "cursor": 8,
          "keyword": "猫咪",
          "origin_query": "猫咪",
          "poi_search_info": "",
          "search_id": "2026082017473456B65F679B6C5C7E2C0C",
          "search_request_id": "2026082017473456B65F679B6C5C7E2C0C"
        },
        "poi_search_info": "",
        "pre_loadmore_config": null,
        "search_nil_info": null
      },
      "business_data": [
        {
          "card_id": "douyin.doctype_aweme_video",
          "data": {
            "aweme_info": {
              "activity_video_type": 0,
              "ai_follow_images": null,
              "ai_search_struct": {
                "show_ai_entrance": true
              },
              "anchors": null,
              "authentication_token": "MS4wLjAAAAAAlkQZS4qOGpOV8rvTHI90X4mVCYkTZZGEpHD9mP3cakmK-NlpxKJ1R_A6E7p6CtzKgoisf9agRf3RjKok1B_7PPouH3CwOY77b-Qlz8IRe84u2ZSabdcRxwBpB0N5-Hk30R6eMEBjviTj8fNnF8WvMlWhmwiH_pMFAkMJYFaMDJMUT_bToRjoGswE0Qgr6gXdG2snxAHNRd_HJubs18xTIbfn2cCsZgMzJo9u2nYcSegZfFzP4mQGCxvCSr0QZ4kS",
              "author": {
                "accept_private_policy": false,
                "account_cert_info": "{}",
                "account_region": "",
                "ad_cover_url": null,
                "allow_story_normal_like": false,
                "apple_account": 0,
                "authority_status": 0,
                "avatar_168x168": {
                  "height": 720,
                  "uri": "168x168/aweme-avatar/tos-cn-avt-0015_61ce51eeb1e8db8391228f06d29c1366",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_300x300": {
                  "height": 720,
                  "uri": "300x300/aweme-avatar/tos-cn-avt-0015_61ce51eeb1e8db8391228f06d29c1366",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_larger": {
                  "height": 720,
                  "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_61ce51eeb1e8db8391228f06d29c1366",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_medium": {
                  "height": 720,
                  "uri": "720x720/aweme-avatar/tos-cn-avt-0015_61ce51eeb1e8db8391228f06d29c1366",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_schema_list": null,
                "avatar_thumb": {
                  "height": 720,
                  "uri": "100x100/aweme-avatar/tos-cn-avt-0015_61ce51eeb1e8db8391228f06d29c1366",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_uri": "aweme-avatar/tos-cn-avt-0015_61ce51eeb1e8db8391228f06d29c1366",
                "aweme_control": {
                  "can_comment": true,
                  "can_forward": true,
                  "can_share": true,
                  "can_show_comment": true
                },
                "aweme_count": 0,
                "aweme_hotsoon_auth": 1,
                "aweme_hotsoon_auth_relation": 1,
                "awemehts_greet_info": "",
                "ban_user_functions": [],
                "batch_unfollow_contain_tabs": null,
                "batch_unfollow_relation_desc": null,
                "bind_phone": "",
                "birthday": "1993-01-01",
                "can_set_geofencing": null,
                "card_entries": null,
                "card_entries_not_display": null,
                "card_sort_priority": null,
                "cf_list": null,
                "cha_list": null,
                "close_friend_type": 0,
                "comment_filter_status": 0,
                "comment_setting": 0,
                "commerce_user_level": 0,
                "constellation": 9,
                "contacts_status": 2,
                "contrail_list": null,
                "cover_url": [
                  "…"
                ],
                "create_time": 0,
                "creator_tag_list": null,
                "…": "158 more fields in the full response"
              },
              "author_mask_tag": 0,
              "author_user_id": 59998635848,
              "aweme_control": {
                "can_comment": true,
                "can_forward": true,
                "can_share": true,
                "can_show_comment": true
              },
              "aweme_id": "7675955970946069477",
              "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\":\"false\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
              },
              "aweme_type": 0,
              "aweme_type_tags": "",
              "bodydance_score": 0,
              "book_bar": {},
              "boost_status": 0,
              "can_cache_to_local": true,
              "caption": "",
              "cf_assets_type": 0,
              "cf_recheck_ts": 0,
              "cha_list": [
                {
                  "author": "…",
                  "banner_list": null,
                  "cha_attrs": null,
                  "cha_name": "萌主请就位",
                  "challenge_status": 1,
                  "cid": "7527596876573444147",
                  "collect_stat": 0,
                  "connect_music": "… 0 items in the full response",
                  "desc": "",
                  "extra_attr": "…",
                  "from_ugc_hashtag_bank": "0",
                  "hashtag_profile": "web.business.image/9a3af5914a4890b1b55f6b6eb5e988b7",
                  "insert_template_category_list": null,
                  "is_challenge": 1,
                  "is_commerce": true,
                  "is_pgcshow": false,
                  "schema": "aweme://aweme/challenge/detail?cid=7527596876573444147&is_commerce=1",
                  "search_impr": "…",
                  "share_info": "…",
                  "show_items": null,
                  "sub_type": 1,
                  "type": 2,
                  "user_count": 0,
                  "view_count": 0
                }
              ],
              "challenge_position": null,
              "chapter_bar_color": null,
              "chapter_list": null,
              "city": "320500",
              "cmt_swt": false,
              "collect_stat": 0,
              "collection_corner_mark": 0,
              "comment_gid": 7675955970946070000,
              "comment_list": null,
              "comment_permission_info": {
                "can_comment": true,
                "comment_permission_status": 0,
                "item_detail_entry": true,
                "press_entry": true,
                "toast_guide": false
              },
              "comment_words_recommend": {
                "zero_comment": null
              },
              "commerce_config_data": null,
              "commerce_info": {
                "ad_type": 0,
                "is_ad": false
              },
              "common_left_top_labels": null,
              "component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
              "cover_labels": null,
              "create_scale_type": null,
              "create_time": 1787197769,
              "create_time_config": {
                "font_color": "TextTertiary",
                "position": 2
              },
              "…": "161 more fields in the full response"
            },
            "aweme_list": null,
            "card_id": "douyin.doctype_aweme_video",
            "card_style_type": 1,
            "card_type": 1,
            "debug_data": {
              "filter_debug_info_list": null
            },
            "debug_diff_info": {},
            "doc_type": 153,
            "ecom_goods_list": null,
            "feedback": {
              "url": "aweme://lynxview_popup/?channel=morphling_normal&bundle=douyin_questionnaire%2Findex%2Ftemplate.js&group=morphling_normal&dynamic=3&enable_prefetch=1&surl=https%3A%2F%2Flf-sourcecdn-tos.bytegecko.com%2Fobj%2Fbyte-gurd-source%2F11618%2Fgecko%2Fresource%2Fmorphling_normal%2Fdouyin_questionnaire%2Finde…"
            },
            "log_data": {
              "dcm": "search.natural.aweme_video.7675955970946069477.2026082017473456B65F679B6C5C7E2C0C",
              "rank": "1",
              "search_id": "2026082017473456B65F679B6C5C7E2C0C"
            },
            "music_info_list": null,
            "ops": null,
            "provider_doc_id": 7675955970946070000,
            "provider_doc_id_str": "7675955970946069477",
            "qishui_music_list": null,
            "recommend_title": "",
            "send_back": "",
            "shoot_position_list": null,
            "show_tab": null,
            "tab": null,
            "type": 1
          },
          "data_id": "0_7675955970946069477",
          "log": {
            "dcm": "search.natural.aweme_video.7675955970946069477.2026082017473456B65F679B6C5C7E2C0C",
            "rank": "1",
            "search_id": "2026082017473456B65F679B6C5C7E2C0C"
          },
          "type": 12
        },
        {
          "card_id": "douyin.doctype_aweme_video",
          "data": {
            "aweme_info": {
              "activity_video_type": 0,
              "ai_follow_images": null,
              "ai_search_struct": {
                "show_ai_entrance": true
              },
              "anchors": null,
              "authentication_token": "MS4wLjAAAAAAYG2hTEcRg0g3eX6y8f-8FgH5bU6g7_SLLizHolRbStrLRAW_avQOrAwd9e1lYjZBz7OvEYnzdnQmUMSWJjF4DID4WHZ5M-pAijF-aFVBZlgJ_pUK-je24qgCmr_Q8UWLew7KwIKEdjfN50lM0HH4_rqXDA4c_ZWtaTERava2eSL4MMsDaQYRLbOE8ZqKJBSWB9mXh1A3GeX19IFQxJtNRSq2I147-D2pnSrbYb7rasupSQhYNRwz0uR4HHC1ZyTn",
              "author": {
                "accept_private_policy": false,
                "account_cert_info": "{}",
                "account_region": "",
                "ad_cover_url": null,
                "allow_story_normal_like": false,
                "apple_account": 0,
                "authority_status": 0,
                "avatar_168x168": {
                  "height": 720,
                  "uri": "168x168/aweme-avatar/tos-cn-avt-0015_c94c224ef3436a3e008174cc5631befc",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_300x300": {
                  "height": 720,
                  "uri": "300x300/aweme-avatar/tos-cn-avt-0015_c94c224ef3436a3e008174cc5631befc",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_larger": {
                  "height": 720,
                  "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_c94c224ef3436a3e008174cc5631befc",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_medium": {
                  "height": 720,
                  "uri": "720x720/aweme-avatar/tos-cn-avt-0015_c94c224ef3436a3e008174cc5631befc",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_schema_list": null,
                "avatar_thumb": {
                  "height": 720,
                  "uri": "100x100/aweme-avatar/tos-cn-avt-0015_c94c224ef3436a3e008174cc5631befc",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_uri": "aweme-avatar/tos-cn-avt-0015_c94c224ef3436a3e008174cc5631befc",
                "aweme_control": {
                  "can_comment": true,
                  "can_forward": true,
                  "can_share": true,
                  "can_show_comment": true
                },
                "aweme_count": 0,
                "aweme_hotsoon_auth": 1,
                "awemehts_greet_info": "",
                "ban_user_functions": [],
                "batch_unfollow_contain_tabs": null,
                "batch_unfollow_relation_desc": null,

範例

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

API README

Douyin Experience Content Search API

Returns Douyin search results for tutorial, knowledge and experience content that match a keyword. Each result is a card with the post details and the author profile. You can filter by publish time, sort order and video duration.

Use cases

  • Collect top-ranked tutorial posts for a topic such as a pet care keyword.
  • Track which authors appear in knowledge and how-to results for a keyword.
  • Page through ranked results to build a list of post IDs for later lookup.
  • Compare result sets for the same keyword under different sort_type or publish_time values.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/experience-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
backtracestringNoBacktrace for pagination, obtained from the last response
content_typestringNoContent type filter (usually fixed to video)
cursorintegerNoPagination cursor (0 for first page)
filter_durationstringNoVideo duration filter
keywordstringNoSearch keyword, e.g., "gaming guide"
publish_timestringNoPublish time filter
search_idstringNoSearch ID for pagination
sort_typestringNoSorting method

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "business_config": {
    "ad_info": null,
    "card_count": 4,
    "extra_fresh_struct": null,
    "feedback": null,
    "feelgood_msg": {},
    "filter_bar": null,
    "general_search_config": {
      "double_column_layout_type": 3
    },
    "has_more": 1,
    "is_filter_search": 0,
    "keyword": "猫咪",
    "next_page": {
      "cursor": 8,
      "keyword": "猫咪",
      "origin_query": "猫咪",
      "poi_search_info": "",
      "search_id": "2026110315321619DAF5FEC318CF7C2E49",
      "search_request_id": "2026110315321619DAF5FEC318CF7C2E49"
    },
    "poi_search_info": ""
  },
  "business_data": [
    {
      "card_id": "douyin.doctype_aweme_image",
      "data": {
        "aweme_info": {
          "activity_video_type": -1,
          "ai_follow_images": null,
          "ai_search_struct": {
            "show_ai_entrance": true
          },
          "anchors": null,
          "authentication_token": "MS4wLjAA…",
          "author": {
            "accept_private_policy": false,
            "account_region": "",
            "ad_cover_url": null,
            "allow_story_normal_like": false,
            "apple_account": 0,
            "authority_status": 0,
            "avatar_168x168": {
              "height": 720,
              "uri": "168x168/aweme-avatar/tos-cn-i-0813_ocAIC3AyU6p4YE6gAjIPaWiABZAOqQpgiqPwI",
              "url_list": [
                "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ocAIC3AyU6p4YE6gAjIPaWiA…"
              ],
              "width": 720
            },
            "avatar_300x300": {
              "height": 720,
              "uri": "300x300/aweme-avatar/tos-cn-i-0813_ocAIC3AyU6p4YE6gAjIPaWiABZAOqQpgiqPwI",
              "url_list": [
                "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813_ocAIC3AyU6p4YE6gAjIPaWiA…"
              ],
              "width": 720
            }
          },
          "author_mask_tag": 0,
          "author_user_id": 103867977610
        },
        "aweme_list": null,
        "card_id": "douyin.doctype_aweme_image",
        "card_style_type": 1,
        "card_type": 1,
        "debug_data": {
          "filter_debug_info_list": null
        },
        "debug_diff_info": {},
        "doc_type": 303
      },
      "data_id": "0_7703817726737656164",
      "log": {
        "dcm": "search.natural.aweme_image.7703817726737656164.2026110315321619DAF5FEC318CF7C2E4…",
        "rank": "1",
        "search_id": "2026110315321619DAF5FEC318CF7C2E49"
      },
      "type": 12
    }
  ],
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110315321619DAF5FEC318CF7C2E49",
    "now": 1793691137000,
    "scenes": null,
    "search_request_id": ""
  },
  "global_config": {},
  "log": {
    "impr_id": "2026110315321619DAF5FEC318CF7C2E49",
    "search_id": "2026110315321619DAF5FEC318CF7C2E49",
    "search_keyword": "猫咪"
  },
  "log_pb": {
    "impr_id": "2026110315321619DAF5FEC318CF7C2E49"
  },
  "status_code": 0,
  "time_cost": {
    "stream_inner": 769
  }
}

Response fields

FieldMeaning
business_data[]One search result card. Results are listed in rank order.
business_data[].data_idResult ID. It starts with the zero-based position, then an underscore, then the post ID, for example 0_7703817726737656164.
business_data[].log.rankRank of the result in the list, given as a string.
business_data[].data.aweme_info.authorProfile of the post author, including avatar images in several sizes.
business_data[].data.aweme_info.author_user_idNumeric ID of the author.
business_data[].data.aweme_info.author.avatar_168x168.url_list[] / business_data[].data.aweme_info.author.avatar_300x300.url_list[]Avatar image URLs at 168x168 and 300x300 sizes. Each list gives the same image in more than one format.
business_data[].data.card_id / business_data[].data.doc_typeCard type of the result. The sample cards use douyin.doctype_aweme_image with doc_type 303.
business_config.has_moreShows whether more results exist. 1 means another page is available.
business_config.next_page.cursor / business_config.next_page.search_idValues to send as cursor and search_id to fetch the next page.
business_config.keywordThe keyword the search ran on.

Notes

  • Set cursor to 0 for the first page. For the next page, send business_config.next_page.cursor as cursor and business_config.next_page.search_id as search_id.
  • Pass backtrace from the previous response when the request schema asks for it. The sample response has no backtrace field.
  • The sample response returned image-post cards, not only videos, so check card_id for each result.
  • To search general Douyin content, try Douyin General Search or Douyin Video Search.

Pricing

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

探索更多

相關 APIs

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

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Experience Content Search API?

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

Douyin Experience Content Search API 的費用是多少?

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

Douyin Experience Content Search API 接受哪些參數?

不需要任何參數。 選填:backtrace (string), content_type (string), cursor (integer), filter_duration (string), keyword (string) 和 publish_time (string),以及另外 2 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Experience Content Search API 會回傳什麼?

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

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

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