Douyin Comments Scraper - Video Comment Threads & Replies avatar

Douyin Comments Scraper - Video Comment Threads & Replies

Pricing

from $2.00 / 1,000 comment scrapeds

Go to Apify Store
Douyin Comments Scraper - Video Comment Threads & Replies

Douyin Comments Scraper - Video Comment Threads & Replies

Scrape public Douyin (抖音) video comments and nested replies from URLs, share links or aweme IDs, one flat row per comment for China-market social listening. Each row has text, likes, author, IP location and parent ID.

Pricing

from $2.00 / 1,000 comment scrapeds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

2

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

What is Douyin Comments Scraper - Video Comment Threads & Replies?

Douyin Comments Scraper turns public Douyin (抖音) video URLs, v.douyin.com share links or numeric aweme IDs into a dataset with one flat row per visible comment. Each row returns the comment ID, text, like count, reply count, post time, IP 属地 location label, author nickname, author IDs and profile URL, the video's aweme ID and URL, and reply linkage for nested replies. China-market social listening teams, KOL agencies, brand analysts and AI agents use it to read audience reaction to campaign videos and creator content without a Douyin login.

Why social listening teams use this Douyin scraper

  • Paste what you have. Full video URLs, v.douyin.com share links, iesdouyin.com URLs and bare aweme IDs all work.
  • Engagement on every comment. likeCount and replyCount show which reactions resonate and which start conversations.
  • Regional signal. ipLabel carries Douyin's IP 属地 province label, useful for regional sentiment splits.
  • Flat rows for analysis. Comments and replies share one shape; reply rows add isReply and parentCommentId.
  • Three cost caps. maxComments per video, maxRepliesPerComment per thread and maxVideos per run bound every job.
  • Fast and light. Request-based, no browser and no proxy. Up to 5 videos are read at the same time, and memory follows run size (256 MB, 512 MB above 20 videos), so big lists finish quickly.
  • Video details on every row. The video's text, hashtags, likes, comments, shares, saves, length and author come with each comment at no extra charge.
  • Only new comments. Switch on onlyNewSinceLastRun for a weekly watch: you get and pay for new comments only.
  • Honest outcomes. A deleted or mistyped video ends as INVALID_INPUT (video status NOT_FOUND), a real video with no comments as VALID_EMPTY, and neither is charged.

What's new (18 November 2026)

ChangeWhat it means for you
Videos run at the same time (up to 5)A list of many videos finishes much sooner
Memory follows run sizeSmall runs stay on 256 MB; runs above 20 videos start on 512 MB
Up to 100 videos per runWas 20
onlyNewSinceLastRun (off by default)Repeat runs return and bill new comments only
Video detail fields on every rowvideoDescription, videoHashtags, videoLikeCount, videoCommentCount, videoShareCount, videoCollectCount, videoDurationSeconds, videoCreateTime, videoAuthorNickname and more, from the same lookup
One quick retry before the backupFewer slow fallbacks; retries are counted in RUN_SUMMARY
agentSummary in OUTPUTA plain next-step summary for AI agents

The price per comment and the billing event did not change.

Best fit for this Actor

Use it when you already have Douyin video links or IDs and want the public comments as rows. Avoid it when you need creator profiles or keyword search, or when the videos are on TikTok; the related Actors below fit those jobs better.

Example workflow: from campaign videos to a sentiment brief

A brand analyst starts with five Douyin videos from a product launch. They paste the share links into videoUrls, set maxComments to 100 and keep includeReplies on. The dataset returns text, likeCount, replyCount, ipLabel and createTime for each comment. They feed the text into a Chinese sentiment model, compare positive and negative share by province using ipLabel, sort by likeCount to quote the most-liked reactions, and export the brief for the marketing team. A weekly schedule on the same videos tracks how the conversation develops.

Input

FieldTypeWhat it controls
videoUrlsarrayDouyin video URLs, share links, iesdouyin.com URLs or aweme IDs. Required.
maxCommentsintegerComment and reply rows per video, 1 to 500. Default 50.
maxVideosintegerUnique videos per run, 1 to 100. Default 5. Up to 5 run at the same time; above 20 the run starts on more memory.
includeRepliesbooleanSave nested replies as rows with isReply set to true. Default true.
maxRepliesPerCommentintegerReplies saved under each top-level comment, 1 to 500. Default 3.
onlyNewSinceLastRunbooleanReturn only comments newer than the newest one seen on each video in an earlier run. Default false.
{
"videoUrls": [
"https://www.douyin.com/video/7577614489533680959",
"https://v.douyin.com/iAbc123/"
],
"maxComments": 100,
"maxVideos": 5,
"includeReplies": true,
"maxRepliesPerComment": 5
}

Output

One row per public comment or reply.

FieldWhat it contains
commentId, textComment ID and visible comment text
likeCount, replyCountLikes and number of replies
createTime, createTimeUnixPost time as ISO 8601 and Unix seconds
ipLabelIP 属地 location label when Douyin shows it
authorNickname, authorUid, authorSecUserId, authorShortIdCommenter display name and IDs
authorAvatarUrl, authorProfileUrl, authorVerifiedAvatar, profile link and verification flag
isReply, parentCommentId, replyIdReply linkage for nested replies
awemeId, videoUrl, inputVideo ID, canonical URL and the value you supplied
video* fieldsvideoDescription, videoCreateTime, videoDurationSeconds, videoLikeCount, videoCommentCount, videoShareCount, videoCollectCount, videoPlayCount, videoHashtags, videoAuthorNickname, videoAuthorSecUserId: the video's own details, repeated on each of its rows when the lookup returns them
provider, scrapedAtData route that served the row (primary or backup) and collection time
{
"commentId": "7578191179746788145",
"text": "这个老板娘真的很好看,她说出五十岁的时候我真的震惊了[发呆]",
"likeCount": 36374,
"replyCount": 271,
"createTime": "2025-11-29T16:52:14.000Z",
"createTimeUnix": 1764435134,
"ipLabel": "湖南",
"authorNickname": "小橙子",
"authorUid": "10000000001",
"authorSecUserId": "MS4wLjABAAAAexampleSecUserId",
"authorShortId": "100000001",
"authorAvatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/example.jpeg",
"authorProfileUrl": "https://www.douyin.com/user/MS4wLjABAAAAexampleSecUserId",
"authorVerified": false,
"isReply": false,
"awemeId": "7577614489533680959",
"videoDescription": "老板娘五十岁 #美食 #探店",
"videoLikeCount": 812000,
"videoCommentCount": 41000,
"videoHashtags": ["美食", "探店"],
"videoAuthorNickname": "探店小哥",
"videoUrl": "https://www.douyin.com/video/7577614489533680959",
"input": "https://www.douyin.com/video/7577614489533680959",
"scrapedAt": "2026-11-07T07:17:30.344Z",
"provider": "primary"
}

OUTPUT also carries an agentSummary object with commentsReturned, topLevelComments, replies, videosWithComments and a short nextSteps list. Top-level comments are the core of each dataset and always carry replyCount. Reply rows follow their parent comment, up to maxRepliesPerComment each, and carry isReply, parentCommentId and replyId. If the main data route is down, a backup route serves the same fields automatically (it does not return ipLabel). Each run also writes OUTPUT and RUN_SUMMARY records with the outcome (COMPLETE, PARTIAL, VALID_EMPTY, INVALID_INPUT, UPSTREAM_FAILED or CONFIG_ERROR), per-video status and saved-row counts.

Pricing

This Actor uses Pay per event plus Apify platform usage. You pay one Comment scraped event per comment or reply row saved to the dataset and one small Actor Start event per run, and Apify platform usage is billed on top. The Actor uses no browser and no proxy and runs on 256 MB (512 MB above 20 videos), so platform usage is small. Video details come free with the same row. The live Pricing tab on this page shows the current event prices, including the discounted price for your Apify subscription tier (Free, Bronze, Silver or Gold).

Same-job cost at the Free-tier price of $0.002 per row, comment events only (plus one start event and a small amount of platform usage):

JobRowsComment events
1 video, 50 comments, no replies50$0.10
5 videos, 200 comments eachup to 1,000up to $2.00
30 videos, 200 comments eachup to 6,000up to $12.00
Weekly watch of 10 videos with onlyNewSinceLastRun onnew comments onlypay for new rows only

Five videos with maxComments set to 100 save at most 500 rows, so that run costs at most $1.00 in comment events. Set includeReplies to false to bill top-level comments only. Videos that are deleted, private or have no comments are never charged, and a run whose spending limit is too low for one comment stops before saving anything.

API example

curl -X POST "https://api.apify.com/v2/acts/khadinakbar~douyin-comments-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"videoUrls": ["7577614489533680959"], "maxComments": 30, "includeReplies": false}'
from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("khadinakbar/douyin-comments-scraper").call(run_input={
"videoUrls": ["https://www.douyin.com/video/7577614489533680959"],
"maxComments": 50,
})
for c in client.dataset(run["defaultDatasetId"]).iterate_items():
print(c["likeCount"], c["ipLabel"], c["text"][:60])

Use with AI agents (MCP)

Connect the Actor to Claude, ChatGPT, Cursor or any MCP client through Apify MCP, then ask:

Collect the top 50 public comments on Douyin video 7577614489533680959, translate the ten most-liked ones into English and summarize the overall sentiment by province.

The agent calls the Actor with videoUrls and maxComments, reads rows with get-dataset-items, sorts by likeCount and groups by ipLabel. OUTPUT.outcome tells it whether the run was complete or empty, and videoUrl plus scrapedAt give provenance. Cost scales with saved rows, capped by maxComments.

Agent call example

{
"videoUrls": ["https://v.douyin.com/iAbc123/"],
"maxComments": 100,
"includeReplies": true,
"onlyNewSinceLastRun": true
}

Read OUTPUT.agentSummary.nextSteps after the run: it says whether to raise maxComments, fix a bad link or simply run again later.

Best results

Starting situationHelpful actionExpected outcome
Share links from the Douyin appPaste the v.douyin.com links as they areLinks are resolved to videos
Aweme IDs from a spreadsheetPaste the bare numeric IDsDirect video matches
Sentiment on top-level reactionsSet includeReplies to falseLean rows of main comments
Weekly monitoringSet onlyNewSinceLastRun to true and schedule the runOnly new comments are returned and billed
Conversation depthKeep includeReplies on and raise maxRepliesPerComment and maxCommentsFuller reply threads
Regional analysisGroup rows by ipLabelProvince-level splits
A video returns nothingCheck RUN_SUMMARY.videosNOT_FOUND means deleted or mistyped, EMPTY means no public comments

Limits and data notes

TopicWhat to expect
Deleted, private or mistyped videosChecked before the run is called empty; they end as INVALID_INPUT (video status NOT_FOUND) with no charge.
Videos with comments turned off or none yetEnd as VALID_EMPTY with no charge.
Only new commentsThe first run on a video returns everything. Replies under older top-level comments are not re-checked. The marker moves only when a video finishes fully.
Reply threadsCapped by maxRepliesPerComment; raise it for full threads. Replies count inside maxComments.
ipLabelPresent when Douyin shows it; rows served by the backup route leave it out.
Short linksResolved before collection; a link that no longer points to a video ends that input as failed, not billed.
Temporary outagesEach page is retried, then served by the backup route. If both are down the run ends UPSTREAM_FAILED with no comment charges; run it again later.
Missing fieldsLeft out of the row, never filled with guesses.

Verified on 2026-11-07 against the 0.2 build with a reviewed cloud test matrix (pagination, replies, short links, caps, empty and not-found videos). Sorting by newest or most-liked is not offered: the data source returns Douyin's default order, so sort the rows by likeCount or createTime after the run.

Builder's note

I built this for China-market listening, where Douyin share links and aweme IDs are what teams actually pass around, so every common identifier format is accepted. I designed every comment and reply as one flat row with the same fields, because sentiment tools and spreadsheets work more smoothly without nested threads. I found the IP 属地 label to be one of the most useful fields for brand teams, so it sits on every row next to the text and likes.

FAQ

Do I need a Douyin account?

No. The Actor reads public comment data with no login, cookies or proxy settings.

douyin.com/video/ URLs, v.douyin.com share links, iesdouyin.com share URLs and bare aweme IDs.

Can I collect every comment on a viral video?

The Actor pages through public comments up to maxComments per video (500 maximum, up to 100 videos per run), which covers the top of the conversation on even the busiest videos.

What changed in version 0.2?

The Actor no longer opens a browser. It reads comments through request-based data routes with an automatic backup, which removed the captcha failures of 0.1 and made runs much faster and cheaper. Output fields and the price per comment are unchanged; the old proxyConfiguration input is now ignored and proxyCountry is no longer filled.

Responsible use

This Actor collects public Douyin comments. Commenter nicknames and IDs are personal data under laws such as China's PIPL and the GDPR, so process them only with a lawful basis, aggregate where you can, and respect Douyin's terms. Douyin is a trademark of its owner; this independent Actor is not affiliated with or endorsed by Douyin or ByteDance. For questions or bugs, open a ticket in the Issues tab.