search_tiktok_videos
Search TikTok videos by keyword and retrieve video details including ID, caption, author, stats, and URLs. Supports sorting by relevance or likes and filtering by publish time.
Instructions
Search TikTok videos by keyword as JSON. Each result includes video ID, caption, author, music, stats, and video URLs. Supports sorting by relevance or likes, and filtering by publish time. Use data.cursor for next page; stop when data.has_more is 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Search query. | |
| cursor | No | Pagination cursor. Use data.cursor from previous response for next page. | 0 |
| count | No | Number of results per page (1-30). | |
| sort_type | No | Sort order. '0' = relevance, '1' = most likes. | 0 |
| publish_time | No | Time filter. '0'=all time, '1'=last day, '7'=week, '30'=month, '90'=3 months, '180'=6 months. | 0 |