TikTok Scraper
lantfly/tiktok-scraper
Videos from TikTok hashtags and profiles: captions, counts, covers, hashtags.
Run this actor in the dashboard
3426 runs quality score 70.05/100 social-media videos updated 2026-11-16
Price
Pay per event, on top of the compute the run uses.
| Event | What it is | USD each |
|---|---|---|
result_itemResult item |
0.003 |
Input
| Field | Type | Default | What it is |
|---|---|---|---|
hashtagsHashtags |
array | [] | With or without the #. |
postUrlsPost URLs |
array | [] | Video or photo URLs (also vm.tiktok.com links): one item each with fresh counts, read over HTTP first, then in the browser, then with yt-dlp. `postURLs` (clockworks name) works too. Deleted or private videos give a NOT_FOUND/PRIVATE error item. |
profilesProfiles |
array | [] | Usernames, @handles or profile URLs. |
strategiesStrategies |
array | Optional: which ways to try, in order (names or kinds; `*` = the rest in the default order). Default: http-rehydration, browser, browser-headful, browser-firefox, ytdlp, then official-api/vendor sources when configured. Example: ["ytdlp", "*"]. | |
commentUrlsComment URLs |
array | [] | Post URLs whose comments to read: one target `comments:<url>` each, rows with `kind: "comment"` in the `clockworks~tiktok-comments-scraper` shape. |
resultsPerPageResults per hashtag/profile |
integer | 30 | |
commentsPerPostComments per post |
integer | 50 | Most comments read per comment URL (top-level comments, newest first where the platform allows). |
maxRequestRetriesMax request retries |
integer | 3 | Retries per target on a new exit IP after a block, rate limit or network error. |
proxyConfigurationProxy |
object | {"groups":["RESIDENTIAL"],"country":"VN","useLantflyProxy":true} |
Sample input
{
"hashtags": [
"velyniq"
],
"resultsPerPage": 30
}
README
TikTok Scraper
Comments: commentUrls (video URLs) + commentsPerPost give rows with kind: comment in the clockworks~tiktok-comments-scraper shape (cid, text, diggCount, replyCommentTotal, createTimeISO, uniqueId, videoWebUrl), read from the /api/comment/list/ calls the video page makes in the browser, then yt-dlp, then Apify.
Output items follow the clockworks~tiktok-scraper shape: id, text, webVideoUrl, createTimeISO, authorMeta{name,nickName,fans,avatar}, videoMeta{duration,coverUrl}, playCount, diggCount, commentCount, shareCount, collectCount, hashtags[{name}], isSlideshow, slideshowImageLinks, plus input (#tag, @user or the post URL). A video under two hashtags gives one row per hashtag.
Hashtags and profiles open in Chromium, which signs TikTok's own item_list calls; the actor reads those responses while it scrolls (90 s per target). Each hashtag, profile and post is a target in OUTPUT: a captcha, a refused or silent item_list or a login wall retries on a new exit IP and, after every retry, is blocked; empty only when TikTok answers that there are no videos; missing or private profiles/videos are not_found/private.
Needs RESIDENTIAL VN or MOBILE proxies.
Issues
0 open issues0 closed issues
What people reported and what the author answered is not published: sign in to read the reports or open one.
Reviews
No published review yet.