Douyin modelsapi generation api

douyin/search/challenge-suggest

Fetch hashtag/challenge suggestions from Douyin App based on the input keyword. Returns a list of related hashtags including name and view count.

Input
Idle

Example output — click Run to generate your own

API README

Fetch hashtag suggestions

Purpose:

  • Fetch hashtag/challenge suggestions from Douyin App based on the input keyword.
  • Returns a list of related hashtags including name and view count.

Notes:

  • Suitable for implementing keyword suggestion features in search bars.
  • Set cursor to 0 and search_id to an empty string for the first request.

Parameters:

  • keyword: Search keyword, e.g., "game"

Request Body Example:

payload = {
    "keyword": "game"
}

Response (common fields, actual response may contain more fields):

  • sug_list[]: List of suggested hashtags
    • cha_name: Hashtag name (e.g., "#game")
    • view_count: Total view count
    • cid: Challenge ID
    • group_id: Associated group ID
    • tag: Tag category (0=normal, 1=hot trend)
  • status_code: Status code (0=success)
  • status_msg: Status message (usually empty)
  • rid: Request ID
  • words_query_record:
    • info: Additional info (currently empty)
    • words_source: Words source ("sug")
    • query_id: Query ID (usually empty)
  • extra:
    • now: Server timestamp
    • logid: Log ID
    • fatal_item_ids: List of fatal item IDs (usually empty)
    • search_request_id: Search request ID (usually empty)
  • log_pb:
    • impr_id: Impression ID (for logging)

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models

douyin/search/challenge-search-v1Fetch hashtag/challenge search results from Douyin App. Returns related hashtag topics including name, view count, participants, and cover images.douyin/search/challenge-search-v2Fetch hashtag/challenge search results from Douyin App using V2 API. Supports searching by keyword and returns detailed challenge information, including name, cover image, view count, and participant count.douyin/search/discuss-searchFetch discussion/Q&A search results from Douyin App. Supports filtering by keyword, sort type, publish time, content type, etc.douyin/search/experience-searchFetch experience (knowledge/tutorial) content search results from Douyin App. Retrieves video results related to knowledge sharing, tutorials, or tips based on the input keyword.douyin/search/general-search-v1Fetch search results from Douyin App's general search tab (not standalone video search). Supports filtering by keyword, sort type, publish time, video duration, and content type. Supports pagination through `cursor`, `search_id`, and `backtrace`.douyin/search/general-search-v2Fetch search results from Douyin App's general search tab (not standalone video search). This API may be less stable than V1, serving as a backup. Supports filtering by keyword, sort type, publish time, video duration, and content type. Supports pagination through `cursor`, `search_id`, and `backtrace`.douyin/search/image-searchFetch image-based search results from Douyin App. Mainly returns posts containing image collections.douyin/search/image-search-v3Fetch image-text content search results from Douyin App. Returns posts with multiple images (aweme_type=68), suitable for gallery-style applications.