TikTok Comments Scraper — Text, Likes, Replies & Users avatar

TikTok Comments Scraper — Text, Likes, Replies & Users

Pricing

Pay per usage

Go to Apify Store
TikTok Comments Scraper — Text, Likes, Replies & Users

TikTok Comments Scraper — Text, Likes, Replies & Users

Scrape TikTok comments from any video or photo URL: text, likes, reply threads and commenter profiles (username, region, avatar). Browser-based, no signing keys or TikTok login. Export JSON/CSV.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Hasnain Nisar

Hasnain Nisar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Share

TikTok Comments Scraper — Text, Likes, Replies & Commenter Data

Scrape TikTok comments from any video or photo URL — comment text, like counts, reply threads, and commenter profiles (username, region, avatar). Export to JSON or CSV, or pull results via the Apify API. No TikTok API keys, no request-signing to maintain.

✨ What it does

Give it one or more TikTok post URLs and get back structured comment data:

  • 💬 Comment text — the full comment body (emoji included)
  • ❤️ Like count per comment
  • 🧵 Reply threads — optional nested replies, linked to their parent comment
  • 👤 Commenter profile — username, display name, profile URL, avatar, region
  • 🕒 Timestamp — ISO 8601 createdAt for every comment
  • 📌 Author-liked / pinned flags where available

🔧 How it works

TikTok signs its internal comment API (X-Bogus / msToken), so a plain HTTP request returns nothing. Instead of reverse-engineering and constantly re-patching that signing, this Actor opens the real video page in a headless browser and lets TikTok's own JavaScript issue the signed request — it simply intercepts the response. That makes it resilient to signing changes, and scrolling the page naturally paginates to more comments.

⚠️ Important: use a session or residential proxies

TikTok shows a "Log in" wall to untrusted IP addresses and will not load comments without a trusted session. For reliable results, provide either:

  1. sessionCookies — cookies exported from a signed-in TikTok browser session (use a Cookie-Editor browser extension → export as JSON → paste as an array of {name, value}), and/or
  2. Residential proxies — set proxyConfiguration to the RESIDENTIAL group.

On datacenter IPs with no session you will get a Log in wall and zero comments — that is TikTok's block, not an Actor bug.

📥 Input

{
"startUrls": ["https://www.tiktok.com/@user/video/7660060335751089430"],
"maxItems": 200,
"includeReplies": false,
"sessionCookies": [
{ "name": "sessionid", "value": "..." },
{ "name": "tt-target-idc", "value": "..." }
],
"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
FieldRequiredDescription
startUrlsTikTok video/photo post URLs
maxItemsMax comments per video (default 200)
includeRepliesAlso return reply comments (default false)
sessionCookiesrecommendedCookies from a signed-in TikTok session — lifts the login wall
proxyConfigurationrecommendedUse RESIDENTIAL proxies for best success

📤 Output (one item per comment)

{
"id": "7277992603752203013",
"parentId": null,
"text": "This is exactly what I needed, thank you! ❤️",
"createdAt": "2026-06-14T17:28:42.000Z",
"likeCount": 12,
"replyCount": 1,
"awemeId": "7660060335751089430",
"user": {
"id": "7175984693090419717",
"username": "someuser",
"displayName": "Some User",
"url": "https://www.tiktok.com/@someuser",
"avatarUrl": "https://p16-sign-va.tiktokcdn.com/...",
"region": "US"
}
}

💡 Use cases

  • Content research — mine the questions and requests under viral videos for your next hooks
  • Influencer & lead research — pull commenter usernames and regions off any post
  • Sentiment & trend analysis — feed comment text into an LLM or spreadsheet
  • Community monitoring — track what your audience says under your own posts

❓ FAQ

Do I need a TikTok account? For reliable results, yes — provide session cookies. TikTok blocks comment loading for anonymous, untrusted IPs.

Why did I get zero comments / a "Log in" error? You ran without a session on a datacenter IP. Add sessionCookies and/or use residential proxies.

Which URLs work? Individual video/photo posts (tiktok.com/@user/video/<id> or /photo/<id>). Profile, hashtag, and sound pages are not supported.

Can I get replies? Yes — set includeReplies: true (each reply counts toward maxItems).

⚖️ Disclaimer

Not affiliated with, endorsed by, or sponsored by TikTok / ByteDance. "TikTok" is a trademark of its owner, used only to describe the data source. Extracts publicly visible comment data only. You are responsible for using the data in compliance with applicable laws and TikTok's terms.