Douyin (TikTok China)

Video Search

Searches 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.

get/api/douyin/search-video/v4

Query parameters

tokenstring required

Access token for this API service.

keywordstring required

The search keyword.

sortType'_0' | '_1' | '_2'

Douyin - Video Search Sort Type

Sorting criteria for search results.

Available Values:

  • _0: General
  • _1: More likes
  • _2: Newest
publishTime'_0' | '_1' | '_7' | '_180'

Douyin - Video Search Publish Time Filter

Filter by video publish time range.

Available Values:

  • _0: No Limit
  • _1: Last 24 Hours
  • _7: Last 7 Days
  • _180: Last 6 Months
duration'_0' | '_1' | '_2' | '_3'

Douyin - Video Search Duration Filter

Filter by video duration.

Available Values:

  • _0: No Limit
  • _1: Under 1 Minute
  • _2: 1-5 Minutes
  • _3: Over 5 Minutes
pageinteger

Page number (starting from 1).

searchIdstring

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.

Response

OK

code0 | 100 | 101 | 202 | 300 | 301 | 302 | 303 | 400 | 404 | 500 | 503 | 600 | 601 | 602 required
messagestring nullable required
{"stackTrail":"paths:/api/douyin/search-video/v4:get:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
recordTimestring nullable required
requestIdstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.