TikTok videos by user, hashtag, search
tiktokGet TikTok videos for a username, a hashtag or a search keyword. The body is {mode: profile|hashtag|search, query, limit} and limit runs 1-20. Records use the scraper's own field names: text, createTimeISO, playCount, diggCount (likes), commentCount, shareCount, webVideoUrl, hashtags, authorMeta (name, nickName, fans, verified), musicMeta and videoMeta.duration. A leading @ or # in the query is stripped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | profile=user's videos, hashtag=videos under a tag, search=keyword→videos | |
| limit | No | number of videos wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used. | |
| query | Yes | username (profile), hashtag without #, or search keywords |