TikTok Comments Scraper
Pricing
from $2.00 / 1,000 scraped tiktok comment records
TikTok Comments Scraper
Collects comment text, comment ID, username, nickname, profile avatar, likes, reply count, and posting date. Supports configurable comment limits, pagination, duplicate filtering, automatic retries, Residential Proxy, and structured Apify Dataset output.
Pricing
from $2.00 / 1,000 scraped tiktok comment records
Rating
0.0
(0)
Developer
Data Pilot
Maintained by CommunityActor stats
0
Bookmarked
4
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
💬 TikTok Comments Scraper is a powerful Apify Actor designed to discover, extract, and collect public TikTok Comments from any TikTok video URL. This tool provides comprehensive TikTok Comments intelligence including commenter username, nickname, avatar, comment text, like count, reply count, and post timestamp for every comment on a video. Whether you're building a sentiment-analysis pipeline, tracking audience engagement, or conducting social media research, the TikTok Comments Scraper delivers actionable TikTok Comments insights efficiently.
With direct TikWM comment API integration, cursor-based pagination, deduplication, and reliable Apify Dataset delivery, the TikTok Comments Scraper ensures comprehensive TikTok Comments coverage for any public video. It focuses on key TikTok Comments signals including text, likes, replies, and commenter identity, making it an essential tool for engagement research and audience intelligence.
📋 Table of Contents
- Features
- Data Source
- How It Works
- Input
- Output
- Technical Stack
- Data Fields
- Use Cases
- Quick Start
- Configuration
- Performance
- Billing
- Important Notes
- License & Legal
🔥 Features
- TikWM Comment API Integration – Direct integration with the TikWM comment endpoint for reliable TikTok Comments retrieval without needing a browser.
- URL Normalization – Cleans and extracts a valid TikTok video link from any pasted URL format.
- Video ID Extraction – Parses the numeric video ID directly from the URL as a fallback identifier.
- Cursor-Based Pagination – Automatically pages through TikTok Comments using the API's cursor system until the requested count is reached.
- Deduplication – Tracks seen comment IDs to avoid duplicate TikTok Comments across pages.
- Configurable Comment Limit – Control exactly how many TikTok Comments to collect per run via
maxComments. - Rich Commenter Metadata – Captures username, nickname, avatar, likes, and reply count for every comment.
- Human-Readable Timestamps – Converts raw Unix timestamps into readable posted-at dates.
- Residential Proxy Support – Apify residential proxy for reliable TikTok Comments access.
- Rate-Limit & Retry Handling – Automatically retries on 429/503 responses with exponential backoff.
- Pay-Per-Event Charging – Charges per successfully saved TikTok Comments record, with automatic stop at the user's spending limit.
- Real-Time Dataset Push – Pushes each TikTok Comments record to Apify Dataset as it's collected.
- Detailed Logging – Comprehensive per-comment and per-page progress logging.
📊 Data Source
TikWM Public Comment API
- Authority: TikWM, a third-party public API mirroring TikTok's comment data
- Endpoint:
tikwm.com/api/comment/list - Coverage: Any public TikTok video's comment section
- Data: Comment text, commenter identity, likes, replies, and post time
- Access: Public JSON endpoint accessed via browser-impersonated requests
- Update Frequency: Reflects each video's live TikTok Comments at time of run
⚙️ How It Works
The TikTok Comments Scraper accepts a single TikTok video URL, cleans and normalizes it, then queries the TikWM comment API in pages using a cursor-based pagination system. Each returned comment is parsed into a structured record capturing the commenter's identity, comment text, engagement figures, and post time. Comments are deduplicated by ID as they're collected, and each successfully parsed TikTok Comments record is charged as one pay-per-event unit and pushed to the Apify Dataset immediately. Pagination continues until the requested comment count is reached, the API reports no further comments, or the user's spending limit is hit.
Key Processing Steps:
- Input Parsing – Accept a TikTok video URL and a maximum comment count
- URL Cleaning – Normalize the input into a valid TikTok video link
- Proxy Setup – Configure Apify residential proxy
- Session Init – Create a Chrome-impersonated HTTP session for reliable API access
- Pagination Loop – Request successive pages of TikTok Comments using the API cursor
- Comment Parsing – Extract commenter identity, text, likes, replies, and timestamp per comment
- Deduplication – Skip any comment ID already seen in this run
- PPE Charging – Charge one event per successfully saved comment
- Dataset Push – Push each TikTok Comments record immediately after charging
- Spending Limit Check – Stop the run automatically if the charge limit is reached
- Rate Limiting – Apply a short delay between comment page requests
- Summary Logging – Report the total comments extracted and events charged
Key Benefits:
- Pull TikTok Comments for any public video without manual scrolling
- Analyze audience sentiment and engagement at scale
- Identify top commenters and highly liked replies
- Feed sentiment-analysis pipelines, moderation tools, or research dashboards
- Automate recurring TikTok Comments checks as new comments are posted
📥 Input
The Actor accepts the following input parameters:
| Field | Type | Default | Description |
|---|---|---|---|
postUrl / url | string | (required) | The TikTok video URL to extract TikTok Comments from. |
maxComments | integer | 50 | Maximum number of TikTok Comments to collect. |
proxyConfiguration | object | {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]} | Apify Proxy configuration. |
Example Input:
{"postUrl": "https://www.tiktok.com/@someuser/video/1234567890123456789","maxComments": 100,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
Fetch a Small Sample of TikTok Comments:
{"url": "https://www.tiktok.com/@someuser/video/1234567890123456789","maxComments": 20}
Fetch a Large Batch of Comments:
{"postUrl": "https://vm.tiktok.com/ZM8abcXYZ/","maxComments": 500}
📤 Output
The Actor pushes TikTok Comments records with the following structure:
| Field | Type | Description |
|---|---|---|
video_url | string | The cleaned TikTok video URL this comment belongs to |
comment_id | string | Unique identifier for the comment |
user_name | string | Commenter's unique username/handle |
nickname | string | Commenter's display nickname |
user_avatar | string | URL of the commenter's profile avatar |
text | string | Full text of the comment |
likes | integer | Number of likes on the comment |
replies_count | integer | Number of replies to the comment |
posted_at | string | Human-readable timestamp of when the comment was posted |
scraped_at | string | ISO 8601 timestamp of when the record was scraped |
Example TikTok Comments Record:
{"video_url": "https://www.tiktok.com/@someuser/video/1234567890123456789","comment_id": "7123456789012345678","user_name": "commenter123","nickname": "Comment King","user_avatar": "https://p16-sign.tiktokcdn.com/...","text": "This is amazing! 🔥","likes": 342,"replies_count": 12,"posted_at": "2026-08-10 14:23:05","scraped_at": "2026-08-17T09:00:00+00:00"}
🧰 Technical Stack
- HTTP Client:
curl_cffiwith Chrome TLS fingerprint impersonation for reliable TikTok Comments API access - API: TikWM public comment endpoint (JSON format)
- Pagination: Cursor-based pagination handling for continuous TikTok Comments retrieval
- Date Handling:
datetimewith timezone-aware UTC timestamps - Async:
asynciowith executor-run blocking requests for non-blocking comment page fetching - Proxy: Apify Proxy with
RESIDENTIALconfiguration - Billing: Apify Pay-Per-Event (
Actor.charge) per successfully saved comment - Logging: Apify Actor logging system
- Platform: Apify Actor serverless environment
📊 Data Fields Explained
Identification
- comment_id / video_url: The unique comment ID and the video it belongs to
Commenter Identity
- user_name / nickname / user_avatar: The handle, display name, and profile picture of the person who left the comment
Engagement & Timing
- text: The full content of the TikTok Comments entry
- likes / replies_count: Engagement metrics for the comment
- posted_at / scraped_at: When the comment was originally posted and when it was scraped
🎯 Use Cases
- Sentiment Analysis – Analyze audience reaction and tone across TikTok Comments
- Engagement Research – Identify the most-liked and most-replied-to comments on a video
- Brand Monitoring – Track what audiences are saying about branded or sponsored content
- Community Management – Surface comments that need moderation or a response
- Influencer Reporting – Provide comment-level engagement data alongside video performance
- Academic Research – Study public discourse patterns on TikTok at scale
- Competitive Analysis – Compare audience reception across competing creators' videos
- OSINT Research – Gather publicly available TikTok Comments data for investigations
🚀 Quick Start
1. Prepare Input
Go to Apify Console and enter:
{"postUrl": "https://www.tiktok.com/@someuser/video/1234567890123456789","maxComments": 100}
2. Run the Actor
Click Start. The Actor will:
- Clean and normalize the provided TikTok video URL
- Page through the video's comment section via the TikWM API
- Deduplicate and parse each comment into a structured record
- Push and charge for each successfully collected comment
3. Monitor Progress
Console shows:
🚀 Fetching comments for TikTok Video: https://www.tiktok.com/@someuser/video/1234567890123456789✅ [CHARGED] Comment saved | User: @commenter123 | Likes: 342 | Text: This is amazing! 🔥 | Event: 'result-scrape' | Total charged so far: 1Progress: 50/100🎉 Complete! Successfully extracted 100 TikTok comments. 100 'result-scrape' event(s) charged.
4. View & Download Results
- Results Tab: All TikTok Comments records
- Export: JSON, CSV, Excel, or HTML
- Filter: By likes, replies, or commenter
- API Access: Available via the Apify API
⚙️ Configuration
Small sample:
{"postUrl": "https://www.tiktok.com/@someuser/video/1234567890123456789","maxComments": 20}
Large batch with proxy:
{"postUrl": "https://www.tiktok.com/@someuser/video/1234567890123456789","maxComments": 500,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
Short-link input:
{"url": "https://vm.tiktok.com/ZM8abcXYZ/","maxComments": 50}
📈 Performance
Processing Speed
- One API request per page of up to 50 TikTok Comments
- 0.4 second delay between page requests to reduce blocking
- Scales with the number of comments requested via
maxComments
Resource Usage
- Memory: Low, since no browser instance is launched
- Network: One request per comment page, plus retries on transient errors
- Proxy: One residential proxy tunnel shared across the session for the run
💰 Billing
Pay-Per-Event (PPE) Billing
- Billing Model: Pay-Per-Event — one
result-scrapeevent charged per successfully saved comment - Typical Cost: Proportional to the number of TikTok Comments actually collected and pushed
- Spending Protection: The Actor automatically stops once the user's configured maximum charge limit is reached
⚠️ Important Notes
Legal & Compliance
- Fair Use: Respects the TikWM public API and applies pacing delays between requests
- Public Data Only: Retrieves only publicly visible TikTok Comments on public videos
- Privacy: Collecting commenter data may be subject to privacy regulations and TikTok's Terms of Service — use only for legitimate purposes
- Legal: Not legal advice — consult qualified professionals before using this data for compliance-sensitive decisions
Data Quality
- Freshness: Reflects each video's live TikTok Comments at time of run
- Completeness: Videos with comments disabled or restricted will return no data
- Accuracy: Sourced via the TikWM third-party API, which mirrors TikTok's public comment data
- Verification: Cross-check high-stakes figures against the live TikTok app
Best Practices
- Always configure a residential proxy for the most reliable TikTok Comments access
- Set
maxCommentsto a reasonable value for your spending limit before running large batches - Use the full video URL when possible for the most reliable identification
- Re-run periodically to capture new comments posted after your last run
- Monitor the console log for spending-limit warnings on large comment pulls
📄 License & Legal
Terms of Use:
- Use for legitimate research, moderation, and analytics purposes
- Respect TikTok's Terms of Service and the TikWM API's usage terms
- Do not use for unsolicited contact, harassment, or unlawful surveillance
- Use TikTok Comments data responsibly and in compliance with applicable privacy laws
Disclaimer: TikTok Comments Scraper is provided as-is for research and analytics purposes. Users are responsible for compliance with TikTok's ToS and all applicable laws. This is not legal advice.
⚖️ TikTok Comments Excellence
This Actor is optimized for TikTok Comments research with:
- ✅ Cursor-based pagination for complete coverage
- ✅ Rich commenter identity and engagement metadata
- ✅ Deduplication across paginated results
- ✅ Rate-limit-aware retry logic
- ✅ Pay-Per-Event billing with spending-limit protection
- ✅ Production-ready code