Douyin Scraper - Profiles, Videos, Comments and Trending

v1.0.5
dev.workers.pomlabs.pom-data-api/douyin-scraper Checked 4 days ago Published 20 hours ago

Douyin (Chinese TikTok) without login or cookies: creator profiles with their latest posts, full

Douyin (Chinese TikTok) without login or cookies: creator profiles with their latest posts, full video stats with comments, videos that use a sound, the hot search board and creator search by keyword. Clean English fields. $1.50 per 1,000 results. Get data from Douyin (抖音), the Chinese TikTok, without login, cookies or a Chinese phone number: creator profiles with their latest posts, full video stats with comments and danmaku (bullet comments), no-watermark MP4 links and downloads, videos that use a sound, the five hot-search boards with each topic's lead video, and creator search by…

Summary extracted from the README.

Douyin Scraper - Profiles, Videos, Comments and Trending

Douyin (Chinese TikTok) without login or cookies: creator profiles with their latest posts, full video stats with comments, videos that use a sound, the hot search board and creator search by keyword. Clean English fields. $1.50 per 1,000 results.

Run it on Apify: no install, free credit on a new Apify account.

Get data from Douyin (抖音), the Chinese TikTok, without login, cookies or a Chinese phone number: creator profiles with their latest posts, full video stats with comments and danmaku (bullet comments), no-watermark MP4 links and downloads, videos that use a sound, the five hot-search boards with each topic's lead video, and creator search by keyword.

Why this one

  • One field for everything: put profile links, video links, short share links (v.douyin.com), sound links, keywords and trending in the same list. The input names of other Douyin actors work too (profileUrls, videoUrls, userUrls, keywords, maxPostsPerProfile, maxItems, shouldDownloadVideos...).
  • Profiles: followers, following, total likes, number of posts, bio, verified title, IP location, province and city, plus the latest posts (Douyin shows visitors about 40), with a date filter (recentDays, oldestPostDate) and excludePinned.
  • Videos: likes, comments, shares, favorites, recommends, length, size, publish date, caption, hashtags, Douyin's own topic tags (videoTags, e.g. 美食 → 家常菜), AI-generated label, warning label, collection, chapters, sound with its audio link, cover, photo posts with every image, and videoUrl: a no-watermark 1080p link that does not expire, free on every video.
  • Full post detail: statistics (likes, comments, shares, favorites, recommends, admires), permissions (download, duet, stitch, comment, private, in review, why download is blocked), commerce and ad flags, story flags, @mentions, the creator's declaration (作者声明), every bitrate with codec, fps and size, and the sound's owner, length and how many videos use it.
  • Only here: the danmaku count of each video and Douyin's related searches (大家都在搜) shown under it, a free list of what viewers search next.
  • Profiles in depth: verification type and text, account certificate, school, shop and live-commerce flags, Star Atlas (星图) flag, collections, personal tags, Instagram/Twitter/YouTube handles when set, every avatar size, background image and share links.
  • Downloads (optional): MP4 without watermark, covers and photo-post images saved to your key-value store, with the link in each row.
  • Comments: paginated, up to 1,000 per video, with likes, reply count, date and the IP location Douyin shows.
  • Danmaku (弹幕): the on-screen bullet comments of a video, up to 1,000, each with the second of the video it appears at.
  • Trending: the five hot-search boards (hot topics 热点榜, entertainment 娱乐榜, society 社会榜, product picks 种草榜, challenges 挑战榜) with heat value, views, number of videos, best rank, cover, topic link and, on the challenge board, the most used sound. Turn on includeTrendVideos to also get the video Douyin opens for each topic, with full stats.
  • Clean output: English field names, ISO dates, durations in seconds. Failed lookups are free.

Input

Field What it does
queries Profile links (https://www.douyin.com/user/MS4wLjABAAAA...), video links or ids, v.douyin.com share links, sound links (douyin.com/music/<id>), trending (or trending:society, trending:seeding...), or keywords (creator search)
maxResults Posts per profile, videos per sound, trends per board or creators per keyword (default 30)
maxComments Comments per video link (default 0)
maxDanmaku Bullet comments per video link (default 0)
includeRelated Videos Douyin recommends next to each video link
trendBoards Which boards trending returns: hot, entertainment, society, seeding, challenge (Chinese names work too)
includeTrendVideos The lead video of each trending topic, with full stats
recentDays, oldestPostDate, excludePinned Filters for profile posts
downloadVideos, downloadCovers, downloadImages, kvStoreName Save MP4s (no watermark), covers and photo-post images to a key-value store

Output

{
  "type": "video",
  "source": "profile",
  "rank": 1,
  "awemeId": "7710161880123717873",
  "url": "https://www.douyin.com/video/7710161880123717873",
  "description": "不知道吃什么菜的时候那就来这道榨菜炒肉丝嘎嘎下饭#榨菜炒肉丝 #家常菜",
  "author": "娇娇的美食日记",
  "authorDouyinId": "dylk4dp2vnqz",
  "authorFollowers": 689476,
  "likes": 54,
  "comments": 5,
  "shares": 11,
  "favorites": 34,
  "durationSec": 42,
  "publishedAt": "2026-11-20T08:05:54Z",
  "videoTags": [{"name": "美食", "level": 1}, {"name": "美食展示", "level": 2}, {"name": "普通美食展示", "level": 3}],
  "videoUrl": "https://www.douyin.com/aweme/v1/play/?video_id=v2700fgi0000dbvvtu7og65oljn73gt0&ratio=1080p&line=0",
  "width": 720,
  "height": 1280,
  "musicUrl": "https://lf9-music-east.douyinstatic.com/obj/ies-music-hj/7710161887962549049.mp3",
  "status": "ok"
}

A danmaku row: {"type": "danmaku", "awemeId": "7610711200906065509", "text": "好吃", "atSec": 0.0, "userId": "72724259772"}. A trend row: {"type": "trend", "board": "challenge", "boardName": "挑战榜", "rank": 1, "word": "...", "hotValue": 8032974, "views": 4115770, "videoCount": 10, "bestRank": 6, "musicId": "7710880700014119699", "url": "https://www.douyin.com/hot/2765447"}.

Rows have a type: user (profile or creator found by keyword), video, comment, danmaku or trend. Queries that fail (removed video, bad link, Douyin refusing) come as a row with type: "error" and the reason, and are not charged.

Use cases

  • China market research: what Chinese viewers watch and say about a brand, a product or a game, in comments and bullet comments.
  • Influencer discovery: find Douyin creators by keyword, with followers and likes, then read their profiles and posts.
  • Competitor and brand tracking: follow the latest posts of a set of accounts and their numbers, with a date filter.
  • Trend watching: the five hot-search boards every day, with the lead video of each topic.
  • Content and AI datasets: no-watermark MP4s, covers and Douyin's topic tags.

Pricing

$1.50 per 1,000 results (profiles, videos, comments, danmaku and trends), less on higher Apify plans. Files saved to your key-value store (MP4s, covers and photos of image posts): $2.50 per 1,000 files (storing a file costs more than a data row). The videoUrl link is free.

Notes

  • Douyin shows visitors only the latest ~40 posts of a profile; the full count comes in the profile row (posts).
  • Keyword search returns creators. Keyword search of videos needs a logged-in Douyin account and is not offered yet.
  • play_count is hidden by Douyin on the web, so views are not returned; likes, comments, shares and favorites are.

Call it by API

curl -X POST "https://api.apify.com/v2/acts/pomlabs~douyin-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["trending"], "maxResults": 20, "maxComments": 20}'

Python:

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("pomlabs/douyin-scraper").call(run_input={"queries": ["trending"], "maxResults": 20, "maxComments": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

Use it from Claude, Cursor or any MCP client

claude mcp add douyin-scraper "https://mcp.apify.com?tools=pomlabs/douyin-scraper" -t http

More Actors by Pom Labs

All our Actors: apify.com/pomlabs