Tiktok Comments Scraper avatar

Tiktok Comments Scraper

Pricing

from $0.25 / 1,000 results

Go to Apify Store
Tiktok Comments Scraper

Tiktok Comments Scraper

💬 Extract comments and reply threads from TikTok videos with structured author and engagement data.

Pricing

from $0.25 / 1,000 results

Rating

0.0

(0)

Developer

API ninja

API ninja

Maintained by Community

Actor stats

1

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

Share

What does TikTok Comments Scraper do?

TikTok Comments Scraper extracts public comments and reply threads from TikTok videos. Give it one or more TikTok video URLs or video IDs, choose how many comments and replies you want, and it will return a structured dataset with comment text, engagement metrics, author details, and thread relationships.

This Actor is built for people who need TikTok comment data without building their own scraper or maintaining pagination logic. It is suitable for no-code users, analysts, agencies, researchers, and developers who want a ready-to-use TikTok comments API-style workflow inside Apify.

Why use this TikTok comment scraper?

Use this Actor when you want to:

  • 💬 collect top-level TikTok comments from one video or many videos
  • 🧵 extract comment replies and keep parent-child thread relationships
  • 📊 analyze audience sentiment, engagement, and recurring discussion themes
  • 🔎 monitor reactions to creators, brands, campaigns, or viral posts
  • ⚙️ run scrapes on a schedule, via API, or as part of automations and integrations

Because it runs on Apify, you also get platform advantages:

  • run from the Apify Console or API
  • schedule recurring runs
  • export results as JSON, CSV, Excel, XML, or HTML
  • connect to webhooks, Make, Zapier, n8n, Google Sheets, and more
  • monitor runs, logs, and history in one place

What can this Actor extract from TikTok comments?

The dataset includes both comments and replies in one unified output table.

Data groupExample fields
Comment detailsid, text, createdAt, status, images
EngagementdiggCount, replyTotal
Thread structureitemType, parentCommentId
Video referencevideoId, sourceUrl, inputUrlOrId
Author detailsuser.id, user.nickname, user.uniqueId, user.region, user.avatar, user.verified, user.secret
Raw provider payloadOriginal nested response in data.raw

How to scrape TikTok comments

  1. Open the Input tab.
  2. Paste one or more TikTok video URLs or raw video IDs into searchUrls.
  3. Set commentsPerUrl if you want a limited number of top-level comments.
  4. Turn on scrapeAll if you want all available top-level comments.
  5. Set repliesPerComment if you want replies for each fetched comment.
  6. Turn on parseAllReplies if you want all available replies for each fetched comment.
  7. Run the Actor and download the dataset in your preferred format.

This Actor automatically handles:

  • comment pagination
  • reply pagination
  • retrying failed API calls
  • preserving comment-to-reply relationships

How much does it cost to scrape TikTok comments?

This Actor uses Apify’s usage-based pricing model, so the total cost depends mainly on:

  • how many videos you scrape
  • how many top-level comments you request
  • whether you also collect replies
  • how deep the reply threads go

The cheapest way to start is to use a small sample:

  • one or two TikTok videos
  • a limited commentsPerUrl
  • repliesPerComment set to 0 or a small number

If you need large-scale TikTok comment scraping, Apify makes it easier to estimate, monitor, and optimize usage over time. In general, top-level comments are cheaper to collect than full comment threads with replies, so enabling parseAllReplies will usually increase run cost.

Input example

TikTok Comments Scraper has the following input options. Open the Input tab for field descriptions and tooltips.

{
"searchUrls": ["https://www.tiktok.com/@tiktok/video/7093219391759764782", "7093219391759764782"],
"commentsPerUrl": 120,
"scrapeAll": false,
"repliesPerComment": 10,
"parseAllReplies": false
}

Input tips

  • Use full video URLs when possible for easier run tracking.
  • Use raw video IDs if that is what your upstream system already stores.
  • Set repliesPerComment to 0 if you only need top-level comments.
  • Use scrapeAll or parseAllReplies only when you really need full depth.

Output example

You can download the dataset extracted by TikTok Comments Scraper in formats such as JSON, CSV, Excel, XML, and HTML.

Each item contains a lightweight top-level envelope plus a nested data object. That keeps the dataset easier to work with while still preserving the original provider response in data.raw.

{
"sourceUrl": "https://www.tiktok.com/@tiktok/video/7093219391759764782",
"inputUrlOrId": "https://www.tiktok.com/@tiktok/video/7093219391759764782",
"videoId": "7093219391759764782",
"itemType": "comment",
"parentCommentId": null,
"data": {
"id": "7093507464444461850",
"text": "pliss verification in my account🥺",
"images": [],
"createTime": 1651585926,
"createdAt": "2022-05-03T12:32:06.000Z",
"diggCount": 11,
"replyTotal": 16,
"status": 1,
"user": {
"id": "6941564768987071490",
"uniqueId": "junn_kaa",
"nickname": "j⚡",
"region": "ID",
"avatar": "https://p16-common-sign.tiktokcdn-us.com/...",
"verified": false,
"secret": true
},
"raw": {
"id": "7093507464444461850",
"video_id": "7093219391759764782",
"text": "pliss verification in my account🥺"
}
}
}

FAQ

Does this Actor scrape TikTok replies too?

Yes. Set repliesPerComment to a value greater than 0, or enable parseAllReplies to collect full reply threads.

Does commentsPerUrl include replies?

No. commentsPerUrl limits top-level comments per video. Replies are controlled separately by repliesPerComment or parseAllReplies.

Can I use TikTok video IDs instead of URLs?

Yes. The Actor accepts both:

  • full TikTok video URLs
  • raw TikTok video IDs

Is this an official TikTok API?

No. This Actor is an independent scraping solution for collecting public TikTok comment data. It is useful when you need TikTok comment extraction without building and maintaining your own infrastructure.

Our scrapers are designed to collect publicly available data only. However, your output may still contain personal data, and your use of that data may be subject to GDPR and other privacy laws. You are responsible for making sure your use case is lawful and compliant with applicable regulations. If you are unsure, consult legal counsel.

Tips for better results

  • 🚀 Start with a small run before switching on full-depth scraping.
  • 🧠 If you only need sentiment or keyword analysis, top-level comments are often enough.
  • 💡 Use full reply scraping only for community, moderation, or conversation analysis.
  • 🔁 Schedule recurring runs if you want to monitor new comments on the same videos over time.
  • 📥 Use the Apify API or integrations if you want to send results directly into your pipeline.

If you need more TikTok data, you can also use:

Support

If you run into issues or want improvements:

  • check the Input and Output tabs first
  • review the run Logs for request and pagination details
  • use the API tab if you want to automate runs programmatically
  • open an issue or reach out through the Actor page if you want to suggest a feature or a custom variant

This README is intended to be the first place to check when something is unclear, especially around limits, reply scraping, and output structure.