douyin/search/video-search-v2
Fetch video search results from Douyin App using V2 API version. Compared to V1, returns more detailed information including author details, multi-resolution video sources, and hashtags.
Input
Idle
Example output — click Run to generate your own
API README
Fetch video search V2
Purpose:
- Fetch video search results from Douyin App using V2 API version.
- Compared to V1, returns more detailed information including author details, multi-resolution video sources, and hashtags.
Notes:
- Set
cursorto 0 andsearch_idto an empty string for the first request. - The response contains rich video data, suitable for display, content scraping, or intelligent analysis.
Parameters:
- keyword: Search keyword, e.g., "robot"
- cursor: Pagination cursor (0 for the first page, use the last response cursor for subsequent pages)
- sort_type: Sorting method
0: Comprehensive1: Most likes2: Latest
- publish_time: Publish time filter
0: Unlimited1: Last day7: Last week180: Last half year
- filter_duration: Video duration filter
0: Unlimited0-1: Within 1 minute1-5: 1 to 5 minutes5-10000: More than 5 minutes
- content_type: Content type filter
0: Unlimited1: Video2: Picture3: Article
- search_id: Search ID used for pagination(obtained from the last response)
- backtrace: Backtrace identifier used for pagination(obtained from the last response)
Request Body Example:
payload = {
"keyword": "robot",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "0",
"search_id": "",
"backtrace": ""
}
Response (common fields, actual response may contain more fields):
-
business_data[]: List of returned data itemsdata_id: Data ID (string, e.g., "0")type: Data type (1=Video)data:type: Same as above (1)aweme_info: Detailed video information- Basic Info:
aweme_id: Video IDdesc: Video descriptioncreate_time: Creation timestamp
- Author Info (
author):uid: Unique User IDshort_id: Short IDnickname: Nicknamesignature: Biofollower_count: Follower countis_verified: Whether verifiedregion: Region, e.g., "CN"avatar_thumb.url_list: Thumbnail avatar URLsavatar_medium.url_list: Medium avatar URLsavatar_larger.url_list: Large avatar URLsenterprise_verify_reason: Enterprise verification info
- Music (
music):id_str: Music IDtitle: Music titleauthor: Music creator nicknameplay_url.url_list: List of play URLs
- Video (
video):play_addr.url_list: Play URLs (supports HD)cover.url_list: Cover imagesdynamic_cover.url_list: Dynamic coversorigin_cover.url_list: Original coversduration: Duration (milliseconds)ratio: Resolution (e.g., "720p")bit_rate[]: Multiple bitratesgear_name: Gear namebit_rate: Bitrate (bps)play_addr.url_list: Play URLs
- Hashtags (
cha_list[]):cha_name: Hashtag name (e.g., "#UnitreeRobot")cid: Hashtag IDshare_url: Hashtag share link
- Statistics (
statistics):comment_count: Number of commentsdigg_count: Number of likesshare_count: Number of sharesplay_count: Number of playscollect_count: Number of collects
- Status (
status):is_delete: Whether deletedis_private: Whether privateallow_share: Whether sharing is allowedallow_comment: Whether commenting is allowed
- Other fields:
share_url: Video external share linkuser_digged: Whether the user has liked (0=No, 1=Yes)
- Basic Info:
-
cursor: Cursor for next page -
has_more: Whether more data is available (1=Yes, 0=No)
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

