TikTok Comment API

TikTok Comment API

by novi

Need to pull TikTok comments for your project? This API gives you direct access without the usual headaches. I've used this to gather comments for se...

1,210,868 runs
494 users
Try This Actor

Opens on Apify.com

About TikTok Comment API

Need to pull TikTok comments for your project? This API gives you direct access without the usual headaches. I've used this to gather comments for sentiment analysis, track brand mentions, and find potential leads. It's fastโ€”you get the data in a clean JSON format almost instantly, which saved me a ton of time on my last research project. The setup is straightforward; you just send a request with the video URL. The best part? You don't have to worry about sourcing proxies or getting blocked. They handle all that infrastructure on their backend, so you can focus on building your application. It's reliable for consistent data collection from TikTok. Common uses I've seen include monitoring marketing campaign reactions, analyzing user engagement, and aggregating public feedback. If you need a no-fuss way to get TikTok comment data into your app, dashboard, or research, this works.

What does this actor do?

TikTok Comment API is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

TikTok Comment API Super Fast TikTok Comment API. 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. Only need 0.0001 USD to get 200 results. You don't need to pay for proxy because we use our own. ## Note: During free trial period: * โœ… Result limit of 10 per query. Upgrade: https://apify.com/pricing ## Bugs, fixes, updates and changelog This scraper is under active development. If you have any feature requests you can create an issue from here. Enhanced to crawling 100 items with only 128MB memory. ## Input Parameters The input of this scraper should be JSON containing the list of pages on TikTok Comment API that should be visited. Required fields are: | FIELD | Type | Description | |---------------------|----------|-------------------------------------------------------------------------------------| | url | string | URL of TikTok Video. Ex: https://www.tiktok.com/@ladygaga/video/7211250685902359850 | | region | string | Target country for scraping. | | limit | integer | You can limit scraped results. | | shouldScrapeReplies | boolean | Should scrape replies. | | | | | ## 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 API Input example json { "url": "URL of TikTok Video. Ex: https://www.tiktok.com/@ladygaga/video/7211250685902359850", "limit": 100, "shouldScrapeReplies": true } ## 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 API 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 API actor. ### Item Detail json [ { "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 } ] ## Ethical Use and Data Practices Our TikTok Scraper operates without logging in to TikTok. This means it doesn't implicitly accept any of TikTok's Terms of Service (ToS) that require a login, as we only process data that's publicly displayed and accessible to everyone without authentication. We're fully committed to the principle of privacy by design and by default. All data collected explicitly excludes sensitive personal information or non-public data. Furthermore, our scraper runs on Apify, an EU-based company, which means our operations are designed to be * compliant with relevant EU data protection regulations, including GDPR, where applicable. You can find more information about the legality of web scraping on Apify's blog: https://blog.apify.com/is-web-scraping-legal/ We've implemented robust technical measures to ensure the scraper operates gently and doesn't impose an undue burden on TikTok's servers. Our sole purpose is to facilitate * responsible research and public data analysis**, and we strictly prohibit any use that could cause harm to any party or the platform itself. ## 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. | ๐ŸŽน๏ธ Fast TikTok API | ๐Ÿ“น๏ธ TikTok Trend API | ๐Ÿ”๏ธ TikTok Search API | |:-------------------------------------------------------------------------|:------------------------------------------------------------------------|:------------------------------------------------------------------------------| | ๐Ÿง›๏ธ TikTok User API | ๐Ÿง›๏ธ TikTok User Info API | #๏ธ TikTok Hashtag API | | ๐Ÿ›๏ธ TikTok Shop API | ๐Ÿ‘ค๏ธ TikTok Followers API | โšก๏ธ TikTok Scraper (pay-per-result) | | ๐Ÿ’ฌ TikTok Comment API | ๐ŸŽถ TikTok Music API | ๐ŸŽถ TikTok Music Trend API | | ๐Ÿฆ Twitter - X.com Scraper | | |

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try TikTok Comment API now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
novi
Pricing
Paid
Total Runs
1,210,868
Active Users
494
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support