How to Scrape TikTok Comments and Replies: Step-by-Step Tutorial with Screenshots
Fast TikTok Comment Scraper extracts top-level comments and nested replies from any public TikTok video without proxies or a TikTok account. You paste a list of video URLs, choose whether to include replies, and get structured rows with comment text, like counts, reply totals, detected language, timestamps, and commenter profile metadata.
For this walkthrough I ran two TikTok videos with shouldScrapeReplies enabled and maxItems set to 40 per post. The run finished with 110 comments and replies in 14 seconds for $0.055 on the Apify free plan. Watch the 98-second flow first:
Below are the same steps with screenshots from that run.
Input options at a glance
| Field | Type | Default | What it controls |
|---|---|---|---|
urls |
array |
["https://www.tiktok.com/@ladygaga/video/7211250685902359850"] |
TikTok video URLs, photo URLs, or short links (vm.tiktok.com, vt.tiktok.com, tiktok.com/t/...), processed in parallel |
shouldScrapeReplies |
boolean |
false |
Fetch nested replies under each comment when true |
maxItems |
integer |
50 |
Target comment cap per post |
shouldScrapeAll |
boolean |
false |
Ignore maxItems and paginate until all available comments are fetched |
Step 1: Open the Actor and click “Try for free”
Go to Fast TikTok Comment Scraper on Apify and click Try for free. If you don’t have an Apify account yet, sign up for free — the free tier includes $5 of monthly credit.

Step 2: Paste your TikTok video URLs
Inside Video URLs or IDs, click Bulk edit to paste a list of TikTok video links, one per line, then click Set.

Always pass full https://... TikTok video, photo, or short URLs (vm.tiktok.com/..., vt.tiktok.com/..., tiktok.com/t/...). Multiple URLs run concurrently in parallel.
Step 3: Enable replies and set your comment limit
Back in the Form tab, configure the three controls below the URL list:
- Scrape replies: toggle On to collect nested replies alongside top-level comments.
- Max comments (per post): set your target count per video (for example
40). - Scrape All Comments: leave Off when testing a cap, or turn On to collect every available comment on each video.

If you prefer pasting raw JSON, switch to the JSON tab. This is the exact input used for the tutorial run:
{
"urls": [
"https://www.tiktok.com/@ladygaga/video/7211250685902359850",
"https://www.tiktok.com/@gordonramsayofficial/video/7712920446999547158"
],
"shouldScrapeReplies": true,
"maxItems": 40,
"shouldScrapeAll": false
}

Step 4: Run it and inspect the comments
Click Save & start. The run completed in 14 seconds with 110 results (56 from the first video: 30 top-level comments and 26 replies; 54 from the second video: 29 top-level comments and 25 replies) for $0.055 on the Free plan.

Scroll across the Output table to view text, stick_position, digg_count (likes), reply_comment_total, reply_id, comment_language, create_time, author_pin, is_author_digged, and the nested user profile object.

One top-level comment and one reply from the dataset (shortened):
[
{
"cid": "7712924955306722049",
"aweme_id": "7712920446999547158",
"text": "Too much butter, wrong pan used, didn't cook the steak well enough, poor choice of toppings, you should also never smack a steak like that",
"digg_count": 2501,
"reply_comment_total": 34,
"reply_id": "0",
"reply_to_reply_id": "0",
"comment_language": "en",
"create_time": 1795805295,
"author_pin": false,
"is_author_digged": false,
"user": {
"unique_id": "sameee207",
"nickname": "•Jºhªn",
"region": "ZA"
}
},
{
"cid": "7712921356635013911",
"aweme_id": "7712920446999547158",
"text": "Ok Matt",
"digg_count": 50,
"reply_comment_total": null,
"reply_id": "7712921169587159830",
"reply_to_reply_id": "0",
"comment_language": "en",
"create_time": 1795804468,
"user": {
"unique_id": "andreas365",
"nickname": "andreas365",
"region": "AT"
}
}
]
Top-level comments have "reply_id": "0", while replies carry the parent comment’s cid in reply_id.
Step 5: Export to CSV, Excel, or JSON
Click Export, choose from JSON, CSV, XML, Excel, HTML Table, RSS, or JSONL, and click Download or Copy shareable link.

Run it from code
Grab your API token from Settings > API & Integrations in Apify Console and call novi/tiktok-comment-scraper programmatically.
Python (pip install apify-client):
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("novi/tiktok-comment-scraper").call(run_input={
"urls": [
"https://www.tiktok.com/@ladygaga/video/7211250685902359850",
"https://www.tiktok.com/@gordonramsayofficial/video/7712920446999547158",
],
"shouldScrapeReplies": True,
"maxItems": 40,
"shouldScrapeAll": False,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
kind = "reply" if item.get("reply_id") != "0" else "comment"
print(kind, item.get("digg_count"), item.get("user", {}).get("unique_id"), item.get("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('novi/tiktok-comment-scraper').call({
urls: [
'https://www.tiktok.com/@ladygaga/video/7211250685902359850',
'https://www.tiktok.com/@gordonramsayofficial/video/7712920446999547158',
],
shouldScrapeReplies: true,
maxItems: 40,
shouldScrapeAll: false,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'comments and replies');
Pricing
Fast TikTok Comment Scraper uses Pay-Per-Event pricing — you pay only for the run start and each comment or reply delivered:
| Event | Free plan | Bronze | Silver | Gold+ |
|---|---|---|---|---|
Each comment (result-item) |
$0.50 / 1,000 | $0.42 / 1,000 | $0.33 / 1,000 | $0.25 / 1,000 |
Actor start (apify-actor-start, 1 GB default) |
$0.00005 / start | $0.00005 / start | $0.00005 / start | $0.00005 / start |
Set Maximum cost per run under Run options to enforce a hard budget cap when running with shouldScrapeAll: true.
Tips
- Set
maxItemsabove 30 when scraping replies. Comments are fetched in pages of up to 30 top-level comments before fetching replies in parallel. AmaxItemsof40lets the run fetch top-level comments and then pull replies in batches, which is whymaxItems: 40delivered54–56total items per video in the demo run. - Always use full
https://URLs. Paste full video/photo links or TikTok short URLs (vm.tiktok.com,vt.tiktok.com,tiktok.com/t/...) rather than bare numeric IDs. - Run sentiment analysis next. Once you export your comments, follow the TikTok Comments Sentiment Analysis guide to score positive, neutral, and negative crowd opinion in Python weighted by
digg_count.
FAQ
Do I need a TikTok login or proxies? No. All requests run through built-in proxies on public TikTok comment endpoints.
How do I tell top-level comments apart from replies? Top-level comments have "reply_id": "0". Replies have the parent comment’s cid in reply_id.
Does maxItems apply per video or across the entire run? Per post — passing 2 URLs with maxItems: 40 applies the cap independently to each video.
Ready to extract your first comment dataset? Try Fast TikTok Comment Scraper free on Apify.