Douyin (TikTok China) Video Search API (V4)
justoneapi_get_api_douyin_search_video_v4Searches Douyin (TikTok China) videos by keyword with sort, publish-time, duration, and page filters; later pages require the previous search ID. Use it to support content discovery and trend research. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (starting from 1). | |
| keyword | Yes | The search keyword. | |
| duration | No | Filter by video duration. Available Values: - `_0`: No Limit - `_1`: Under 1 Minute - `_2`: 1-5 Minutes - `_3`: Over 5 Minutes | |
| searchId | No | Search ID; required for pages > 1. Use data.business_config.next_page.search_id from the previous response, and stop paging when data.business_config.has_more is 0. | |
| sortType | No | Sorting criteria for search results. Available Values: - `_0`: General - `_1`: More likes - `_2`: Newest | |
| publishTime | No | Filter by video publish time range. Available Values: - `_0`: No Limit - `_1`: Last 24 Hours - `_7`: Last 7 Days - `_180`: Last 6 Months |