TikTok Comments Scraper - Replies & Authors avatar

TikTok Comments Scraper - Replies & Authors

Pricing

from $1.00 / 1,000 comments

Go to Apify Store
TikTok Comments Scraper - Replies & Authors

TikTok Comments Scraper - Replies & Authors

Scrape public TikTok video comments with replies, authors, likes, timestamps, pinned status, language, and source video URL. Provider-backed, no login or cookies required. MCP-ready and priced at $0.001 per top-level comment.

Pricing

from $1.00 / 1,000 comments

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

12

Total users

2

Monthly active users

3 hours ago

Last modified

Share

TikTok Comments Scraper

Scrape public TikTok video comments with nested replies, author metadata, likes, language, pinned status, timestamps, and source video links. The actor is provider-backed with ScrapeCreators first and SociaVault fallback, so it does not need TikTok login cookies, browser sessions, or user-managed proxies.

What It Extracts

One dataset row is one top-level TikTok comment. Replies are nested under that parent row so sentiment tools, spreadsheets, and AI agents keep the full conversation together.

FieldDescription
comment_idUnique TikTok comment ID
video_idTikTok video or aweme ID
video_urlPublic TikTok video URL
textComment text
author_usernameCommenter username
author_nicknameCommenter display name
author_idCommenter numeric TikTok user ID
author_sec_uidCommenter secUid when returned
author_avatar_urlCommenter avatar URL
like_countLikes on the comment
reply_countTotal replies reported for the comment
is_pinnedWhether the video author pinned the comment
languageDetected comment language code
created_atComment creation timestamp
repliesNested reply objects with text, author, likes, and timestamps
providerProvider used for the row
scraped_atTime the actor saved the row

When To Use

Use this actor for:

  • TikTok sentiment analysis by video URL
  • Brand monitoring and creator campaign analysis
  • Influencer vetting from real audience replies
  • Voice-of-customer research from public comment sections
  • AI and BI pipelines that need one clean comment dataset
  • Collecting reply threads without building a TikTok session stack

Do not use this actor for profile scraping, hashtag search, TikTok Shop reviews, transcripts, follower lists, private videos, or login-gated data. Use the matching TikTok actors in this portfolio for those workflows.

Input

{
"postURLs": [
"https://www.tiktok.com/@stoolpresidente/video/7623818255903329566"
],
"maxCommentsPerPost": 100,
"includeReplies": true,
"maxRepliesPerComment": 20,
"maxTotalComments": 10000,
"providerOrder": "scrapecreators-first"
}

Important Inputs

InputDefaultNotes
postURLsexample URLPublic TikTok video URLs to scrape
maxCommentsPerPost100Top-level comments per video. Set 0 for all available pages up to maxPagesPerPost
maxTotalComments10000Run-wide spend and volume cap
includeRepliestrueFetch nested replies under each comment
maxRepliesPerComment20Set 0 for all available replies up to maxReplyPagesPerComment
maxPagesPerPost25Comment pagination safety cap
maxReplyPagesPerComment10Reply pagination safety cap
providerOrderscrapecreators-firstProvider routing for diagnostics or fallback
trimfalseKeep full provider fields by default so reply threads have stable parent comment IDs
includeRawDatafalseAttach raw provider payloads for debugging

Output Example

{
"comment_id": "7623874021293212447",
"video_id": "7623818255903329566",
"video_url": "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566",
"text": "Brilliant",
"author_username": "katylynnm",
"author_nickname": "Katy",
"author_id": "6813803505255154693",
"author_sec_uid": "MS4wLjABAAAAGQCGrZCPx6snYndsBtuAIif17vTOTEfDZ9qd",
"like_count": 3,
"reply_count": 4,
"is_pinned": false,
"language": "en",
"created_at": "2026-04-02T21:25:25.000Z",
"replies": [
{
"reply_id": "7626007039458755350",
"parent_comment_id": "7623874021293212447",
"text": "oh, I liked it",
"author_username": "kryptobuddy2",
"author_nickname": "Carl Gauss",
"like_count": 0,
"created_at": "2026-04-09T07:35:45.000Z",
"provider": "scrapecreators"
}
],
"provider": "scrapecreators",
"provider_page": 1,
"result_position": 1,
"scraped_at": "2026-07-09T12:00:00.000Z",
"source_url": "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566"
}

Pricing

This actor uses pay-per-event pricing.

EventPrice
Actor start$0.00005
Top-level TikTok comment saved$0.001

Nested replies are included inside each top-level comment row and are not charged as separate comment events. At the start of each run, the status message shows the approximate maximum cost from your input caps.

Reliability

The actor uses managed public-data providers:

  1. ScrapeCreators for the primary TikTok comments and replies route.
  2. SociaVault as fallback when the primary route errors, rate-limits, or returns no usable page.

The run writes OUTPUT and RUN_SUMMARY records with provider attempts, status codes, pages fetched, rows saved, replies saved, credits used, stop reason, and estimated PPE cost.

API Example

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('khadinakbar/tiktok-video-comments-scraper').call({
postURLs: ['https://www.tiktok.com/@stoolpresidente/video/7623818255903329566'],
maxCommentsPerPost: 50,
includeReplies: true,
maxRepliesPerComment: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

MCP And AI Agents

This actor is exposed through Apify MCP as khadinakbar/tiktok-video-comments-scraper. It is best for agents that need public TikTok comment rows from known video URLs. It returns compact, structured records and a machine-readable RUN_SUMMARY so agents can reason about empty results, provider fallback, and cost caps.

Limits

  • Public TikTok videos only.
  • No private videos, login-gated content, or hidden profile data.
  • Provider availability can affect very large or region-sensitive videos.
  • maxCommentsPerPost: 0 means all available pages up to maxPagesPerPost, not unlimited spend.
  • Use maxTotalComments to cap total billed top-level comments across batches.

Use this actor only for public TikTok content you are allowed to access and process. You are responsible for complying with TikTok's Terms of Service, privacy laws, data protection rules, and any platform or jurisdiction-specific requirements. This actor does not access private accounts or login-gated content.