TikTok Video & Comment Scraper
Pricing
$20.00/month + usage
Go to Apify Store

TikTok Video & Comment Scraper
Collect detailed TikTok video insights including views, likes, shares, comments, music information, and hashtags. Ideal for social media analysis, trend tracking, and influencer research.
Pricing
$20.00/month + usage
Rating
0.0
(0)
Developer

Jamshaid Arif
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 hours ago
Last modified
Categories
Share
Tiktok Scraper
Collect TikTok video data, metadata, comments, user pages, hashtag pages, music pages, and related videos — all exported to a clean Apify dataset.
Scrape modes
| Mode | What it scrapes | Required input |
|---|---|---|
single_video | 1 video + metadata row | videoUrl |
multi_video_urls | N videos + metadata rows | videoUrls (list) |
user_page | ~30 videos from a user | username |
hashtag_page | ~15 videos from a hashtag | hashtag |
music_page | ~15 videos from a sound/music | musicId |
related_videos | ~30 "you may like" videos | videoUrl |
video_comments | up to N comments on a video | videoUrl, maxComments |
Output fields
Video / metadata records
| Field | Description |
|---|---|
video_id | Unique TikTok video ID |
video_url | Direct link to video page |
author_name | Creator username |
author_id | Creator numeric ID |
description | Video caption / text |
like_count | Total likes |
comment_count | Total comments |
share_count | Total shares |
play_count | Total views |
duration_secs | Video length in seconds |
music_title | Background music name |
music_author | Music creator name |
hashtags | Space-separated hashtags |
created_at | Unix timestamp of upload |
download_url | Watermark-free URL (if available) |
source_type | Which scrape mode produced this row |
source_value | The input value (URL / username / tag) |
scraped_at | ISO-8601 UTC timestamp |
Comment records
| Field | Description |
|---|---|
comment_id | Unique comment ID |
comment_text | Comment body |
author_name | Commenter username |
like_count | Comment likes |
reply_count | Number of replies |
created_at | Comment timestamp |
Input options
| Parameter | Type | Default | Description |
|---|---|---|---|
scrapeMode | string | single_video | See modes table above |
videoUrl | string | — | TikTok video URL |
videoUrls | string[] | — | List of video URLs |
username | string | — | TikTok username (no @) |
hashtag | string | — | Hashtag (no #) |
musicId | string | — | Numeric music/sound ID |
downloadVideos | boolean | false | Save .mp4 to Key-Value store |
maxComments | integer | 30 | Max comments to collect |
sleepSeconds | integer | 2 | Delay between requests |
headless | boolean | true | Headless browser mode |
includeRawJson | boolean | false | Attach raw TikTok JSON to each record |
proxyConfiguration | object | Apify proxy | Proxy settings |
Usage examples
Single video
{"scrapeMode": "single_video","videoUrl": "https://www.tiktok.com/@tiktok/video/7106594312292453675","downloadVideos": false,"includeRawJson": false}
Multiple URLs
{"scrapeMode": "multi_video_urls","videoUrls": ["https://www.tiktok.com/@tiktok/video/7106594312292453675","https://www.tiktok.com/@tiktok/video/7011536772089924869"],"sleepSeconds": 3}
User page
{"scrapeMode": "user_page","username": "tiktok","downloadVideos": false}
Hashtag page
{"scrapeMode": "hashtag_page","hashtag": "datascience"}
Comments
{"scrapeMode": "video_comments","videoUrl": "https://www.tiktok.com/@tiktok/video/7106594312292453675","maxComments": 100}
Tips
- Getting blocked? Increase
sleepSeconds(try 5–10) or enable Apify proxy. - Empty results on multi-page modes? Set
headless: falselocally to debug. - Videos not downloading? Some videos restrict direct download — the
download_urlfield will be empty in those cases even ifdownloadVideosis true. - TikTok's internal APIs change occasionally, which may temporarily break some modes.
Pricing
This actor runs on Apify's pay-per-usage model. Estimated consumption:
| Mode | ~Records | ~CU |
|---|---|---|
| Single video | 1 | 0.01 |
| Multi URLs (10) | 10 | 0.05 |
| User / Hashtag / Music page | 15–30 | 0.20 |
| Comments (100) | 100 | 0.15 |