Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin Hashtag Challenge Search (V2)

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/search/challenge-search-v2

Returns Douyin hashtag and challenge search results matching a query keyword. Supports filtering by sort type, content type, post date, and duration with cursor-based pagination.

ราคา
$0.01USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 8 ไม่บังคับ

Playground

อินพุต
Backtrace for pagination, obtained from the last response
Content type filter
Pagination cursor (0 for first request)
Video duration filter
Search keyword, e.g., "game"
Publish time filter
Search ID for pagination
Sorting method
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 12.3 KB · 318 บรรทัด
[
  {
    "data": {
      "business_config": {
        "ad_info": null,
        "card_count": 19,
        "extra": {
          "is_filter_search": 0,
          "req_start_ts": 1787219266071
        },
        "extra_fresh_struct": null,
        "feedback": null,
        "feelgood_msg": {},
        "filter_bar": null,
        "has_more": 1,
        "is_filter_search": 0,
        "keyword": "猫咪",
        "next_page": {
          "cursor": 20,
          "keyword": "猫咪",
          "poi_search_info": "",
          "search_id": "20260820174746AB438B5EAEE580FC2B3B",
          "search_request_id": "20260820174746AB438B5EAEE580FC2B3B"
        },
        "poi_search_info": "",
        "pre_loadmore_config": null,
        "search_nil_info": null
      },
      "business_data": [
        {
          "card_id": "douyin.doctype_aweme_hashtag",
          "data": {
            "challenge_info": {
              "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-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_300x300": {
                  "height": 720,
                  "uri": "300x300/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_larger": {
                  "height": 720,
                  "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_medium": {
                  "height": 720,
                  "uri": "720x720/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                  "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_8f9c89c85921da89d4026411d3fd5864",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_uri": "aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                "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,
                "bind_phone": "",
                "birthday": "",
                "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": 10,
                "contacts_status": 2,
                "contrail_list": null,
                "cover_url": [
                  "…"
                ],
                "create_time": 0,
                "creator_tag_list": null,
                "custom_verify": "",
                "cv_level": "",
                "…": "153 more fields in the full response"
              },
              "banner_list": null,
              "cha_attrs": null,
              "cha_name": "猫咪",
              "challenge_status": 1,
              "cid": "1562727459956738",
              "collect_stat": 0,
              "connect_music": [],
              "desc": "",
              "extra_attr": {
                "is_live": false
              },
              "from_ugc_hashtag_bank": "0",
              "hashtag_album_cell_camera_icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/kndeh7nuvkuhbnbd/topic/photo_picker_page/dark_shoot_icon.png",
              "hashtag_profile": "https://p5-ex-gddgtc-sign.douyinpic.com/obj/image-cut-tos/8d0440060cb54c1f2b2ad49d967d3d3f.jpg?lk3s=fc8b4eca&x-expires=1787238000&x-signature=LNfYcCSnfqbvSmIVLqHu9r04ef8%3D&from=4236988106",
              "insert_template_category_list": null,
              "is_challenge": 0,
              "is_commerce": false,
              "is_pgcshow": false,
              "publish_type": 1,
              "schema": "aweme://aweme/challenge/detail?cid=1562727459956738&track_params=%7B%22tag_detail_shoot_enter_from%22%3A%22hashtag_vertical_search%22%2C%22from_ugc_hashtag_bank%22%3A%220%22%7D&ugc_log_params=%7B%22search_enter_from%22%3A%22homepage_search_home%22%7D",
              "search_impr": {
                "entity_id": "1562727459956738"
              },
              "share_info": {
                "bool_persist": 0,
                "share_desc": "在抖音,记录美好生活",
                "share_desc_info": "我在抖音参与话题讨论#猫咪 ",
                "share_quote": "",
                "share_signature_desc": "",
                "share_signature_url": "",
                "share_title": "我在抖音参与话题讨论#猫咪 ",
                "share_title_myself": "",
                "share_title_other": "",
                "share_url": "https://www.iesdouyin.com/share/challenge/1562727459956738/?u_code=0&from_ssr=1",
                "share_weibo_desc": "我在抖音参与话题讨论#猫咪 "
              },
              "show_items": null,
              "sub_type": 0,
              "tag": 0,
              "type": 0,
              "user_count": 40589518,
              "view_count": 552094402183
            },
            "items": null,
            "position": null
          },
          "data_id": "0",
          "log": {},
          "type": 2
        },
        {
          "card_id": "douyin.doctype_aweme_hashtag",
          "data": {
            "challenge_info": {
              "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/aweme_default_avatar.png",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_300x300": {
                  "height": 720,
                  "uri": "300x300/aweme-avatar/aweme_default_avatar.png",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_larger": {
                  "height": 720,
                  "uri": "1080x1080/aweme-avatar/aweme_default_avatar.png",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_medium": {
                  "height": 720,
                  "uri": "720x720/aweme-avatar/aweme_default_avatar.png",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_schema_list": null,
                "avatar_thumb": {
                  "height": 720,
                  "uri": "100x100/aweme-avatar/aweme_default_avatar.png",
                  "url_list": "… 2 items in the full response",
                  "width": 720
                },
                "avatar_uri": "aweme-avatar/aweme_default_avatar.png",
                "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,
                "bind_phone": "",
                "birthday": "",
                "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": 10,
                "contacts_status": 1,
                "contrail_list": null,
                "cover_url": [
                  "…"
                ],
                "create_time": 0,
                "creator_tag_list": null,
                "custom_verify": "",
                "…": "152 more fields in the full response"
              },
              "banner_list": null,
              "cha_attrs": null,
              "cha_name": "貓咪",
              "challenge_status": 1,
              "cid": "1566936959441921",
              "collect_stat": 0,
              "connect_music": [],
              "desc": "",
              "extra_attr": {
                "is_live": false
              },
              "from_ugc_hashtag_bank": "0",
              "hashtag_album_cell_camera_icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/kndeh7nuvkuhbnbd/topic/photo_picker_page/dark_shoot_icon.png",
              "hashtag_profile": "https://p3-sign.douyinpic.com/obj/image-cut-tos/f925eb80ace0cc240455f1ff39a982a1.jpg?lk3s=fc8b4eca&x-expires=1787238000&x-signature=nNtshWy5ul6LbWagG%2B%2FQTB00jI8%3D&from=4236988106",
              "insert_template_category_list": null,
              "is_challenge": 0,
              "is_commerce": false,
              "is_pgcshow": false,
              "publish_type": 1,
              "schema": "aweme://aweme/challenge/detail?cid=1566936959441921&track_params=%7B%22from_ugc_hashtag_bank%22%3A%220%22%2C%22tag_detail_shoot_enter_from%22%3A%22hashtag_vertical_search%22%7D&ugc_log_params=%7B%22search_enter_from%22%3A%22homepage_search_home%22%7D",
              "search_impr": {
                "entity_id": "1566936959441921"
              },
              "share_info": {
                "bool_persist": 0,
                "share_desc": "在抖音,记录美好生活",
                "share_desc_info": "我在抖音参与话题讨论#貓咪 ",
                "share_quote": "",
                "share_signature_desc": "",
                "share_signature_url": "",
                "share_title": "我在抖音参与话题讨论#貓咪 ",
                "share_title_myself": "",
                "share_title_other": "",
                "share_url": "https://www.iesdouyin.com/share/challenge/1566936959441921/?u_code=0&from_ssr=1",
                "share_weibo_desc": "我在抖音参与话题讨论#貓咪 "
              },
              "show_items": null,
              "sub_type": 0,
              "tag": 0,
              "type": 0,
              "user_count": 53832,
              "view_count": 252427249
            },
            "items": null,
            "position": null
          },
          "data_id": "1",
          "log": {},
          "type": 2
        },
        "… 17 more items in the full response"
      ],
      "extra": {
        "device_score": 0,
        "fatal_item_ids": [],
        "logid": "20260820174746AB438B5EAEE580FC2B3B",
        "now": 1787219266000,
        "scenes": null,
        "search_request_id": ""
      },
      "global_config": {
        "hidden_filter": false
      },

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin Hashtag Challenge Search (V2) API

Returns Douyin hashtag and challenge search results for a keyword. Each result card holds the hashtag name, its challenge ID and the account linked to it. The API also returns the values needed to request the next page.

Use cases

  • Find Douyin hashtags that match a topic keyword, such as a pet or product term.
  • Collect cid values for hashtags to use in other Douyin hashtag lookups.
  • Compare spelling variants of one topic, such as simplified and traditional Chinese hashtag names.
  • Page through all hashtag matches for a campaign keyword and store the names.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/challenge-search-v2" \
  -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
cursorintegerNoPagination cursor (0 for first request)
filter_durationstringNoVideo duration filter
keywordstringNoSearch keyword, e.g., "game"
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": 19,
    "extra": {
      "is_filter_search": 0,
      "req_start_ts": 1793691135037
    },
    "extra_fresh_struct": null,
    "feedback": null,
    "feelgood_msg": {},
    "filter_bar": null,
    "has_more": 1,
    "is_filter_search": 0,
    "keyword": "猫咪",
    "next_page": {
      "cursor": 20,
      "keyword": "猫咪",
      "poi_search_info": "",
      "search_id": "202611031532142BE6991D1648F635C376",
      "search_request_id": "202611031532142BE6991D1648F635C376"
    },
    "poi_search_info": ""
  },
  "business_data": [
    {
      "card_id": "douyin.doctype_aweme_hashtag",
      "data": {
        "challenge_info": {
          "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-avt-0015_8f9c89c85921da89d4026411d3fd5864",
              "url_list": [
                "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d40264…"
              ],
              "width": 720
            },
            "avatar_300x300": {
              "height": 720,
              "uri": "300x300/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
              "url_list": [
                "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d40264…"
              ],
              "width": 720
            }
          },
          "banner_list": null,
          "cha_attrs": null,
          "cha_name": "猫咪",
          "challenge_status": 1,
          "cid": "1562727459956738",
          "collect_stat": 0,
          "connect_music": []
        },
        "items": null,
        "position": null
      },
      "data_id": "0",
      "log": {},
      "type": 2
    }
  ],
  "extra": {
    "device_score": 0,
    "fatal_item_ids": [],
    "logid": "202611031532142BE6991D1648F635C376",
    "now": 1793691135000,
    "scenes": null,
    "search_request_id": ""
  },
  "global_config": {
    "hidden_filter": false
  },
  "log": {
    "impr_id": "202611031532142BE6991D1648F635C376",
    "search_id": "202611031532142BE6991D1648F635C376",
    "search_keyword": "猫咪"
  },
  "log_pb": {
    "impr_id": "202611031532142BE6991D1648F635C376",
    "stab_extra": {
      "traffic_identification": "normal"
    }
  },
  "status_code": 0,
  "time_cost": {
    "stream_inner": 308
  }
}

Response fields

FieldMeaning
business_data[].data.challenge_info.cha_nameName of the hashtag or challenge, without the leading # symbol.
business_data[].data.challenge_info.cidChallenge ID of the hashtag, returned as a string.
business_data[].data.challenge_info.challenge_statusStatus code of the challenge. The value is 1 for every result in this sample.
business_data[].data.challenge_info.author.avatar_168x168 / business_data[].data.challenge_info.author.avatar_300x300Avatar images of the account linked to the challenge. Each has url_list with image URLs, plus width and height.
business_data[].card_idCard type label. Hashtag results use douyin.doctype_aweme_hashtag.
business_data[].data_idPosition index of the card in the result list, returned as a string.
business_config.has_moreShows whether more results exist. The value 1 means another page is available.
business_config.next_page.cursorCursor value to send as cursor in the next request.
business_config.next_page.search_id / log.search_idID of this search. Send it as search_id when you request the next page.
status_codeStatus of the response. 0 appears on a successful call.

Notes

  • Send cursor as 0 for the first page. For the next page, send the cursor and search_id from business_config.next_page.
  • No backtrace value appears in this response. Leave it empty unless a response returns one.
  • Use the cid of a result to look up a hashtag with Douyin Hashtag Details or list its videos with Douyin Hashtag Video List.
  • business_data[].data.items was null in this sample, so the cards carry no videos.

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.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON

คู่มือ:Best Douyin API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin Hashtag Challenge Search (V2) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/search/challenge-search-v2 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin Hashtag Challenge Search (V2) API ราคาเท่าไร?

$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Douyin Hashtag Challenge Search (V2) API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: backtrace (string), content_type (string), cursor (integer), filter_duration (string), keyword (string) และ publish_time (string) และอีก 2 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin Hashtag Challenge Search (V2) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin Hashtag Challenge Search (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก