Top Search
tiktok_top_searchSearch TikTok's Top results by query to get videos and photo carousels with captions, stats, and pagination. Requires confirm=true for credit-consuming calls.
Instructions
Searches TikTok's 'Top' results by query — returns both videos and photo carousels, unlike keyword search which only returns videos. Returns items, an array of objects each with id, desc (caption), content_type (video or photo carousel), statistics (play_count, digg_count/likes, comment_count, share_count), video info, and images for carousels. Paginate with cursor. TikTok may return duplicate results.
Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keyword to search for | |
| cursor | No | Cursor to get more videos. Get 'cursor' from previous response. | |
| region | No | Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc | |
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| sort_by | No | Sort by | |
| publish_time | No | Time Frame TikTok was posted |