TikTok Comments Scraper
Pricing
from $0.29 / 1,000 comment scrapeds
TikTok Comments Scraper
Export public TikTok video comments with author details, likes, reply counts, timestamps, and stable IDs for research, moderation, and analysis.
Pricing
from $0.29 / 1,000 comment scrapeds
Rating
0.0
(0)
Developer
Fetch Cat
Maintained by CommunityActor stats
0
Bookmarked
15
Total users
3
Monthly active users
a day ago
Last modified
Categories
Share
Export public TikTok comments and optional replies into structured rows for research, moderation and audience analysis. This TikTok comments scraper returns comment text, public author details, likes, timestamps and source IDs without a TikTok login. Results depend on the comments TikTok makes available, and complete coverage is not guaranteed.
Quick start
- Open the input form and paste a full public TikTok video or photo URL.
- Start with a small comment limit and leave replies off unless you need them.
- Run the Actor, then open its dataset to review and export the available rows.
{"videoUrls": ["https://www.tiktok.com/@scout2015/video/6718335390845095173"],"maxCommentsPerVideo": 20,"includeReplies": false}
Prefer a video guide? This short Apify walkthrough shows you how to set up and run an Actor. It uses a different Actor, but the setup steps are the same.
Ready-to-run examples
Choose an example to start with a small, preconfigured input.
- Scrape TikTok video comments — Collect up to 20 top-level comments from one example post.
- Extract TikTok comments and replies — Collect up to 20 top-level comments and up to five replies per parent.
- Build a TikTok comment dataset — Collect up to 100 top-level comments for downstream analysis.
These examples use an existing public post. Its current availability and returned comment count can change.
What you get
- Comment records: Text, stable identifiers, public author details and engagement counts when available.
- Optional replies: Separate rows linked to the parent comment.
- Consistent exports: All 19 output keys are present on each saved row, with missing source fields identified.
- Multiple posts: Collect from several supplied URLs while preserving rows already saved if another target fails.
Who is it for?
- Social media teams: Review audience reactions and recurring brand mentions.
- Researchers and analysts: Build structured discussion datasets for their own sentiment analysis.
- Marketing teams: Compare reactions to campaign or competitor posts.
- Community managers: Review highly liked comments and linked reply threads.
- Journalists and archivists: Collect available public discussion around specific posts.
Input settings
| Setting | Default | Purpose |
|---|---|---|
TikTok post URLs or IDs (videoUrls) | Required | Full public video/photo URLs or numeric post IDs |
Maximum comments per post (maxCommentsPerVideo) | 20 | Top-level comments per post, 1–10,000 |
Include replies (includeReplies) | false | Save replies as linked rows |
Maximum replies per comment (maxRepliesPerComment) | 20 | Replies per parent, 0–1,000 |
Concurrent posts (maxConcurrency) | 1 | Process 1–3 posts at once |
Request timeout (requestTimeoutSecs) | 30 | Per-request timeout, 10–120 seconds |
Proxy configuration (proxyConfiguration) | Not supplied | Optional existing Apify or custom proxy settings |
Leave proxy settings unset for direct access. Configured proxies are used for the selected posts. There is no Automatic connection option.
Input recipes
For a small reply sample, add these options to the Quick start input:
{"videoUrls": ["https://www.tiktok.com/@scout2015/video/6718335390845095173"],"maxCommentsPerVideo": 20,"includeReplies": true,"maxRepliesPerComment": 5}
Add more full post URLs to videoUrls to collect from several posts. Numeric post IDs are also accepted. Short redirect-only links are not supported.
Output data
The following is a synthetic shape-only example, not a captured TikTok comment or proof of extraction. Missing author fields and timestamps can be null.
{"commentId": "example-comment-id","text": "Example public comment text","authorUsername": null,"authorName": null,"authorId": null,"authorAvatarUrl": null,"likeCount": 0,"replyCount": 0,"createdAt": null,"isReply": false,"parentCommentId": null,"videoId": "6718335390845095173","videoUrl": "https://www.tiktok.com/@scout2015/video/6718335390845095173","fetchedAt": "2026-10-25T00:00:00.000Z","sourceSessionId": "example-session-id","extractionStatus": "partial","missingFields": ["user.unique_id","user.nickname","user.uid","create_time"],"isPinned": false,"commentLanguage": null}
| Field | Description |
|---|---|
commentId | TikTok comment identifier |
text | Comment text |
authorUsername | Public TikTok username |
authorName | Public display name |
authorId | Public author identifier |
authorAvatarUrl | Public avatar URL |
likeCount | Comment likes |
replyCount | Number of replies reported by TikTok |
createdAt | ISO 8601 publication time |
isReply | Whether the row is a reply |
parentCommentId | Parent ID for reply rows, otherwise null |
videoId | Source post identifier |
videoUrl | Source URL supplied in input |
fetchedAt | ISO 8601 collection time |
sourceSessionId | Session identifier useful for run diagnostics |
extractionStatus | ok or partial |
missingFields | Source fields unavailable on this row |
isPinned | Whether TikTok marks the comment as pinned |
commentLanguage | Language code when TikTok supplies one |
All 19 keys are present on every saved row. Replies are separate rows so exports remain easy to filter and join.
Download your results
Open your run's dataset, choose Export and select JSON, CSV or Excel. JSON keeps nested fields together. CSV and Excel are useful when you want to review the records in a spreadsheet.
See Apify's download and export guide for the available formats and field options.
Pricing
This Actor uses pay-per-event pricing. Run started (start) is charged once after the input is validated and scraping work begins.
Comment scraped (comment-scraped) is charged for each saved comment or reply row, including partial records. Failure details are not saved as charged comment rows. The start charge can still apply when no comments are returned.
See the live Pricing tab for current rates and discounts.
Tips for best results
- Start with a small sample. Try 20 top-level comments before requesting more.
- Keep reply limits modest. Replies add rows beyond the top-level comment limit.
- Use full post URLs. Avoid shortened links and profile pages.
- Deduplicate repeat exports. Use
commentIdwithvideoIdwhen combining results across runs. - Review missing fields. Use
extractionStatusandmissingFieldsbefore drawing conclusions from incomplete records.
Limits and caveats
- Public posts only. No login, private account access or cookie input is provided.
- Requested counts are maximums, not guarantees. TikTok can filter or remove comments and restrict access.
- Posts explicitly reported unavailable by TikTok, or with a verified zero comment count, complete without comment rows.
OUTPUT_SUMMARY.outcomesrecordsPOST_UNAVAILABLEorNO_COMMENTS_FOUNDper post. An access failure alone does not establish that a post is private or deleted; unknown responses and blocking remain failures. - Replies can increase output size and collection time. No chronological or most-liked sorting control is exposed.
- A run with only failed targets can fail even when its dataset is empty. Rows already saved remain available.
- The scraper returns comments and metadata. It does not perform sentiment analysis or discover all posts belonging to a profile.
Automation and integrations
Save your settings for next time
Once you have an input that works for you, save it as an Apify task. This keeps your settings together so you can use them again without filling in the form from scratch.
Run on a schedule
Need fresh results regularly? You can schedule the Actor or a saved task to run at a time that suits you.
Each scheduled run collects the data again. If you want to compare results or highlight changes, add that step in your own workflow.
Send results to your other tools
Use n8n, Make or Zapier to connect this scraper to the rest of your workflow. For example, you could pass its results to an AI assistant or add records to a spreadsheet. Follow the Apify integration guides for your chosen tool.
For a custom connection, an Apify webhook can notify your app when a run finishes or fails. Your app can then fetch the results or handle the failure.
API usage
Want to collect this data from your own app or automation? The examples below send input to the scraper and show how to collect its results.
The Node.js and Python examples wait for the run to finish before reading its results. The cURL example starts the run and returns its details. Wait for that run to finish, then use its defaultDatasetId to fetch the results.
For setup instructions, see Apify's JavaScript client guide, Python client guide and Actor runs API reference.
cURL
curl -X POST 'https://api.apify.com/v2/acts/fetch_cat~tiktok-comments-scraper/runs' \-H "Authorization: Bearer $APIFY_TOKEN" \-H 'Content-Type: application/json' \-d '{"videoUrls":["https://www.tiktok.com/@scout2015/video/6718335390845095173"],"maxCommentsPerVideo":20}'# After completion, use defaultDatasetId from the returned run:curl "https://api.apify.com/v2/datasets/$DATASET_ID/items?format=json" \-H "Authorization: Bearer $APIFY_TOKEN"
Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('fetch_cat/tiktok-comments-scraper').call({videoUrls: ['https://www.tiktok.com/@scout2015/video/6718335390845095173'],maxCommentsPerVideo: 20,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python
import osfrom apify_client import ApifyClientclient = ApifyClient(token=os.environ['APIFY_TOKEN'])run = client.actor('fetch_cat/tiktok-comments-scraper').call(run_input={'videoUrls': ['https://www.tiktok.com/@scout2015/video/6718335390845095173'],'maxCommentsPerVideo': 20,})for item in client.dataset(run['defaultDatasetId']).iterate_items():print(item)
MCP and AI agents
You can ask your AI assistant to collect data with TikTok Comments Scraper and help you work with the results. The scraper returns the data, and your assistant can then summarize it, compare records or prepare notes.
Connect your assistant through the Apify MCP server. MCP gives your assistant a way to find this scraper, run it and read the results. Follow the official setup and sign-in guide for your app.
Easier setup with an Apify plugin
If you use a supported coding assistant, the official Apify plugin can set up the connection for you. It connects your assistant to Apify and includes instructions for common tasks. Follow the guide for your particular app.
Use Apify AI in Console
Prefer to keep everything in Apify? Open Apify AI in Console and ask it to find Fetch Cat's TikTok Comments Scraper. You can describe the data you want and ask questions about the results.
Apify AI is currently in beta. It asks for confirmation before starting an Actor, and normal run charges apply.
Choose your assistant
- Claude and Claude Code (Anthropic): Apify setup guide.
- ChatGPT and Codex (OpenAI): Apify setup guides.
- Grok Bot (xAI): Apify plugin guide.
- Gemini CLI (Google): MCP server setup guide. Use the server URL below with the HTTP configuration supported by Gemini CLI.
Connect just this scraper
To keep your setup focused on this scraper, add this server configuration to a compatible MCP client:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=fetch_cat/tiktok-comments-scraper"}}}
Sign in to Apify when your client asks. If your client uses a Bearer token instead, follow its setup guide and keep the token in its secure configuration. Configuration formats vary by app, so use the linked guide if your client needs a different format.
Use Apify's general server
Already connected to the general Apify MCP server at https://mcp.apify.com? You can use it to find this scraper without adding another server. Ask your assistant to use TikTok Comments Scraper by Fetch Cat, or give it the identifier fetch_cat/tiktok-comments-scraper.
Your assistant can check the available settings and retrieve the results from the returned run. If the run is still working, it should follow that run rather than start it again. Both connection options use Apify's hosted service.
Example requests
- "Collect up to 20 public comments from this TikTok video and summarize the main reactions."
- "Get comments and up to five replies per comment from these TikTok posts, then group the discussion by parent comment."
- "Export up to 100 comments per post from these public TikTok URLs and prepare a spreadsheet of text, likes and timestamps."
Normal Apify charges apply. Check the live Pricing tab before asking your assistant to run a larger batch.
Pay with x402
If your AI agent has a funded wallet, it can pay for Apify usage through x402. This experimental option lets an agent use Apify without a conventional account.
Apify AGI provides a prepaid API token with a spending cap after payment. Your agent can use that token to run this scraper through the Apify API or an authenticated MCP connection.
Some MCP setups also support paying for each request directly. That is a different payment option, so check the official guide for its availability.
Follow the official guide for wallet setup, supported payment options and current terms. Apify handles the payments. Keep wallet keys and payment tokens in your agent's secure configuration.
Other ways for agents to pay
Apify also supports MPP for prepaid access through AGI and Skyfire for eligible Actors. If your agent already uses one of these, see the agentic payment guide to choose the right setup.
FAQ
How can I export TikTok comments to CSV or Excel?
Supply full post URLs or numeric post IDs, run the scraper and export the dataset. JSON is useful when you want to retain arrays such as missingFields.
Can I use it as a TikTok comments API?
Yes. Use the Apify API examples above. This is a scraper for available public comments, not an official TikTok API or a guarantee of complete coverage.
Does it collect replies and comment authors?
Enable includeReplies for linked reply rows. Public author fields are returned when supplied by TikTok and can otherwise be null.
Why did I receive fewer comments than requested?
The input limit is a maximum. TikTok may expose fewer public comments or restrict access. Check the run status and available results rather than assuming an empty dataset proves that comments do not exist.
Can I process several posts or repeat the collection later?
Yes. Add several post URLs to videoUrls and save a task for reuse. Each run collects data again. Comparisons, alerts and sentiment analysis belong in your own workflow.
Does this require a TikTok login?
No. This Actor uses public targets without a TikTok login. Apify API calls still require the platform authentication described above.
Related Actors
- TikTok Video Scraper — Collect public TikTok video metadata and available engagement from known full video URLs.
- TikTok Profile Scraper — Collect public TikTok profile details, aggregate counts and available recent video summaries.
- TikTok Hashtag Scraper — Collect metadata for available public TikTok hashtag-feed videos, without downloading video files.
- TikTok Search Results Scraper — Collect public TikTok keyword video-search metadata and query attribution.
- TikTok User Search Scraper — Collect public TikTok creator-profile search records and available account statistics for supplied keywords.
Support and feedback
For custom additions or integrations, email hello@fetchcat.dev.
Found an error or have a feature request? Open an issue with the run URL, a non-sensitive input example and what you expected.
Need help sharing it? See Apify’s guide to sharing a run when reporting an issue. Sharing a run can give the developer access to its input, logs and results, so use a run that contains no sensitive data. Please leave out API tokens, passwords, cookies, private documents and personal data. Use a public sample URL or a redacted example instead.
Tried this scraper? We'd love to hear how it worked for you. Leave a review from the Actor page to help others choose the right tool and help us improve it. Your feedback means a lot to us.
Made with care for curious people, AI agents and the possibilities in data. ♥