TikTok Comment (Replies) Scraper
Pricing
from $0.25 / 1,000 each comments
TikTok Comment (Replies) Scraper
Scrape comments and replies from any TikTok video by URL. Get comment text, likes, reply counts, timestamps, language and commenter profiles. Export to JSON, CSV or Excel. No login or proxy needed.
Pricing
from $0.25 / 1,000 each comments
Rating
5.0
(4)
Developer
xtdata
Maintained by CommunityActor stats
17
Bookmarked
723
Total users
35
Monthly active users
a day ago
Last modified
Categories
Features
Share
Introduction to TikTok Comment Scraper
Super Fast TikTok Comment Scraper. Real-time, authentic data. No pre-built databases. Retrieve valuable TikTok data with ease. Input a TikTok URL and instantly access comments, likes, and metadata. Automate your data collection through API access and scheduled runs. Export your data in various formats and monitor scraping progress. Integrate with other applications for a streamlined workflow.
No login and no proxy needed. You pay per comment, with no monthly fee (see Pricing).
Video tutorial
Prefer reading? Follow the step-by-step guide with screenshots. Older walkthrough: No-code TikTok comments scraping.
Bugs, fixes, updates and changelog
This scraper is under active development. If you have any feature requests you can create an issue from here.
Pricing
You pay for the events shown in the Pricing tab of the Actor, and nothing else:
start: once per run.result-item: for each comment saved to the dataset. With replies turned on, each reply is a result too.
For example, at $0.0003 per comment, 1,000 comments cost $0.30. The price per comment is lower on higher Apify plans (see plans), and the Actor stops when it reaches the maximum cost or the maximum charged results you set for the run.
Input Parameters
Only urls is required.
| Field | Type | Default | Description |
|---|---|---|---|
| urls | array | URLs of TikTok videos. You can also provide just the video ID. | |
| maxItems | integer | 50 | Maximum number of comments to scrape per video. |
| shouldScrapeReplies | boolean | false | If enabled, the actor will also scrape replies for each comment. |
| maxRepliesPerComment | integer | 10 | Maximum number of replies to scrape for each comment (used when replies are on). |
| shouldScrapeAll | boolean | false | Unlimited. Scrapes every comment and every reply, ignoring maxItems and maxRepliesPerComment. |
Replies
With shouldScrapeReplies on, replies are saved as separate rows in the same dataset. A top-level comment has
reply_id equal to "0", and a reply has the cid of the comment it answers in reply_id. Each reply is charged as a
result, so the number of rows can be higher than maxItems. Filter reply_id to "0" to keep only top-level comments.
Use maxRepliesPerComment to limit the replies taken from each comment. Turn on shouldScrapeAll (unlimited) to get
every comment and every reply, with no limit from maxItems or maxRepliesPerComment. On a viral video that can be a
very large number of results, so set a maximum cost for the run.
Compute Unit Consumption
The actor optimized to run blazing fast and scrape many as listings as possible. Therefore, it forefronts all listing detail requests. If actor doesn't block very often it'll scrape 100 listings in 30 seconds with ~0.001 compute units.
TikTok Comment Scraper Input example
{"urls": ["https://www.tiktok.com/@ladygaga/video/7482895727757102382"],"maxItems": 100,"shouldScrapeReplies": true,"shouldScrapeAll": false}
During the Run
During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.
If you provide incorrect input to the actor, it will immediately stop with failure state and output an explanation of what is wrong.
TikTok Comment Scraper Export
During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.
You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API references to learn more about getting results from this TikTok Comment Scraper actor.
Item Detail
[{"author_pin": false,"aweme_id": "7211250685902359850","cid": "7217494551149101851","collect_stat": 0,"comment_language": "en","create_time": 1680453949,"digg_count": 23,"is_author_digged": false,"label_list": null,"no_show": false,"reply_comment": null,"reply_comment_total": 5,"reply_id": "0","reply_to_reply_id": "0","share_info": {"acl": {"code": 0,"extra": "{}"},"desc": "🇵🇱 Kasia 🇮🇸's comment: Look it for @Marika Christman . She is doing the best outfits for you. Check it out.","title": "The rehearsal no one saw. Love you all, thanks for being so supportive of a song that means so much to me ❤️","url": "https://www.tiktok.com/@ladygaga/video/7211250685902359850?_d=e80jjb2j1hfl54&_r=1&comment_author_id=7046867863550247941&preview_pb=0&share_comment_id=7217494551149101851&share_item_id=7211250685902359850&sharer_language=en&source=h5_m&u_code=0"},"status": 1,"stick_position": 0,"text": "Look it for @Marika Christman . She is doing the best outfits for you. Check it out.","text_extra": [{"end": 29,"hashtag_id": "","hashtag_name": "","sec_uid": "MS4wLjABAAAArXhs1fvcchkAbFNXpJZcD4BSJv7EmPFYcLpK2llb0Fq-K5BFkijKYQlDnHoKL1F6","start": 12,"user_id": "7038949358691910662"}],"trans_btn_style": 0,"user": {"accept_private_policy": false,"account_labels": null,"account_region": "","ad_cover_url": null,"advance_feature_item_order": null,"advanced_feature_info": null,"apple_account": 0,"authority_status": 0,"avatar_168x168": {"height": 720,"uri": "168x168/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7","url_list": ["https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~tplv-tiktok-shrink:64:64.webp?s=COMMENT_LIST&se=false&sh=64_64&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_168x168.webp?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_168x168.jpeg?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18"],"width": 720},"avatar_300x300": {"height": 720,"uri": "300x300/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7","url_list": ["https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~tplv-tiktok-shrink:64:64.webp?s=COMMENT_LIST&se=false&sh=64_64&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_300x300.webp?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_300x300.jpeg?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18"],"width": 720},"avatar_larger": {"height": 720,"uri": "1080x1080/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7","url_list": ["https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_1080x1080.webp?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_1080x1080.jpeg?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18"],"width": 720},"avatar_medium": {"height": 720,"uri": "720x720/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7","url_list": ["https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~tplv-tiktok-shrink:64:64.webp?s=COMMENT_LIST&se=false&sh=64_64&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_720x720.webp?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_720x720.jpeg?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18"],"width": 720},"avatar_thumb": {"height": 720,"uri": "100x100/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7","url_list": ["https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~tplv-tiktok-shrink:64:64.webp?s=COMMENT_LIST&se=false&sh=64_64&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_100x100.webp?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18","https://p16-amd-va.tiktokcdn.com/img/tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7~c5_100x100.jpeg?s=COMMENT_LIST&se=false&sh=&sc=avatar&l=20230514065113FFB5EBB0D8A8D784DD18"],"width": 720},"avatar_uri": "tos-maliva-avt-0068/7818f08ae60f5417edede76314c0baa7","aweme_count": 0,"bind_phone": "","bold_fields": null,"can_message_follow_status_list": null,"can_set_geofencing": null,"cha_list": null,"comment_filter_status": 0,"comment_setting": 0,"commerce_user_level": 0,"cover_url": [{"height": 720,"uri": "musically-maliva-obj/1612555907887110","url_list": ["https://p16-amd-va.tiktokcdn.com/obj/musically-maliva-obj/1612555907887110"],"width": 720}],"create_time": 0,"custom_verify": "","cv_level": "","download_prompt_ts": 1641158568,"download_setting": 0,"duet_setting": 0,"enterprise_verify_reason": "","events": null,"favoriting_count": 0,"fb_expire_time": 0,"follow_status": 0,"follower_count": 0,"follower_status": 0,"followers_detail": null,"following_count": 0,"friends_status": 0,"geofencing": null,"google_account": "","has_email": false,"has_facebook_token": false,"has_insights": false,"has_orders": false,"has_twitter_token": false,"has_youtube_token": false,"hide_search": false,"homepage_bottom_toast": null,"ins_id": "katarzyna.krupinska82","is_ad_fake": false,"is_block": false,"is_discipline_member": false,"is_phone_binded": false,"is_star": false,"item_list": null,"language": "pl","live_agreement": 0,"live_commerce": false,"live_verify": 0,"matched_friend_available": false,"mention_status": 1,"mutual_relation_avatars": null,"need_points": null,"need_recommend": 0,"nickname": "🇵🇱 Kasia 🇮🇸","platform_sync_info": null,"prevent_download": false,"react_setting": 0,"region": "IS","relative_users": null,"room_id": 0,"search_highlight": null,"sec_uid": "MS4wLjABAAAAZl-oKhIJ9Odmr5H0Nw0rAxgPJgZ16uWIm5pZYxxiJiWcDpPmzOTOu4NbYkgzj9p7","secret": 0,"shield_comment_notice": 0,"shield_digg_notice": 0,"shield_edit_field_info": null,"shield_follow_notice": 0,"short_id": "0","show_image_bubble": false,"signature": "🇵🇱\n🇮🇸","special_account": {"special_account_list": null},"special_lock": 1,"status": 1,"stitch_setting": 0,"total_favorited": 0,"tw_expire_time": 0,"twitter_id": "","twitter_name": "","type_label": null,"uid": "7046867863550247941","unique_id": "katie.kru","unique_id_modify_time": 1684047073,"user_canceled": false,"user_mode": 1,"user_period": 0,"user_profile_guide": null,"user_rate": 1,"user_tags": null,"verification_type": 0,"verify_info": "","video_icon": {"height": 720,"uri": "","url_list": [],"width": 720},"white_cover_url": null,"with_commerce_entry": false,"with_shop_entry": false,"youtube_channel_id": "","youtube_channel_title": "","youtube_expire_time": 0},"user_buried": false,"user_digged": 0}]
Scrape any TikTok data you need with dedicated scrapers
If you want to get specific data from TikTok, you can use the scrapers below. Each scraper is made to help you get different kinds of TikTok data, like hashtags, search results, profiles, or everything at once. You can look at them to see which one you need.