How to Scrape TikTok Comments and Replies

To scrape TikTok comments, put the video URLs in the startUrls input of apidojo's TikTok Comments Scraper on Apify, set includeReplies to true for threads, and run it.

Cover card reading 'How to Scrape TikTok Comments and Replies'

To scrape TikTok comments, put the video URLs in the startUrls input of apidojo’s TikTok Comments Scraper on Apify, set includeReplies to true for threads, and run it. Each comment comes back with its text, time, likes, reply count, detected language and the commenter’s profile, at $0.30 per 1,000 comments.

Comments are TikTok’s richest text data, and the app has no export for them. This guide covers inputs, output fields, replies, Python code, costs, and how the do-it-yourself route compares. The overview of every TikTok data type is in how to scrape TikTok data in 2026. To profile the people commenting, see how to scrape TikTok profiles, and for threads with thousands of replies, TikTok scraping limits explains pagination.

How Do You Scrape Comments From a TikTok Video?

You scrape comments by pasting the video’s URL into the actor and running it. Listed below are the 5 steps.

  1. Copy the video URL, such as https://www.tiktok.com/@username/video/7353781970163272993.
  2. Open TikTok Comments Scraper and paste the URL into startUrls.
  3. Set includeReplies to true if you want reply threads.
  4. Set maxItems to cap the total number of comments.
  5. Run the actor and download the dataset as JSON, CSV, Excel or XML.
{
  "startUrls": ["https://www.tiktok.com/@username/video/7353781970163272993"],
  "includeReplies": true,
  "maxItems": 5000
}

Only video URLs are accepted, and each video should have at least 10 comments (Apify).

What Data Does a Scraped TikTok Comment Contain?

Each scraped comment holds the comment itself, its engagement and the commenter’s public profile. The fields below come from the actor’s output example (Apify).

Field Contains
id, parentId The comment’s ID, and for replies, the comment it answers
text The comment text, emojis included
createdAt When it was posted
likeCount, replyCount Likes on the comment and number of replies
commentLanguage The language TikTok detected, such as es
awemeId The ID of the video it was posted on
isAuthorLiked Whether the video’s creator liked it
user username, displayName, url, bio, region, language

How Do You Scrape TikTok Comment Replies?

Set includeReplies to true to fetch replies along with the comments. Each record carries an id and a parentId, which the actor’s documentation describes as the identifiers for comments and replies, so you can map conversation threads from the export. The documentation also notes that replies may not always come through for every video, so check the output for your use case (Apify).

How Do You Scrape TikTok Comments With Python?

Call the actor through the Apify client, then load the comments into pandas for filtering and analysis.

import pandas as pd
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("apidojo/tiktok-comments-scraper").call(run_input={
    "startUrls": [
        "https://www.tiktok.com/@creator1/video/7353781970163272993",
        "https://www.tiktok.com/@creator2/video/7277992603752203013",
    ],
    "includeReplies": True,
    "maxItems": 10000,
})

df = pd.json_normalize(list(client.dataset(run.default_dataset_id).iterate_items()))
top = df.sort_values("likeCount", ascending=False)[["user.username", "likeCount", "text"]]
print(top.head(20))
print(df["commentLanguage"].value_counts().head())

json_normalize turns the nested user object into columns such as user.username. The full Python setup is in how to collect TikTok data with Python.

What Does Scraping TikTok Comments Cost?

TikTok Comments Scraper costs $0.30 per 1,000 comments, so 100,000 comments cost $30. The free Apify plan runs it in demo mode, 5 runs a month with 10 items each (Apify).

Comments Cost
10,000 $3
100,000 $30
1,000,000 $300

How Does Building Your Own Comment Scraper Compare?

A do-it-yourself scraper reads TikTok’s internal comment endpoint page by page, which means handling its request tokens, cursors and blocks yourself. Tutorials from Scrapfly and Decodo show this route in Python with proxies. It works until TikTok changes the endpoint or its tokens, which happens often, and then it needs fixing. The official alternative, the Research API’s comment endpoint, is limited to approved academic researchers; see TikTok API in 2026.

What Can You Do With Scraped TikTok Comments?

Scraped comments answer questions the app can’t: what people ask most, how they feel, and who the most engaged commenters are. Listed below are the 4 common uses.

Questions people ask

Can you scrape comments from a private TikTok account?

No, private accounts' videos and comments aren't public and can't be collected.

Can you scrape all comments on a viral video?

Yes, set maxItems high or leave it empty; very large threads are best split across runs.

Can you scrape comments from TikTok LIVE?

No, LIVE chat isn't kept as comments on a video.

Does scraping comments notify the creator?

No, reading public comments doesn't notify anyone.