Douyin Scraper: Videos, Creators, Comments & Trends
Pricing
from $0.46 / 1,000 videos
Douyin Scraper: Videos, Creators, Comments & Trends
Scrape Douyin (Chinese TikTok) without an account: videos, creator profiles, comments and replies, related videos and trending topics, 210 fields. Export to JSON, CSV or Excel.
Pricing
from $0.46 / 1,000 videos
Rating
0.0
(0)
Developer
Nice Dev
Maintained by CommunityActor stats
0
Bookmarked
16
Total users
8
Monthly active users
8 days ago
Last modified
Categories
Features
Share
🎬 What is Douyin Scraper?
Douyin Scraper extracts videos, photo posts, creators, comments with their replies, bullet comments (弹幕) and trending topics from Douyin (抖音, the Chinese TikTok): description, hashtags, likes, comments, shares and saves, engagement rate, sound, tagged place, every video quality, and the creator's followers and verification — for influencer research, trend watching, social listening or content archives. It works as a Douyin API alternative: run it on a schedule, call it from your code, or plug it into Make, Zapier or n8n.
Paste a video, creator, sound or collection link (or the whole share text copied from the app), tick what you want next to it — comments, trending topics — click Start, and download the rows in JSON, CSV or Excel. No Douyin account, nothing to set up. Only the keyword search needs more: Douyin answers it to a logged-in account, so you give the cookie of your own account (a run that also reads links or creators then reads all of it with that account).
📋 What data can you extract from Douyin?
One item per row — a video or photo post, a creator, a comment or reply, a bullet comment or a trending topic — 293 fields:
| Category | What you get |
|---|---|
| 🎬 Video | description, link, publication date, length, post type (video or photo post), pinned or not, AI-generated label — 《夏天的心动》-你的第一次心动是什么时候? |
| 📊 Engagement | likes, comments, shares, saves, recommendations, number of bullet comments, and the engagement rate against the author's followers — 60,954 likes · 1,081 comments · 8,491 shares |
| #️⃣ Hashtags and categories | hashtags (with their Douyin id), tagged accounts, Douyin's own content categories on 3 levels, chapters of a long video, the searches Douyin suggests under the video |
| 🖼️ Media | cover, every video stream (quality, size, bit rate, codec, resolution), the images of a photo post, when the signed links stop working, and — with the file options — a lasting copy of the MP4 or the cover |
| 🎵 Sound | title, author, length, original or licensed music, link, who uploaded it |
| 📍 Place, collection, shop | the place tagged on the video (name, address, city, coordinates), the collection or series it belongs to (episode, size), the products and anchors linked to it |
| 👤 Creator of each video | nickname, Douyin ID, followers, total likes, verification, bio — and, with the option, province (IP location), video count, following, gender, age, school, live status |
| 🪪 Creator profile rows | bio, followers, following, total likes, video count, province (IP location), gender, age, verification, live status, QR code, linked Instagram, X and YouTube accounts, shop flag |
| 📈 Creator statistics (optional) | average and median likes, comments, shares and saves per video, average engagement rate, videos per week, date of the latest video |
| 📇 Contacts in the bio (optional) | the e-mail addresses, phone numbers and WeChat IDs the creator wrote in the bio |
| 💬 Comments and replies | text, likes, number of replies, date, the commenter (nickname, province), hot, pinned and liked-by-author marks, pictures — 当我意识到这样的瞬间这辈子都不会再有了 |
| 🗨️ Bullet comments (弹幕) | text, the moment of the video it appears at, likes, author id |
| 🔥 Trending topics | rank, topic, heat value, label (new, hot, exclusive…), number of videos, since when it trends, lead video and cover; the card of a hashtag (views, videos made with it, creation date); the searches Douyin suggests for a keyword — 小鹏正式宣布对外卖技术 · 12,297,060 |
| 🔗 Where it comes from | the link, keyword or board that found it, its rank in that source, the video a related video was suggested under, the feed a video was read in |
Every field, with an example, is listed in the Output section below. The type column says which kind of row it is: video, profile, comment, trend or danmaku; a column that belongs to another kind of row is empty.
✅ Why use Douyin Scraper?
- 🧩 All of Douyin in one Actor: videos, photo posts, creators, sounds, collections, comments with replies, bullet comments and the trending boards — combined in one run, each kind of row in its own place of the dataset.
- 🔓 No Douyin account for everything except the keyword search, which uses the cookie of YOUR account (in a run that also has other sources, the whole run is read with that account): it is a secret field, used for reading only, never saved in the dataset or the log.
- 📎 Paste anything: video, photo-post, creator, sound and collection links, short share links, the share text copied from the app, or bare ids — each one is read for what it is.
- 📊 More than counts: engagement rate, 3-level categories, hashtags with their id, tagged place, chapters, linked products, sound details, every stream quality, and the province Douyin shows for creators and commenters.
- 💾 Keep the files: Douyin's video and image links stop working after a few hours — tick the file options to keep a lasting copy of the MP4 or the cover.
- 🔔 Monitoring built in: tick Only new results, schedule the Actor, and each run returns (and charges) only the videos and comments it has never delivered before.
- 📅 Filters: dates, words, hashtags, categories, places, likes, saves, views, engagement rate, comments, shares, length, post type, ads, products, original sound, AI-generated, author followers, verified authors, excluded authors, the likes, words, images, province and date of comments, and the heat and words of trending topics — filtered-out videos are not saved and never count in Max results.
- 🔌 API, scheduling, monitoring, integrations (Make, Zapier, n8n, Google Sheets…), proxy rotation and JSON/CSV/Excel export via the Apify platform.
🚀 How to scrape Douyin
- Create a free Apify account.
- Open Douyin Scraper and paste links into Video URLs (videos, photo posts, short share links) or Creator profile URLs; or add Sound URLs and Collection URLs, or tick Scrape trending topics.
- Tick what you want on top: Scrape comments (and Include replies), Scrape bullet comments (弹幕), Creator profile rows, related videos.
- For a keyword search, type the Search keyword and paste Your Douyin session cookie (see the tip below). Without the cookie the keywords are skipped, the run says so, and the other sources still run.
- Set Max results (100 by default, 0 = no limit) — and Max results per source when you combine several sources — then click Start, and download the dataset in JSON, CSV, Excel or via API.
💰 How much does it cost to scrape Douyin?
This Actor uses pay per event pricing: you pay for the rows saved, each kind of row at its own price, plus a small fee per run start. Prices per 1,000 events, by Apify plan:
| What you pay for | Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|---|
| Video or photo post (a creator's, a sound's or a collection's video, a video of a home feed, a related video, a search result, a popular video, a video of a trending topic) | video | $0.49 | $0.48 | $0.47 | $0.46 |
| Creator profile row (Creator profile rows, or a keyword search for creators) | profile | $1.69 | $1.39 | $1.19 | $0.99 |
| Comment or reply (Scrape comments) | comment | $0.45 | $0.43 | $0.39 | $0.34 |
| Bullet comment (Scrape bullet comments (弹幕)) | danmaku | $1.79 | $1.78 | $1.77 | $1.39 |
| Trending row: a topic of the trending boards (Scrape trending topics), a calendar event, a short-drama chart entry, a hashtag page or a search suggestion | trend | $0.36 | $0.35 | $0.34 | $0.33 |
| Full author profile added to a video row, only with Full author profile on each video (once per video row completed) | author-profile | $0.45 | $0.44 | $0.43 | $0.42 |
| Statistics added to a creator profile row, only with Creator statistics (once per profile row completed) | account-stats | $2.69 | $2.68 | $2.67 | $2.66 |
| Contacts found in a creator's bio, only with Contacts written in the bio (once per profile row with at least one contact) | bio-contact | $2.59 | $2.58 | $2.57 | $2.56 |
Video file saved, only with Download video files (MP4) (once per started 5 MB of the file: a 3 MB video = 1, a 12 MB video = 3; a photo post: all its images together; videoFileMb says the size) | video-file | $0.81 | $0.80 | $0.79 | $0.78 |
| Cover image saved, only with Download cover images (once per video) | cover-file | $0.45 | $0.44 | $0.43 | $0.42 |
| Row checked by one of the Actor's own filters (video, comment or trending topic), kept or dropped | filter-check | $0.103 | $0.093 | $0.083 | $0.073 |
| One page of results read by Search without a cookie (about 10 videos a page), on top of each video | search-page-no-cookie | $34.99 | $34.98 | $34.97 | $34.96 |
| One page of 10 videos read by Popular videos, on top of each video | popular-page | $48.99 | $48.98 | $48.97 | $48.96 |
| Run start (counted once per GB of memory: 2 GB by default, so 2 events per run) | apify-actor-start | $0.02 per GB, each | $0.02 per GB, each | $0.02 per GB, each | $0.02 per GB, each |
Examples on the Free plan: 100 videos of a creator, no option ≈ $0.09 (100 × $0.00049 + $0.04 start at 2 GB). A daily check of 10 creators that brings about 50 new videos a day ≈ $1.94 a month (1,500 videos + 30 run starts at 2 GB). Saving the MP4 of a short video (under 5 MB) adds $0.00081 per video.
The five options (full author profile, creator statistics, contacts in the bio, video files, cover images), the keyword search without a cookie and the extra kinds of row (creator profile rows, comments and replies, bullet comments, trending topics) are all off by default: nothing is charged for them unless you tick them. The engagement rate is free. The filters Douyin does not apply itself (dates, words, likes, comments, shares, length, post type, author followers, verified authors) are checked by the Actor on every video it reads: each check is charged as filter-check, and a video you keep also pays its video price. The minimum heat and the words of trending topics work the same way on every topic of the four boards, and the comment filters on every comment and reply read. A row is checked only when one of the filters you switched on applies to its kind, so a video-only filter never charges a check on a comment or a topic. Platform usage (compute, proxy) is included in the price.
Search without a cookie (searchWithoutCookie, a paid option, off by default) adds one charge, event search-page-no-cookie, for each page of results it reads (about 10 videos a page), on top of the price of each video: about $0.035 a page (see the table above). With your own cookie in sessionCookie this option is not used and nothing is charged for it.
Popular videos (popularVideos, a paid option, off by default) reads the list of the videos that are popular on Douyin, no account or cookie needed, and gives each video's number of views (viewCount) with its completion rate, interaction rate, number of interactions and quality score. It adds one charge, event popular-page, for each page of 10 videos it reads, on top of the price of each video: about $0.049 a page (see the table above). Nothing is charged for it when it is not ticked.
⚙️ Input
{"profileUrls": ["https://www.douyin.com/user/MS4wLjABAAAArB6pB4M5W77nh-dtEpir53PoXSWn6vpZIFoJdFRHRrM"],"maxVideosPerProfile": 50,"includeProfileRows": true,"maxItems": 100}
A video with its comments and replies, and the trending topics:
{"videoUrls": ["https://www.douyin.com/video/7682152870929567026"],"includeComments": true,"maxCommentsPerVideo": 100,"includeReplies": true,"maxRepliesPerComment": 5,"includeTrends": true,"trendBoards": ["hot", "society"],"maxItems": 500}
Only the new videos of a creator, recent ones, checked every day:
{"profileUrls": ["https://www.douyin.com/user/MS4wLjABAAAArB6pB4M5W77nh-dtEpir53PoXSWn6vpZIFoJdFRHRrM"],"maxVideosPerProfile": 100,"postedAfter": "7 days","onlyNew": true,"stateKey": "brand-watch"}
The card of two hashtags, by number (the number is the id of the hashtags column of any video that carries the hashtag):
{"hashtagUrls": ["1767587367750663", "https://www.douyin.com/hashtag/1767587367750663"]}
The searches Douyin suggests for two keywords, with no account and no cookie:
{"searchQueries": ["咖啡", "iPhone"],"searchSuggestions": true}
Keyword search with the cookie of your own account:
{"searchQueries": ["咖啡", "iPhone 17"],"sessionCookie": "sessionid=abc123; ttwid=xyz789","searchSort": "latest","searchPublishTime": "week","maxItemsPerQuery": 100,"maxItems": 500}
| Field | Notes |
|---|---|
videoUrls | Video or photo-post links (https://www.douyin.com/video/7682152870929567026), short share links, the whole share text copied from the app, or bare video ids (17 to 20 digits). Each link is read for what it is: a creator link pasted here is read as a creator. |
profileUrls | Creator pages (https://www.douyin.com/user/MS4wLjABAAAArB6pB4M5W77nh-dtEpir53PoXSWn6vpZIFoJdFRHRrM), share links of a profile, or a bare id: the long sec_uid of the page address, or the numeric uid (63163250759). The Douyin ID (the short name under the nickname) is refused by Douyin here: use douyinIds. |
maxVideosPerProfile | Videos read for EACH creator, newest first (0 = no video rows, the profile row only). Douyin shows a visitor without an account the first page of a creator's videos only, about 44 (see Known limitations). |
includeProfileRows, skipPinned | One row per creator (bio, followers, likes, video count, province, verification, live status…); leave out the videos the creator pinned at the top of the profile. Both off by default. |
includeAuthorProfiles, includeAccountStats, includeBioContacts | Options, off by default and charged apart. Full author profile on each video row (province, video count, following, gender, age, school, live status; one request per author); statistics over the creator's latest 36 videos on each profile row (a visitor without an account gets the first page only, about 44, enough for the 36); e-mail addresses, phone numbers and WeChat IDs written in the bio of each profile row. The last two work on profile rows only. |
maxRelatedPerVideo | For each video of the video list, also the videos Douyin recommends next to it, up to this many (0 = off). Each one is a video row. |
musicUrls | Sound pages (https://www.douyin.com/music/7561006047303010321), share links of a sound, or bare sound ids: the videos made with the sound. |
maxVideosPerMusic | Videos read for EACH sound. |
collectionUrls | Collection pages (https://www.douyin.com/collection/7673031667082070079), share links of a collection, or bare collection ids: the videos of the collection, in its order. |
maxVideosPerCollection | Videos read for EACH collection. |
feedCategories | Video feeds of the Douyin home page, read with no account: hot (hot right now), all, open-courses, games, anime, music, film-tv, food, knowledge, short-drama, vlog, sports, travel, family, pets, countryside, cars, beauty-fashion. Each feed ticked gives video rows in the order Douyin shows them; the feedCategory column says which feed each one was read in. Douyin mixes a few videos of neighbouring categories into a feed: the categories column of each video says its own. |
maxVideosPerFeed | Videos read for EACH feed ticked (1 to 1000, default 20). A feed never ends: it stops at this number, or sooner when Douyin only gives videos already read. |
includeComments, maxCommentsPerVideo, includeReplies, maxRepliesPerComment | Comments of every video the run delivers (Douyin's own order, hot first; maxCommentsPerVideo 0 = all of them) and, when ticked, the replies under each comment. Each comment and each reply is a row of its own. |
minCommentLikes | Keeps only the comments and replies with at least this many likes. 0 = no minimum. Each comment checked is charged the filter fee. |
commentKeywords | Keeps only the comments and replies whose text contains one of these words. Empty = no word filter. Each comment checked is charged the filter fee. |
excludeCommentKeywords | Drops the comments and replies whose text contains one of these words as a whole word. Empty = no filter. Each comment checked is charged the filter fee. |
commentsWithImagesOnly | Keeps only the comments and replies that carry at least one image. Each comment checked is charged the filter fee. |
commentLocations | Keeps only the comments and replies whose commenter's province contains one of these texts. A comment with no place is dropped. Each comment checked is charged the filter fee. |
commentedAfter | Keeps only the comments and replies written on or after this date, or after a period before now. A comment with no date is dropped. Each comment checked is charged the filter fee. |
includeDanmaku, maxDanmakuPerVideo | The bullet comments (弹幕) of every video the run delivers, up to the maximum for each video. Each one is a row of its own. |
includeTrends, trendBoards, trendVideos | Douyin's trending topics: hot (the main board), entertainment, society and challenge. trendVideos also delivers the lead video of each topic as a video row; maxVideosPerTrend (1 to 30, default 1) asks for more videos under each topic. |
minHotValue | Keeps only the trending topics (of the boards you chose) whose heat is at least this value. 0 = no minimum. Each topic checked is charged the filter fee. |
trendKeywords | Keeps only the trending topics whose title contains one of these words. Empty = no word filter. Each topic checked is charged the filter fee. |
charts | Charts read with no account: calendar = the events and themes creators can post for (title, dates, category, city, cover, tags), one row per event or theme, with trendBoard set to calendar; series = the chart of the mini-series (short dramas) of the moment, about 7 to 10 series on one page, one row per series in chart order (name, heat, plays, saves, episodes, genres, the account that publishes it), with trendBoard set to series. Each row is billed like a trending topic row. |
calendarDays | How many days the calendar covers, counted from today in Beijing time (1 to 31, default 14). |
calendarEventIds | Ids of calendar events to read in full (the eventId column of a calendar row, such as 2070): activity description, reward, number of posts, challenge ids and example videos. One extra request per id; a theme id has no detail and is listed as unavailable. Works without charts. |
hashtagUrls | Hashtags to read by number: the number alone, the hashtag page link or its share link. One row per hashtag, with its name, views, number of videos made with it and creation date (trendBoard set to hashtag). Douyin does not find a hashtag by its name: the number is the id inside the hashtags column of any video that carries the hashtag. A number Douyin does not know is listed as unavailable and not charged. |
query, searchQueries | Keywords, as typed in the Douyin app, in Chinese or not (咖啡, iPhone 17); searchQueries adds more, one search each. They need sessionCookie, or searchWithoutCookie for a search for videos. |
douyinIds | Creators by Douyin ID (the short name under the nickname, such as dy_coffee). Needs sessionCookie. Each ID is looked up with Douyin's search of accounts (one extra request per ID), then the creator found is read like a profile URL. An ID not found among the first 10 accounts is listed as unavailable and not charged. |
sessionCookie | The cookie of your own logged-in douyin.com tab, copied whole (sessionid=abc123; ttwid=xyz789), or at least its sessionid part. Needed for douyinIds, for a search for creators, and for a keyword search unless searchWithoutCookie is ticked; a secret field. |
searchWithoutCookie | Paid option, off by default. Searches videos by keyword with no Douyin account (leave the session cookie empty). Each page of results read is charged (event search-page-no-cookie), on top of each video. Videos search only; the view count is empty in this mode. If the search is temporarily unavailable, the run keeps what it read and says so in its last message. |
popularVideos | Paid option, off by default. Reads the list of the videos popular on Douyin, no account needed, with the number of views of each (viewCount) and four more figures. Each page of 10 videos read is charged (event popular-page), on top of each video. Keywords narrow the list to those words, one list per word; with none, the list is read for the chosen category. Not read when a filter on something the list does not give is set (length, media type, verified accounts, saves, hashtags, categories, location, ads, products, original sound, AI-generated). |
popularCategory | One of 34 categories of the popular list (ALL, FOOD, TECHNOLOGY, TRAVEL…); default ALL. Used by popularVideos only. |
popularSort | Order of the popular list: COMPREHENSIVE (overall ranking, default), HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT or HIGH_SHARE. Used by popularVideos only. |
popularVideoType | ALL (default), XINGTU_VIDEO (commercial videos made through the Xingtu creator platform) or NATURAL_VIDEO (not commercial). Used by popularVideos only. |
searchType | videos (one video row per result) or creators (one profile row per account found). |
searchSort | Douyin's own sort of the results: relevance, most-liked or latest. Videos search only. |
searchPublishTime | Douyin's own date filter of the search: any, day, week or half-year. Videos search only. |
searchRelatedKeywords | After the first page of each keyword, searches again on up to 5 of the words Douyin suggests under its videos (the suggestedSearches column). A video found twice is saved once, and every video counts in maxItems. Videos search only. Off by default. |
searchSuggestions | For each keyword, saves the searches Douyin suggests for it, one row per suggestion, in the order Douyin shows them (trendBoard set to suggestion, the suggestion in the word column, its rank in the position column). Works with no account and no cookie, even when the keyword search itself is skipped. Billed like a trending topic row. Off by default. |
searchDuration | Douyin's own length filter of the search: any, under-1-min, 1-5-min or over-5-min. Videos search only. |
maxItems, maxItemsPerQuery | Stop after this many rows for the whole run, all kinds together / for each source (a creator, a sound, a collection, a keyword, a board, a pasted video with its comments); 0 = unlimited. |
downloadVideos, downloadCovers, maxVideoFileMb | Keep a lasting copy in the run's key-value store: the MP4 (the smallest stream of at least 720p, H.264 first, without the Douyin watermark when Douyin serves one; photo posts: every image) and the cover image of each delivered video. Off by default and charged apart. When that stream is larger than Max video file size (100 MB by default), the best smaller stream Douyin offers is kept instead (highest resolution first, H.264 before H.265); when none fits, the video is not downloaded, the row says why and nothing is charged for the file. The video file is charged once per started 5 MB of the file saved (a 3 MB video = 1 Video file event, a 12 MB video = 3; the Video file size column gives its size), so a larger Max video file size raises the most a single file can cost. |
postedAfter, postedBefore | Publication date range: 2026-09-01, or a period before now (7 days, 2 weeks, 1 month). |
excludeKeywords | Drop the videos whose description or title contains one of these WHOLE words (art drops "Art deco" but keeps "Smart watch"; case and accents ignored), or whose hashtags contain one of them (a hashtag glues its words: casino drops #casinonight). Several words in one entry (hand made) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the description and title (no spaces there). |
includeKeywords | Keep only the videos whose description, title or hashtags contain at least one of these words (case and accents ignored). |
minLikes, minComments, minShares | Only videos with at least this many likes, comments or shares. |
minDurationSeconds, maxDurationSeconds | Only videos at least / at most this long (photo posts have no length and are dropped when a length is set). |
mediaType | Post type: all, video (videos only) or images (photo posts only). |
minAuthorFollowers, maxAuthorFollowers, verifiedOnly | Only videos whose author has at least / at most this many followers (micro-influencer search), or carries a Douyin verification badge. The Actor reads each author's profile once for these. |
maxLikes | Only videos with at most this many likes (0 = no maximum). |
minCollects | Only videos saved (added to favorites) at least this many times. |
minViews | Only videos with at least this many views. Only the popular list and the search without a cookie give a view count: the run is refused when it reads neither, and the videos of any other source in the same run are dropped. |
minEngagementRate | Only videos whose engagement rate is at least this, as a fraction: (likes + comments + shares + saves) divided by the author's followers, so 0.05 means 5%. The Actor reads each author's profile once for this; a video whose rate is unknown is dropped. |
includeHashtags, excludeHashtags | Keep only the videos that carry one of these hashtags / drop the videos that carry one of them. The whole hashtag name, with or without the # sign, case and accents ignored. |
categoriesAny | Keep only the videos filed under one of these categories, by name (case and accents ignored) or by number, at any of the 3 levels. |
onlyWithLocation, locationKeywords | Only videos tagged with a place, or whose place (name, address, city, district, province or country) contains one of these words. |
excludeAds, onlyWithProducts, onlyOriginalSound | Drop the videos Douyin marks as ads; keep only the videos that carry products for sale; keep only the videos that use an original sound. |
aiGenerated | all (default), only (videos declared as AI-generated) or exclude (drop them). |
excludeAuthors | Drop the videos of these creators: each entry is a user number, sec_uid, Douyin ID or the link of a creator's profile. |
onlyNew, stateKey, resetState | Monitoring: only the videos, comments and bullet comments never delivered under this memory key (for example brand-watch); resetState forgets the memory. |
| Advanced | proxyConfiguration (Apify proxy by default, included in the price; the residential proxy is not available), maxConcurrency, maxRequestsPerMinute, minRequestIntervalMs, maxRequestRetries, debugLog. |
📦 Output
A video (shortened: empty fields left out and the signed links cut):
{"type": "video","id": "7682152870929567026","url": "https://www.douyin.com/video/7682152870929567026","source": "video-url","sourceInput": "https://www.douyin.com/video/7682152870929567026","position": 1,"scrapedAt": "2026-10-15T12:00:00.000Z","description": "《夏天的心动》-你的第一次心动是什么时候?你是否还记得让你心动的那个人?#校园 #暗恋 #青春","createTime": 1788651000,"createTimeIso": "2026-09-05T23:30:00.000Z","mediaType": "video","awemeType": 0,"isPinned": false,"durationMs": 247363,"durationSeconds": 247.4,"likeCount": 60954,"commentCount": 1081,"shareCount": 8491,"collectCount": 6965,"danmakuCount": 358,"engagementRate": 0.6927,"interactionsPerHour": 81.7,"viralityScore": 38,"hashtags": [{ "name": "校园", "id": "1767587367750663" },{ "name": "暗恋", "id": "1575530906796046" }],"hashtagNames": ["校园", "暗恋"],"mentions": [],"categories": [{ "level": 1, "id": 2025, "name": "剧情演绎" },{ "level": 2, "id": 2025003, "name": "剧情" }],"category": "剧情演绎","subCategory": "剧情","chapters": [],"suggestedSearches": ["夏天的心动全集", "夏天的心动评分多少"],"mixId": "7673031667082070079","mixName": "青春的第N节课","mixEpisode": 4,"mixVideoCount": 12,"coverUrl": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/…","videoUrl": "https://v5-dy-ov-experiment.zjcdn.com/…","videoWidth": 3840,"videoHeight": 2160,"videoSizeBytes": 36614801,"bitRates": [{"quality": "normal_1080_0","bitRate": 1184164,"width": 1920,"height": 1080,"fps": 30,"codec": "h264","sizeBytes": 36614801,"url": "https://v5-dy-ov-experiment.zjcdn.com/…"}],"images": [],"cdnUrlExpiresAt": "2026-10-15T05:46:06.000Z","isAiGenerated": false,"anchors": [],"products": [],"musicId": "7682152908917312275","musicTitle": "@林苏记创作的原声","musicAuthor": "林苏记","authorId": "942738897652219","authorSecUid": "MS4wLjABAAAAFnjcoKWYQPDcHMD2mikJ23gcYJXWVYSdLMlFqMYW27w","authorNickname": "林苏记","authorUrl": "https://www.douyin.com/user/MS4wLjABAAAAFnjcoKWYQPDcHMD2mikJ23gcYJXWVYSdLMlFqMYW27w","authorFollowerCount": 111875,"authorVerified": null,"bioEmails": [],"bioPhones": [],"bioWechatIds": [],"commentImages": [],"trendSubBoards": [],"trendMusicIds": [],"eventTags": [],"eventChildIds": [],"relatedTopics": [],"challengeIds": [],"exampleVideos": [],"seriesGenres": []}
You can download the dataset in various formats such as JSON, HTML, CSV or Excel.
The other kinds of row
The same columns carry the other kinds of row; the columns of another kind stay empty. Shortened examples:
// type: "profile" (Creator profile rows){"type": "profile","id": "MS4wLjABAAAArB6pB4M5W77nh-dtEpir53PoXSWn6vpZIFoJdFRHRrM","url": "https://www.douyin.com/user/MS4wLjABAAAArB6pB4M5W77nh-dtEpir53PoXSWn6vpZIFoJdFRHRrM","uid": "63163250759","uniqueId": "Oct_yooz","nickname": "由嘉郁¹⁰¹⁹(10月19生日版)","followerCount": 380471,"followingCount": 453,"totalFavorited": 4058511,"videoCount": 39,"ipLocation": "辽宁","verified": false,}
// type: "comment" (a comment, or a reply with isReply: true){"type": "comment","id": "7681155207737230117","url": "https://www.douyin.com/video/7682152870929567026","videoId": "7682152870929567026","text": "当我意识到这样的瞬间这辈子都不会再有了[泣不成声]","createTimeIso": "2026-09-03T04:05:12.000Z","likeCount": 14869,"replyCount": 178,"isReply": false,"isHot": true,"authorNickname": "哈哈","authorIpLocation": "浙江",}
// type: "trend" (a trending topic){"type": "trend","id": "trend:hot:2694823","trendBoard": "hot","position": 1,"word": "小鹏正式宣布对外卖技术","hotValue": 12297060,"trendLabel": "hot","trendVideoCount": 3,"trendingSince": "2026-10-14T06:03:03.000Z",}
// type: "trend" (the card of a hashtag){"type": "trend","id": "trend:hashtag:1767587367750663","trendBoard": "hashtag","word": "校园","hashtagId": "1767587367750663","hashtagViewCount": 261359377183,"hashtagVideoCount": 12842946,"hashtagCreatedAt": "2023-06-02T10:45:13.000Z","hashtagIsCommerce": false,}
// type: "trend" (a search Douyin suggests for a keyword){"type": "trend","id": "trend:suggestion:咖啡:咖啡豆","trendBoard": "suggestion","word": "咖啡豆","position": 4,"sourceInput": "咖啡","url": "https://www.douyin.com/search/%E5%92%96%E5%95%A1%E8%B1%86",}
// type: "trend" (a mini-series of the short dramas chart){"type": "trend","id": "trend:series:7447840066937817128","trendBoard": "series","word": "以爱之名","position": 1,"hotValue": 8976543,"viewCount": 549136669,"seriesEpisodeCount": 17,"seriesStatusText": "17集全","seriesIsPaid": true,"seriesGenres": ["成长", "爱情"],"seriesSavedCount": 8992,"url": "https://www.iesdouyin.com/share/playlet/detail/7447840066937817128/",}
// type: "danmaku" (a bullet comment){"type": "danmaku","id": "danmaku:7669598344973714227","videoId": "7682152870929567026","text": "好像宋雨琦","offsetMs": 32071,"likeCount": 4,}
All 293 fields
| Fields | What you get |
|---|---|
type, id, url, source, sourceInput, position, scrapedAt | Row: its kind (video, profile, comment, trend or danmaku); the video id, the creator's sec_uid, the comment id, trend:<board>:<topic id> or danmaku:<id> (unique per row); its Douyin page; where it comes from (video-url, profile, search, music, collection, trend, trend-video, related, comments, danmaku, popular, feed); the link, keyword or board you gave; its rank in that source (1 = first); ISO timestamp |
title, description, createTime, createTimeIso, shareUrl, mediaType, awemeType, isPinned, isAd, isStory, isOriginal | Video: title (long videos), caption with its hashtags, publication time (Unix seconds and ISO — what the date filters read), share link, video or images, Douyin's post code, pinned at the top of the creator page, ad, story and original marks |
durationMs, durationSeconds | length in milliseconds and seconds (empty for a photo post) |
likeCount, viewCount, commentCount, shareCount, collectCount, recommendCount, admireCount, danmakuCount, engagementRate, interactionsPerHour, viralityScore | Engagement: likes (of a video, a comment or a bullet comment), comments, shares, saves, recommendations to friends, admires, number of bullet comments; the engagement rate = (likes + comments + shares + saves) ÷ the author's followers, 4 decimals, empty when the followers are not known; the interactions per hour = the same four counts added up ÷ the hours since the video was published (at least 1), 2 decimals; the virality score = 20 × log10(1 + interactions per hour), 0 to 100 on a log scale; both empty when the publication date or the four counts are missing. Douyin gives no view count on the web; viewCount is filled by the Popular videos option only, empty otherwise |
finishRate, interactionRate, interactionCount, qualityScore | Popular videos (option): the share of the views watched to the end (0 to 1), the interactions per view (0 to 1), the interactions added up (likes, comments, shares…) and Douyin's quality score (0 to 100) of the video, as the popular list gives them; empty for every other source |
hashtags, hashtagNames, mentions, categories, category, subCategory, chapters, suggestedSearches, region | Hashtags and categories: hashtags with their id and names alone, tagged accounts, Douyin's content categories on 3 levels and the first two names, chapters of a long video, suggested searches, region code |
poiId, poiName, poiAddress, poiLatitude, poiLongitude, poiCity, poiCityCode, poiDistrict, poiProvince, poiCountry | Place tagged on the video: id, name, address, coordinates, city, district, province, country |
poiCategory, poiTypeCode, poiSavedCount, poiVideoCount, poiPopularityText | Place details: the kind of place (“pet hospital”) and its code, times the place was saved, videos posted there, and Douyin's popularity line (“11 000 want to go”) |
mixId, mixName, mixEpisode, mixVideoCount, seriesId, seriesName | Collection and series the video belongs to: id, name, episode, number of videos; paid series |
seriesEpisode, seriesEpisodeCount, seriesTotalDurationSeconds, seriesStatusText, seriesIsPaid | Mini-series: the episode number of the video, the number of episodes, the total length in seconds, the status line (“updated to episode 12”) and whether the series has paid episodes |
allowDownload, allowDuet, allowDouplus, allowStitch, allowComment, allowShare, allowReact, allowMusic | what the author allows: download, duet, promotion with a paid boost, stitch, comments, sharing, reactions, reuse of the sound |
coverUrl, originCoverUrl, dynamicCoverUrl, videoUrl, videoWidth, videoHeight, videoFormat, videoSizeBytes, videoLoudness, videoPeak, isLongVideo, bitRates, images, imageCount | Media: covers (normal, original size, animated), the playable MP4 (signed link), its size and format, the loudness and peak of its sound, long-video flag, every stream Douyin offers (quality, quality number, format, bit rate, size, codec, link), the images of a photo post and their number |
playUrlH264, playUrlH265, downloadUrl, cdnUrlExpiresAt, hasWatermark, isHdr, horizontalType | the main stream in H.264 and H.265, the download stream with the Douyin watermark when the author allows downloads, when the signed links stop working (ISO), watermark and HDR marks, orientation code |
videoFileUrl, videoFileMb, coverFileUrl, fileError | Files (file options): the lasting link to the saved MP4 and its size in MB (the Video file price is per started 5 MB), the cover in the run's key-value store, and why a requested file was not saved (too large, link expired…) |
isAiGenerated, ocrText, shareTitle, shareDescription | marked AI-generated by Douyin, the text Douyin read on the video frames (when it gives it), the title and text shown when the video is shared |
summary, contentWarning, isBrandedContent, language, downloadBlockedReason, downloadCount | Notes from Douyin: the summary Douyin writes for the video, the warning it shows under it, a declared brand partnership, the language of the description, why the download is blocked, and the number of downloads when Douyin gives it |
isHorizontal, isLivePhoto, isMultiContent, danmakuEnabled, previewSprite | format marks (landscape, live photo, mixed media), bullet comments open or closed, and the preview strip: the signed link of every sheet of small pictures with their count and layout (columns, rows, picture size) |
hotTopicTitle, hotTopicBoard, hotTopicSentenceId | Trending topic of the video: the topic Douyin attaches to the video, the board that lists it and the topic id (the sentenceId of the trend rows) |
isPrivate, isInReview, isProhibited, isLifeItem, isDuetSing, isImageBeat, crossPostedToXigua | status marks: visible to the author or friends only, under review, restricted, local-life post, karaoke duet, photo slideshow to music, also on Xigua Video |
anchors, products, hasProducts | Shop: anchors shown on the video (game, app, place, mini-program) and the Douyin Shop products linked to it (id, title, price, link) |
relatedTo | for a related video: the id of the video it was suggested under |
feedCategory | for a video read in a feed (input feedCategories): the feed, as you ticked it (hot, all, food…); empty on every other row |
musicId, musicTitle, musicAuthor, musicDurationSeconds, musicIsOriginal, musicIsCommercial, musicAlbum, musicUrl, musicCoverUrl, musicOwnerId, musicOwnerNickname, musicOwnerHandle, musicOwnerSecUid, musicIsPgc, musicCollectCount | Sound: id, title, author, length, original or licensed, album, MP3, cover, the account that uploaded it (id, nickname, Douyin ID, sec_uid), professionally produced or not, times saved |
musicChorusStartMs, musicChorusDurationMs, musicHasCopyright, musicUnavailableReason | Sound details: where the chorus starts and how long it lasts (licensed songs), whether the platform holds the rights, and why a sound cannot be used |
authorId, authorSecUid, authorUniqueId, authorNickname, authorUrl, authorAvatarUrl, authorSignature, authorFollowerCount, authorTotalFavorited, authorVerified, authorVerificationType, authorVerifyReason | Creator of the video (of the comment on a comment row, of the bullet comment on a bullet comment row): numeric uid, sec_uid, Douyin ID, nickname, profile page, avatar, bio, followers, total likes, verification badge, type and text. Followers, total likes and badge are read from the creator's profile: they are empty (null, never 0 or false) on a video link, a sound or a collection unless Full author profile or one of the author filters is on |
authorIpLocation, authorVideoCount, authorFollowingCount, authorGender, authorAge, authorSchool, authorIsLive | Full author profile (option): province or country Douyin shows, video count, following, gender, age, school, live status. On a comment row authorIpLocation is the commenter's province, always given |
authorConstellationCode | the sign of the zodiac the author shows, as Douyin's number 1 to 12 (empty when none is shown) |
uid, secUid, uniqueId, nickname, signature, avatarUrl, bannerUrl | Creator profile row: numeric uid, sec_uid, Douyin ID, nickname, bio, avatar, header image |
bioEmails, bioPhones, bioWechatIds | Contacts in the bio (option): the e-mail addresses, phone numbers and WeChat IDs written in the bio; empty lists on other rows and when the option is off |
followerCount, followingCount, totalFavorited, videoCount, favoritingCount | the creator's counts: followers, following, likes received, videos posted, videos liked (when public) |
ipLocation, gender, age, country, province, city, schoolName | where and who: the province or country Douyin shows (IP location), gender (male, female or empty), age shown on the profile, country, province, city, school |
verified, verificationType, verifyReason, isLive, liveRoomId, mixCount, seriesCount, isStar, profileShareUrl, qrCodeUrl | verification badge, its type and text, streaming live when read and the live room, number of collections and paid series, star account, share link and QR code of the profile |
instagramId, twitterName, youtubeChannelId, youtubeChannelTitle, hasShop, commerceLevel, publicCollectsCount, isGovMedia, isOriginalMusician | Linked accounts and badges: Instagram, X and YouTube accounts shown on the profile, shop tab, commerce level, public saved-videos count, government or media account, original-musician badge |
statsVideoCount, avgLikes, medianLikes, avgComments, avgShares, avgSaves, avgEngagementRate, videosPerWeek, lastVideoAt | Creator statistics (option, on profile rows): how many videos they rest on, average and median likes, average comments, shares and saves, average engagement rate, videos per week, date of the latest video that is not pinned |
multiPlatformFollowerCount, maxFollowerCount, forwardCount, signatureLanguage, storeRegion, isOnXingtu, hasAdsEntry | More about the creator (profile rows): followers on all linked platforms, the highest follower count ever, reposts, language of the bio, account region, listed on Xingtu (the brand marketplace) or not, advertising entry |
videoId, text, replyCount, isReply, parentCommentId, replyToCommentId, isHot, isAuthorLiked, isPinnedComment, commentLabel, commentImages, videoCommentTotal, videoAuthorName, videoDescription | Comment, reply or bullet comment: the video it is under, its text, number of replies, reply or not and the comment it answers, hot, liked by the video author, pinned by the author, Douyin's label (author, friend…), attached pictures, total comments Douyin announces for the video, name of the video's author and text of the video |
commentContentType, commentStickerUrl | what the comment holds (text, image, sticker, other) and the link of its sticker |
offsetMs | Bullet comment: the moment of the video, in milliseconds, at which it appears on screen |
trendBoard, word, hotValue, trendLabel, trendVideoCount, discussVideoCount, trendingSince | Trending topic: the board (hot, entertainment, society or challenge; calendar for the creator-trends calendar, hashtag for a hashtag card, suggestion for a suggested search, series for a mini-series of the short dramas chart), the topic, its heat value, label (new, hot, exclusive, rising…), videos grouped under it and videos discussing it, since when it trends |
topVideoId, topVideoUrl, trendCoverUrl, sentenceId, trendWordType, trendSentenceTag, articleCount, boardUpdatedAt, isRisingTopic | the lead video of the topic, its cover, Douyin's topic id, word type and topic family codes, articles grouped under it, when the board was refreshed, and whether it comes from the rising list under the board |
peakPosition, trendSubBoards, trendMusicIds, trendingDescription | the best rank the topic reached, the codes of the sub-boards it sits in, the ids of the sounds most used on it, and the label of the rising list (rising rows) |
eventId, eventParentId, eventKind, eventStartDate, eventEndDate, eventStatusCode, eventCategory, eventCity, eventTags, eventChildIds | Calendar event or theme (rows with trendBoard calendar; the title is in word, the cover in trendCoverUrl, the topic id in sentenceId): the event id and the id of its theme, event or theme, start and end (ISO 8601), the portal's raw status code, category, city, tags, and for a theme the ids of its events |
publishCount, activityDescription, activityReward, publishWindowStart, publishWindowEnd, relatedTopics, challengeIds, exampleVideos | the detail of an event (input calendarEventIds; empty on the rows of the list): videos posted for it, what creators are asked to post, the reward announced, the window in which posts count, related topics, challenge ids and example videos (videoId, url, coverUrl) |
seriesDescription, seriesGenres, seriesSavedCount | Mini-series chart (input charts with series; rows with trendBoard series, the series name is in word and in seriesName, its heat in hotValue, its plays in viewCount, its episodes, status and paid flag in seriesEpisodeCount, seriesStatusText and seriesIsPaid, the account that publishes it in the author columns): the synopsis when there is one, the genres in Douyin's order, and how many viewers saved the series; the numbers are Douyin's own counts |
hashtagId, hashtagViewCount, hashtagVideoCount, hashtagDescription, hashtagCreatedAt, hashtagIsCommerce | Hashtag card (input hashtagUrls; rows with trendBoard hashtag, the name is in word, the image in trendCoverUrl): the hashtag number, total views, number of videos made with it, its description when it has one, when it was created (ISO 8601), and whether Douyin marks it as commercial; the numbers are Douyin's own counts |
💡 Tips
How to get more results
Raise Max results (maxItems, 0 = no limit) and Max videos per creator (maxVideosPerProfile). Combine creators, sounds, collections and keywords in one run, and set maxItemsPerQuery so that one big source does not use up the whole budget. Max results counts every row — videos, profile rows, comments, bullet comments and topics together — so a run that asks for the comments of 10 videos needs a Max results large enough for them all.
How to reduce costs
The price is per row, so the levers are maxItems, maxItemsPerQuery, the number of comments, replies and bullet comments per video, the filters (a video a filter checks costs only the filter fee when it is dropped) and onlyNew for recurring runs (you never pay twice for the same video or comment). The profile rows, the comments, the bullet comments, the trending topics and the five options are off by default: tick only what you need. A comment, a reply and a bullet comment are rows like a video, each at its own price.
Several sources in one run
Fill videoUrls, profileUrls, musicUrls, collectionUrls, feedCategories, searchQueries and includeTrends together: each link, keyword, feed and board is a source of its own. A video found by several sources is saved — and charged — once. Comments, bullet comments, related videos and files apply to every video the run delivers, whatever source it comes from. Set maxItemsPerQuery to give every source its own cap.
Comments, replies and bullet comments
Tick Scrape comments to read the top-level comments of each delivered video, in Douyin's own order (hot first), up to Max comments per video (20 by default; 0 = all the video has, which can be thousands). Include replies reads the replies under each comment, up to Max replies per comment; each reply is a comment row with isReply true and the id of its parent comment. Scrape bullet comments (弹幕) reads the messages that scroll over the video, with the moment they appear at, up to Max bullet comments per video. Every comment, reply and bullet comment is a row of its own, counted in Max results.
Keyword search: your Douyin cookie, or without an account
Douyin answers searches only to a logged-in account, so the keyword search needs the cookie of YOUR account. Log in to douyin.com in your browser, open the developer tools (Network tab), click any request to douyin.com and copy the whole cookie value of its request headers (or at least its sessionid part) into Your Douyin session cookie. The cookie is a secret field: it is used for reading only, nothing is posted, liked or followed with it, and it is never written to the dataset or the log. Use an account of your own: Douyin may ask it to log in again after heavy use. Choose Search for videos or creators, then the sort, the publication period and the length of Douyin's own search filters. Without the cookie the keywords are skipped and the run says so; the other sources still run. To search videos with no account at all, leave the cookie empty and tick Search without a cookie (paid option, charged per page of results read, see the price table); the sort, the publication period and the length filters work in the same way. If you give a cookie as well, the cookie is used and this option is not charged.
Monitoring: only the new results
Tick Only new results (onlyNew) and schedule the Actor. The first run returns everything; each later run skips the videos, comments and bullet comments already delivered: they are not saved and not charged. Profile rows and trending topics are always delivered. On a sound, a collection or a keyword search the list is not read newest first, so each run delivers the videos it has never delivered, up to your maximum, even when the search is sorted by date: it does not stop at the first known video as it does on a creator. The memory lives in a named key-value store of your account (douyin-videos-scraper-seen, up to 150,000 results per key) and is only updated with results that really reached the dataset, so a failed run never hides anything. Give each schedule its own stateKey (two schedules sharing a key would hide each other's results), and tick resetState once to start over. A creator's videos are read newest first and the reading stops once it meets a run of videos you already have — never more than the previous run delivered for that creator, and never more than your caps allow (pinned videos are not counted) — so the older videos your cap left out are never delivered later.
Filter by publication date
postedAfter and postedBefore take a date (2026-09-01, the whole day is included, Beijing time) or a period before now (7 days, 2 weeks, 1 month; via the API also 24 hours or a full ISO date-time). The filter reads the publication time of a video (createTimeIso); a video without a publication date is dropped as soon as a date bound is set. Filtered-out videos are not saved and do not count in Max results (each video the filter checks is charged the filter fee, see the pricing section); the run summary tells how many were filtered. On a creator, reading stops at the first video older than postedAfter that is not pinned. Bullet comments and profiles are not filtered; comments and trending topics have their own filters, below.
Filter by counts, hashtags, places, sound and authors
Beyond the dates, words, likes, comments, shares, length and author followers, you can keep or drop videos by their saves (minCollects), views (minViews), engagement rate (minEngagementRate, a fraction: 0.05 = 5%), a maximum number of likes (maxLikes), hashtags (includeHashtags, excludeHashtags), categories (categoriesAny), place (onlyWithLocation, locationKeywords), ads (excludeAds), products (onlyWithProducts), original sound (onlyOriginalSound), AI-generated videos (aiGenerated) and creators (excludeAuthors). A video whose figure is missing is dropped by the filters that ask for a minimum (views, engagement rate) or for a positive flag (products, original sound, location). Every video a filter checks is charged the filter fee, kept or dropped, as with the other filters.
Filter comments
Tick includeComments, then keep only the comments (and replies) you want: minCommentLikes (a minimum number of likes), commentKeywords (the text holds one of your words), excludeCommentKeywords (the text holds one of your words as a whole word: dropped), commentsWithImagesOnly, commentLocations (the province of the commenter, such as 广东 or 北京) and commentedAfter (a date or a period before now, as for the videos; a comment without a date is dropped). A comment that is filtered out is not saved and does not count in Max results. Every comment a filter checks is charged the filter fee, kept or dropped; a comment is checked only if one of these filters is on, and a filter on videos never charges a check on a comment. The replies under a comment that is dropped are not read. With Only new results, a comment dropped for its words, its images, its province or its date is not checked or charged again at the next run; one dropped for too few likes is checked again, because its likes may have grown. Douyin does not sort the comments by date: commentedAfter filters them one by one and never stops the reading early.
Filter trending topics
minHotValue keeps the topics of the boards you chose (trendBoards) whose heat is at least that value, and trendKeywords keeps the topics whose title contains one of your words (Chinese or Latin, case ignored). A topic that is filtered out is not saved and its lead video is not opened. Every topic a filter checks is charged the filter fee, kept or dropped. Calendar, hashtag, suggestion and short-drama rows are not checked.
Keep the video and image files
The video and image links Douyin gives expire after a few hours (cdnUrlExpiresAt tells when). Tick Download video files (MP4) and / or Download cover images to keep a copy in the run's key-value store: the row then carries a lasting link to it. A video whose best stream is larger than Max video file size (100 MB by default) is saved in a smaller stream when Douyin offers one; otherwise it is not downloaded and the row says why.
🔌 Integrations and API
Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.
🤖 Use with AI agents (MCP)
AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the Apify MCP server, billed to their Apify account like any run. It returns one item per Douyin row: a video, a creator, a comment, a bullet comment or a trending topic (type says which). Actor id: nice_dev/douyin-videos-scraper; MCP server with this Actor only: https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/douyin-videos-scraper.
Smallest input, for a cheap first call:
{"profileUrls": ["https://www.douyin.com/user/MS4wLjABAAAArB6pB4M5W77nh-dtEpir53PoXSWn6vpZIFoJdFRHRrM"],"maxVideosPerProfile": 5,"maxItems": 10}
Key output fields: type, url, description, createTimeIso, likeCount, commentCount, shareCount, authorNickname.
Cost: pay per event, each kind of row at its own price, see the pricing section above; the Actor's own filters and the options (all off by default) cost extra. Cap each call with maxItems and, through the API, with the run option maxTotalChargeUsd.
❓ FAQ
Is it legal to scrape Douyin?
The Actor only reads what Douyin shows publicly to any anonymous visitor. The one exception is the keyword search, which Douyin answers only to a logged-in account: there it reads with the session of the account whose cookie you give; in a run that also has links, creators or comments, the whole run is read with that account. Results contain personal data (nicknames, bios, comments, the province Douyin shows, e-mail addresses or phone numbers people wrote in their bio), which is protected by China's Personal Information Protection Law (PIPL), by GDPR and by similar laws: do not store it without a legitimate reason, and delete what an author has deleted. You are responsible for using the data in compliance with Douyin's Terms of Service and applicable law. This Actor is not affiliated with Douyin or ByteDance.
Does it need a Douyin account, a cookie or a proxy?
No account and no cookie for videos, photo posts, creators, sounds, collections, video feeds, comments, bullet comments and trending topics. The keyword search is the exception: it needs the cookie of your own Douyin account (see the tip above), and a run that also has other sources reads them all with that account; or tick Search without a cookie (paid option) to search videos with no account. With neither, the keywords are skipped and the run says so. A run made of keywords alone, with neither, is refused with a message that says why. The proxy is included in the price: leave the default setting (the residential proxy is not available).
Is the data safe to open in Excel or to show on a web page?
Descriptions, bios, comments and bullet comments are their authors' own words, copied as they are. A text can begin with -, +, = or @ (a mention, -20% today): Excel and Google Sheets may read such a cell of a CSV file as a formula or as a number. The Actor leaves the text as it is, so that the JSON and the API give the real value: when you open a CSV, import these columns as text. On a web page, escape every field like any text written by a stranger.
Known limitations
- Douyin gives no view count on the web:
viewCountis empty on the routes the Actor reads from the site and in the search without a cookie; only the Popular videos option fills it. - Popular videos lists 10 videos a page, with no length, media type, verified badge or creator link (
authorSecUid): if Min / Max length, Media type, Verified accounts only, Min saves, Must carry a hashtag, Exclude hashtags, Categories, Only videos with a location, Location keywords, Exclude ads, Only videos with products, Only original sound or AI-generated videos (other than all) is set, the list is not read and the run says so. Exclude authors judges the list's videos on the creator's user number alone. A page with no new video ends the list. - A creator is found by link, sec_uid or numeric uid, never by Douyin ID (the short name under the nickname): Douyin refuses it.
- A creator's videos: about 44 per creator. Douyin shows a visitor without an account the first page of a creator's videos and nothing after it, whatever Max videos per creator says. The run keeps that page, says so once in the log and in its last message, and does not fail; the creator's profile row says in
videoCounthow many videos exist. The statistics of the creator rest on the same videos. Comme