Search TikTok videos by keyword
Returns public TikTok videos matching keyword. Order with sort_type, filter by publish_time and region; continue with the response cursor as offset while has_more is nonzero.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
keyword*string
Search term matched against public videos.
Length
1 <= lengthoffset?string
Where the page starts. 0 for page one; for later pages send the previous response's cursor when it has one.
count?string
Number of items to request per page.
sort_type?string
Result ordering value. Leave unset for the default order.
publish_time?string
Filter by publication time. Leave unset for no time filter.
region?string
Two-letter country code, for example US, that localizes the results.
curl -X GET "https://example.com/v2/tiktok/app/search/videos?keyword=cats" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "aweme_list": [ null ], "search_item_list": [ null ], "cursor": 0, "has_more": 0, "status_code": 0 }}