Tiktok Comments Scraper avatar

Tiktok Comments Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Tiktok Comments Scraper

Tiktok Comments Scraper

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

Scrapium

Scrapium

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

A powerful Apify Actor that scrapes comments from TikTok videos with support for bulk URLs, usernames, and keywords. This actor provides comprehensive comment data including text, likes, replies, timestamps, and user information.

Why Choose Us?

  • Bulk Processing: Process multiple TikTok videos, usernames, or keywords in a single run
  • Smart Proxy Management: Automatic fallback from no proxy → datacenter → residential proxy with retry logic
  • Flexible Sorting: Sort comments by newest, oldest, or most liked
  • Comprehensive Data: Extract complete comment metadata including user profiles and engagement metrics
  • Reliable: Built-in retry logic and error handling for robust scraping

Key Features

  • ✅ Scrape comments from TikTok video URLs
  • ✅ Support for bulk input (URLs, usernames, keywords)
  • ✅ Configurable comment limits per video
  • ✅ Multiple sort orders (newest, oldest, most liked)
  • ✅ Automatic proxy fallback system
  • ✅ Detailed logging for monitoring progress
  • ✅ Structured JSON output format

Input

JSON Example

{
"postURLs": [
"https://www.tiktok.com/@mrbeast/video/7578547467189374239"
],
"commentsPerPost": 100,
"maxRepliesPerComment": 2,
"profiles": ["mrbeast"],
"resultsPerPage": 30,
"profileScrapeSections": ["videos", "reposts"],
"profileSorting": "latest",
"oldestPostDateUnified": null,
"newestPostDate": null,
"excludePinnedPosts": false,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Input Fields

  • postURLs (optional): Array of TikTok video URLs to scrape comments from. If provided, this takes priority over profiles.
  • commentsPerPost (optional, default: 100): Maximum number of comments to scrape per video (min 1)
  • maxRepliesPerComment (optional, default: 0): Maximum number of replies to fetch per comment (min 0)
  • profiles (optional): Array of TikTok usernames (without @) to scrape videos from
  • resultsPerPage (optional, default: 1): Number of videos per profile (1–1000000)
  • profileScrapeSections (optional, default: ["videos"]): Which sections to scrape from a profile ("videos", "reposts")
  • profileSorting (optional, default: "latest"): "latest", "oldest", or "popular"
  • oldestPostDateUnified (optional): "YYYY-MM-DD" or days ago ("1", "2", …) — only affects profile scraping
  • newestPostDate (optional): "YYYY-MM-DD" — only affects profile scraping
  • excludePinnedPosts (optional, default: false): Exclude pinned posts during profile scraping
  • proxyConfiguration (optional): Apify proxy settings. The actor tries no-proxy first and falls back to Apify proxy if blocked.

Output

JSON Example

[
{
"videoWebUrl": "https://www.tiktok.com/@mrbeast/video/7578547467189374239",
"submittedVideoUrl": "https://www.tiktok.com/@mrbeast/video/7578547467189374239",
"input": "https://www.tiktok.com/@mrbeast/video/7578547467189374239",
"cid": "7578605549794034443",
"createTime": 1732995615,
"createTimeISO": "2025-11-30T19:40:15.000Z",
"text": "mr beast are you ok ?",
"diggCount": 7633,
"likedByAuthor": false,
"pinnedByAuthor": false,
"repliesToId": null,
"replyCommentTotal": 100,
"uid": "7516601022924489733",
"uniqueId": "amin.hrizi4",
"avatarThumbnail": "https://p16-sign-va.tiktokcdn.com/...",
"mentions": [],
"detailedMentions": [],
"replies": []
}
]

Output Fields

  • videoWebUrl: Canonical URL of the video
  • submittedVideoUrl: Canonical URL of the video (same as videoWebUrl)
  • input: The input URL used for scraping (same as videoWebUrl / submitted URL)
  • cid: Comment ID
  • createTime / createTimeISO: Comment creation timestamp (unix + ISO)
  • text: Comment text
  • diggCount: Comment likes
  • likedByAuthor / pinnedByAuthor: Flags from TikTok API
  • repliesToId: Parent comment id (null for top-level)
  • replyCommentTotal: Total replies count reported by API
  • uid / uniqueId / avatarThumbnail: Commenter info
  • mentions / detailedMentions: Mentions extracted from text and text_extra
  • replies: Array of reply objects (same shape as comments, without nested replies)

🚀 How to Use the Actor (via Apify Console)

  1. Log in at https://console.apify.com and go to Actors
  2. Find your actor (tiktok-comments-scraper) and click it
  3. Configure inputs:
    • Add TikTok video URLs in the startUrls field
    • Set maxComments to limit comments per video
    • Choose sortOrder (newest, oldest, or most_liked)
    • Configure proxy settings if needed
  4. Run the actor
  5. Monitor logs in real time
  6. Access results in the OUTPUT tab
  7. Export results to JSON or CSV

Best Use Cases

  • Social Media Analysis: Analyze engagement and sentiment in TikTok comments
  • Content Research: Gather feedback and reactions to specific videos
  • Market Research: Understand audience responses to branded content
  • Trend Analysis: Track comment patterns and popular discussions
  • Community Monitoring: Monitor comments for specific topics or keywords

Frequently Asked Questions

Q: How many comments can I scrape per video?
A: You can scrape up to 10,000 comments per video. Set the maxComments parameter to your desired limit.

Q: What happens if TikTok blocks my requests?
A: The actor automatically falls back through proxy options: no proxy → datacenter proxy → residential proxy with 3 retries each.

Q: Can I scrape comments from multiple videos at once?
A: Yes! Add multiple URLs to the startUrls array to process them in a single run.

Q: How are comments sorted?
A: You can choose from three sort orders: "newest" (default), "oldest", or "most_liked".

Q: Is the data real-time?
A: The data reflects the comments available at the time of scraping.

Support and Feedback

For issues, questions, or feedback, please contact support through the Apify platform.

Cautions

  • Data is collected only from publicly available sources
  • No data is taken from private accounts or password-protected content
  • The end user is responsible for ensuring legal compliance (spam laws, privacy, data protection, etc.)
  • Respect TikTok's Terms of Service and rate limits