How to Scrape TikTok Comments and Replies: Step-by-Step Tutorial with Screenshots
TikTok Comment Scraper takes TikTok video URLs (or just the video IDs) and returns every comment as a row: the text, like count, reply count, language, timestamp and the commenter’s profile. Turn on replies and each reply comes back as its own row, linked to the comment it answers. You don’t need a TikTok account or proxies.
For this tutorial I ran it on two Lady Gaga videos with replies turned on. It returned 71 rows (37 comments + 34 replies) in 10 seconds for $0.021. The whole flow in 90 seconds:
Below are the same steps with a screenshot for each.
What you get
| Field | Example | Meaning |
|---|---|---|
text |
Just creepin’ it real 💚 |
The comment or reply text |
digg_count |
26512 |
Likes on the comment |
reply_comment_total |
52 |
Replies the comment has on TikTok |
reply_id |
"0" or a comment cid |
"0" for a top-level comment, otherwise the cid of the parent comment |
create_time |
1742311990 |
Unix timestamp |
comment_language |
en |
Detected language |
user |
unique_id, nickname, avatar… |
The commenter’s public profile |
aweme_id |
7482895727757102382 |
The video the comment belongs to |
Mentions and hashtags inside the comment are in text_extra, and share_info.url is a direct link to the comment.
Step 1: Open the Actor and click “Try for free”
Go to the Actor page on Apify and click Try for free. If you don’t have an account yet, sign up first. The free plan’s monthly credit covers thousands of comments with this Actor.

Step 2: Add the video URLs
The Actor opens in Apify Console with an example video already filled in. The quickest way to add your own list is Bulk edit under Video URLs or IDs: paste one URL per line and click Set. Both forms work:
https://www.tiktok.com/@ladygaga/video/74828957277571023827482895727757102382(just the video ID)

Step 3: Set replies and limits
Three settings decide how much you get:
- Scrape replies: also collect the replies under each comment. Each reply is saved as its own row.
- Max comments (per post): how many comments to take from each video (default 50).
- Max replies (per comment): how many replies to take from each comment when replies are on (default 10).
Scrape all (unlimited) ignores both limits and takes every comment and every reply. On a viral video that can be a very large number of rows, so set Maximum cost per run under Run options first.

Step 4: Or paste the input as JSON
Switch the editor to JSON if you prefer to paste the whole input. This is the input I used:
{
"urls": [
"https://www.tiktok.com/@ladygaga/video/7211250685902359850",
"https://www.tiktok.com/@ladygaga/video/7482895727757102382"
],
"shouldScrapeReplies": true,
"maxItems": 20,
"maxRepliesPerComment": 3,
"shouldScrapeAll": false
}

The same JSON works as the request body when you start the Actor from the API (see Run it from code).
Step 5: Run it and check the results
Click Save & start. My run finished in 10 seconds with 71 results and cost $0.021 on the free plan.
The Comments view of the Output tab shows the comment, username, nickname, likes, replies, creation time, language and video ID. Switch to All fields to see every column.

The most-liked comment on the newer video had about 36K likes. A top-level comment and one of its replies look like this (shortened):
[
{
"cid": "7483172861290431278",
"aweme_id": "7482895727757102382",
"text": "Just creepin’ it real 💚",
"digg_count": 26512,
"reply_comment_total": 52,
"reply_id": "0",
"create_time": 1742311990,
"comment_language": "en",
"user": { "unique_id": "monsterhigh", "nickname": "Monster High" }
},
{
"cid": "7483220100482515758",
"text": "We need a video of the BTW Monster High doll doing this choreo",
"digg_count": 78,
"reply_id": "7483172861290431278"
}
]
To keep only top-level comments, filter reply_id to "0". To rebuild the threads, group replies by reply_id.
Step 6: Export to CSV, Excel or JSON
Click Export, pick a view (Comments for the main columns, All fields for everything) and a format: JSON, CSV, XML, Excel, HTML Table, RSS or JSONL. You can also pick or leave out fields.

Run it from code
Get your API token from Settings > API & Integrations in Apify Console, then use the official client.
Python (pip install apify-client):
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("xtdata/tiktok-comment-scraper").call(run_input={
"urls": ["https://www.tiktok.com/@ladygaga/video/7482895727757102382"],
"maxItems": 100,
"shouldScrapeReplies": True,
"maxRepliesPerComment": 10,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
kind = "comment" if row["reply_id"] == "0" else "reply"
print(kind, row["digg_count"], row["text"])
Node.js (npm install apify-client):
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('xtdata/tiktok-comment-scraper').call({
urls: ['7482895727757102382'],
maxItems: 100,
shouldScrapeReplies: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const comments = items.filter((row) => row.reply_id === '0');
console.log(comments.length, 'comments,', items.length - comments.length, 'replies');
To track the same videos over time, save the input as a Task and add a Schedule. The Integrations tab can send each run’s results to Google Sheets, Slack, Make, Zapier or n8n.
Pricing
You pay per result, with no subscription:
| Event | Free plan | Paid plans |
|---|---|---|
| Each comment (or reply) | $0.30 per 1,000 | down to $0.25 per 1,000 |
| Actor start | $0.0001 per run | $0.00009 |
With replies on, every reply is a result too. Set Maximum cost per run under Run options if you want a hard spending cap.
Tips
- One run with many URLs is cheaper than many runs, because each run pays the start fee once.
- Want replies on more comments? Raise Max comments (per post) or turn on Scrape all. Replies are collected for the comments in the first batch.
- Sentiment or topic analysis: export CSV, keep
text,digg_countandcomment_language, and weight each comment by its likes. - Multilingual videos: filter on
comment_languagebefore you analyse, or translate only the languages you need.
FAQ
Do I need a TikTok account or cookies? No. The Actor reads public comments only.
Do I need proxies? No.
How many comments can I get per run? Set Max comments (per post) for each video, or turn on Scrape all to take every comment and reply.
Ready to try it? Open TikTok Comment Scraper on Apify. Your first runs fit easily into the free credit.