Douyin Challenge Search

API docs
https://api.sandbase.ai/v1/api/douyin/search/challenge-search-v1

Returns Douyin challenge and hashtag search results matching a query. Supports filtering by date, content type, duration, and sorting method.

Price
$0.01USD / call
Method
POST
Response
JSON
Parameters
0 required · 8 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Backtrace for pagination, obtained from the last response
Content type filter
Pagination cursor (0 for first request)
Video duration filter
Search keyword, e.g., "food"
Publish time filter
Search ID for pagination
Sorting method
OutputExample
Responseoutputs · 253.6 KB · 6,191 lines
[
  {
    "data": {
      "ad_info": {},
      "challenge_list": [
        {
          "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_8f9c89c85921da89d4026411d3fd5864~c5_168x168.webp?from=273881474",
                  "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864~c5_168x168.jpeg?from=273881474"
                ],
                "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_8f9c89c85921da89d4026411d3fd5864~c5_300x300.webp?from=273881474",
                  "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864~c5_300x300.jpeg?from=273881474"
                ],
                "width": 720
              },
              "avatar_larger": {
                "height": 720,
                "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864.webp?from=273881474",
                  "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864.jpeg?from=273881474"
                ],
                "width": 720
              },
              "avatar_medium": {
                "height": 720,
                "uri": "720x720/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864.webp?from=273881474",
                  "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864.jpeg?from=273881474"
                ],
                "width": 720
              },
              "avatar_schema_list": null,
              "avatar_thumb": {
                "height": 720,
                "uri": "100x100/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864.webp?from=273881474",
                  "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_8f9c89c85921da89d4026411d3fd5864.jpeg?from=273881474"
                ],
                "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": [
                {
                  "height": 720,
                  "uri": "c8510002be9a3a61aad2",
                  "url_list": [
                    "https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=10531982&x-expires=1788426000&x-signature=JvJ3QRyF5z8K0MAjsm3BIcA4sFg%3D&from=273881474"
                  ],
                  "width": 720
                }
              ],
              "create_time": 0,
              "creator_tag_list": null,
              "custom_verify": "",
              "cv_level": "",
              "data_label_list": null,
              "disable_image_comment_saved": 0,
              "display_info": null,
              "download_prompt_ts": 0,
              "download_setting": -1,
              "duet_setting": 0,
              "enable_nearby_visible": true,
              "endorsement_info_list": null,
              "enterprise_verify_reason": "",
              "familiar_confidence": 0,
              "familiar_visitor_user": null,
              "favoriting_count": 0,
              "fb_expire_time": 0,
              "follow_status": 0,
              "follower_count": 961,
              "follower_list_secondary_information_struct": null,
              "follower_request_status": 0,
              "follower_status": 0,
              "followers_detail": null,
              "following_count": 0,
              "gender": 0,
              "geofencing": [],
              "google_account": "",
              "has_email": false,
              "has_facebook_token": false,
              "has_insights": false,
              "has_orders": false,
              "has_twitter_token": false,
              "has_unread_story": false,
              "has_youtube_token": false,
              "hide_location": false,
              "hide_search": true,
              "homepage_bottom_toast": null,
              "house_talent_info": 0,
              "identity_labels": null,
              "im_role_ids": null,
              "ins_id": "",
              "interest_tags": null,
              "is_ad_fake": false,
              "is_ban": false,
              "is_binded_weibo": false,
              "is_block": false,
              "is_blocked_v2": false,
              "is_blocking_v2": false,
              "is_cf": 0,
              "is_discipline_member": false,
              "is_gov_media_vip": false,
              "is_mix_user": false,
              "is_not_show": false,
              "is_phone_binded": false,
              "is_star": false,
              "is_verified": true,
              "item_list": null,
              "ky_only_predict": 0,
              "language": "zh-Hans",
              "link_item_list": null,
              "live_agreement": 0,
              "live_agreement_time": 0,
              "live_commerce": false,
              "live_high_value": 0,
              "live_status": 0,
              "live_verify": 0,
              "location": "",
              "mate_add_permission": 0,
              "mate_count": 0,
              "mate_relation": {
                "mate_apply_forward": 0,
                "mate_apply_reverse": 0,
                "mate_status": 0
              },
              "max_follower_count": 0,
              "need_points": null,
              "need_recommend": 0,
              "neiguang_shield": 0,
              "new_story_cover": null,
              "nickname": "Nineeeeeeee🌈",
              "not_seen_item_id_list": null,
              "not_seen_item_id_list_v2": null,
              "offline_info_list": null,
              "personal_tag_list": null,
              "platform_sync_info": null,
              "prevent_download": false,
              "private_relation_list": null,
              "profile_component_disabled": null,
              "profile_mob_params": null,
              "profile_signature_components": null,
              "react_setting": 0,
              "reflow_page_gid": 0,
              "reflow_page_uid": 0,
              "region": "CN",
              "relative_users": null,
              "risk_notice_text": "",
              "room_id": 0,
              "room_id_str": "0",
              "school_category": 0,
              "school_id": "",
              "school_name": "",
              "school_poi_id": "",
              "school_type": 0,
              "search_impr": {
                "entity_id": "57797280539"
              },
              "sec_uid": "MS4wLjABAAAAuIfSSwm_vX3nwCZPkb6bhnlUJZh1tRBw6FuTjGTR0_k",
              "secret": 0,
              "share_info": {
                "share_desc": "",
                "share_desc_info": "",
                "share_qrcode_url": {
                  "height": 720,
                  "uri": "216a001050607a8c680e",
                  "url_list": [
                    "https://p3-sign.douyinpic.com/obj/216a001050607a8c680e?lk3s=10531982&x-expires=1787238000&x-signature=jNxo81Gg5BlwD52kBk2IB6jR6W0%3D&from=273881474"
                  ],
                  "width": 720
                },
                "share_title": "",
                "share_title_myself": "",
                "share_title_other": "",
                "share_url": "",
                "share_weibo_desc": ""
              },
              "share_qrcode_uri": "216a001050607a8c680e",
              "shield_comment_notice": 0,
              "shield_digg_notice": 0,
              "shield_follow_notice": 0,
              "short_id": "4395328",
              "show_image_bubble": false,
              "show_nearby_active": false,
              "signature": "🤪消除烦恼,带来快乐‼️",
              "signature_display_lines": 5,
              "signature_extra": null,
              "social_real_relation_type": 0,
              "special_follow_status": 0,
              "special_lock": 1,
              "special_people_labels": null,
              "status": 1,
              "stitch_setting": 0,
              "story_count": 0,
              "story_open": false,
              "sync_to_toutiao": 0,
              "text_extra": null,
              "total_favorited": 0,
              "tw_expire_time": 0,
              "twitter_id": "",
              "twitter_name": "",
              "type_label": null,
              "uid": "57797280539",
              "unique_id": "",
              "unique_id_modify_time": 1787219209,
              "user_age": 126,
              "user_canceled": false,
              "user_mode": 0,
              "user_not_see": 0,
              "user_not_show": 1,
              "user_period": 0,
              "user_permissions": null,
              "user_rate": 1,
              "user_tags": null,
              "verification_permission_ids": null,
              "verification_type": 1,
              "verify_info": "",
              "video_icon": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "webcast_preview_labels": null,
              "weibo_name": "",
              "weibo_schema": "",
              "weibo_url": "",
              "weibo_verify": "",
              "white_cover_url": null,
              "with_commerce_entry": false,
              "with_dou_entry": false,
              "with_fusion_shop_entry": false,
              "with_shop_entry": false,
              "youtube_channel_id": "",
              "youtube_channel_title": "",
              "youtube_expire_time": 0
            },
            "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://p26-sign.douyinpic.com/obj/image-cut-tos/8d0440060cb54c1f2b2ad49d967d3d3f.jpg?lk3s=fc8b4eca&x-expires=1787238000&x-signature=2FZxFhdGGWeY0PkXLdbLnh0dDLM%3D&from=4236988106",
            "insert_template_category_list": null,
            "is_challenge": 0,
            "is_commerce": false,

Examples

Select an example to load its inputs and result into the playground.

API README

Douyin Challenge Search API

Returns Douyin challenge (hashtag) search results that match a keyword. Each result holds the challenge name, its ID, and the creator's avatar images. You can filter by publish time, content type and duration, and you can set the sort order.

Use cases

  • Find Douyin hashtags that contain a topic word, such as 猫咪, and compare their name variants.
  • Collect challenge IDs (cid) to use in other hashtag lookups.
  • Page through all challenges for a keyword to build a hashtag list for a topic.
  • Check whether a challenge is active by reading challenge_status.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/challenge-search-v1" \
  -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., "food"
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.

{
  "ad_info": {},
  "challenge_list": [
    {
      "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
    }
  ],
  "cursor": 20,
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103153215538D3B1418CA743E39F6",
    "now": 1793691135000,
    "scenes": null,
    "search_request_id": ""
  },
  "global_doodle_config": {
    "keyword": "猫咪"
  },
  "has_more": 1,
  "is_match": false,
  "keyword_disabled": 0,
  "log_pb": {
    "impr_id": "20261103153215538D3B1418CA743E39F6",
    "stab_extra": {
      "traffic_identification": "normal"
    }
  },
  "qc": "",
  "status_code": 0
}

Response fields

FieldMeaning
challenge_list[].challenge_info.cha_nameThe hashtag or challenge name, shown without the # sign.
challenge_list[].challenge_info.cidThe challenge ID as a string. Use it to identify the hashtag in other calls.
challenge_list[].challenge_info.challenge_statusStatus code of the challenge. The value 1 appears on all sample results.
challenge_list[].challenge_info.author.avatar_168x168 / challenge_list[].challenge_info.author.avatar_300x300Avatar images tied to the challenge author, at two sizes. Each has uri, url_list, width and height.
challenge_list[].challenge_info.author.avatar_168x168.url_listImage URLs for the avatar in WebP and JPEG formats.
challenge_list[].itemsVideo items under the challenge. It is null in the sample results.
cursorOffset to send as cursor for the next page. The sample shows 20.
has_moreShows whether more results exist. 1 means more pages are available.
extra.logid / log_pb.impr_idRequest log ID and impression ID for this response.
status_codeStatus code of the response. 0 appears on this successful call.

Notes

  • Send cursor as 0 on the first request. For the next page, send the cursor value from the response and keep has_more in mind to know when to stop.
  • The parameters backtrace and search_id are meant for pagination. In this response extra.search_request_id is an empty string.
  • To see details for a challenge you found, call Douyin Hashtag Details. To list its videos, call Douyin Hashtag Video List.

Pricing

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

Explore more

Related APIs

All APIs
APIPriceResponse
Douyin$0.01 per callJSON
Douyin$0.01 per callJSON
Douyin$0.01 per callJSON
Douyin$0.01 per callJSON
Douyin$0.01 per callJSON
Douyin$0.01 per callJSON

Questions

FAQ

How do I use the Douyin Challenge Search API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/search/challenge-search-v1 with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin Challenge Search API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin Challenge Search API accept?

No parameters are required. Optional: backtrace (string), content_type (string), cursor (integer), filter_duration (string), keyword (string) and publish_time (string) and 2 more. The Parameters table and the Playground on this page list every field.

What does the Douyin Challenge Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Douyin developer account or API key?

No. Douyin Challenge Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.