Douyin 抖音 Video Scraper: Stats, MP4 & Music avatar

Douyin 抖音 Video Scraper: Stats, MP4 & Music

Pricing

from $3.99 / 1,000 videos

Go to Apify Store
Douyin 抖音 Video Scraper: Stats, MP4 & Music

Douyin 抖音 Video Scraper: Stats, MP4 & Music

Scrape Douyin (抖音) videos and photo posts by link or ID, no login needed. Get likes, comments, shares, saves, the author, music, hashtags, every video quality with direct and long-lived MP4 links, covers, shopping cards and chapters. Pay only for results.

Pricing

from $3.99 / 1,000 videos

Rating

0.0

(0)

Developer

TheShark

TheShark

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Scrape public data of Douyin (抖音, the Chinese TikTok) videos and photo posts by link or ID: likes, comments, shares and saves, the author's profile, music, hashtags and Douyin's topic tags, every video quality with direct MP4 links (including links that keep working), covers, shopping cards, chapters and more. One clean row per post.

No Douyin account, login, cookies or proxies of your own are needed. You pay only for posts that were collected.

What can you do with Douyin Video Scraper?

  • Track video performance: likes, comments, shares, saves and Douyin's recommendation count for any list of videos, on a schedule.
  • Download videos: direct MP4 links in every quality, H.264 and H.265, audio tracks and covers.
  • Research content and trends: captions, hashtags, Douyin's topic tags, music and chapters.
  • Analyze creators and brands: the author's followers, likes and verification come with every post.
  • Find products: shopping cards (小黄车) attached to videos, with title, sales and shop.
  • Use it as a Douyin API: start runs and get results from your own code through the Apify API.

What data can you get from Douyin videos?

DataFields
PostID, link, caption, date, duration, type (video or photo post), region, pinned flag
Engagementlikes, comments, shares, saves, recommendations, bullet comments
Authornickname, Douyin ID, sec_uid, followers, total likes, verification, avatar, banner
Videoplay, download, H.264 and H.265 links, every quality with bitrate and size, audio tracks, covers, long-lived links
Photo postsevery picture with its size and download link
Musictitle, author, duration, MP3 link, cover
Tagshashtags, mentions, Douyin's topic tags
Extrascollection (合集), location, shopping cards, chapters and summary, search suggestions, paid series, permissions, status

How to scrape Douyin videos

  1. Paste video links (douyin.com/video/…, douyin.com/note/…, v.douyin.com short links from the share button) or numeric video IDs.
  2. Click Start. A row per post appears in the dataset.
  3. Download the results as JSON, CSV, Excel or HTML, or get them through the API.

Input

FieldDescription
Douyin video links or IDsVideo or photo-post links, v.douyin.com short links or numeric video IDs, one per line.
{
"videoUrls": [
"https://www.douyin.com/video/7704994297501846825",
"7705036283671858447"
]
}

Output

One row per input. Nested objects are always present (empty values when Douyin has no data), so every row has the same columns.

Post

FieldDescription
aweme_idDouyin post ID.
input_urlYour input exactly as given — use it to match short links and IDs to results.
urlCanonical link: https://www.douyin.com/video/<id> (or /note/<id> for photo posts).
share_urlDouyin's share link (tracking query removed).
post_typevideo or images (photo/slideshow post).
aweme_typeDouyin's raw post type (0 = video, 68 = photo post, others exist).
media_typeDouyin's raw media type (4 = video, 2 = images).
descFull description, including hashtags.
captionCaption text as Douyin stores it separately (may be empty).
item_titleTitle (long videos usually have one; may be empty).
create_timePublish time, unix seconds.
create_time_isoPublish time, ISO 8601 UTC.
regionRegion code Douyin attaches to the post (often empty).
is_topPinned on the author's profile.
is_aigcDouyin labels the post (or one of its pictures) as generated content.
is_adsThe post is a paid ad.
danmaku_countNumber of bullet comments (弹幕) on the video.
durationDuration in milliseconds (0 for photo posts).
oktrue for a successful row.

Statistics

FieldDescription
statistics.digg_countLikes.
statistics.comment_countComments.
statistics.share_countShares.
statistics.collect_countFavourites (收藏).
statistics.recommend_countRecommendations (推荐) — the best public reach signal.
statistics.admire_countDouyin's "admire" (赞赏) counter. Usually 0 on the web.
statistics.play_countViews. Usually 0: Douyin hides view counts on the web (they are app-only). A 0 does not mean nobody watched.

Author

FieldDescription
author_sec_uidAuthor's sec_uid (same as author.sec_uid).
author.uidNumeric user ID.
author.sec_uidStable public user ID used in profile URLs.
author.unique_idThe @handle (Douyin ID); empty when the user never set one.
author.short_idLegacy numeric Douyin ID (empty when not set).
author.nicknameDisplay name.
author.signatureBio.
author.avatar_thumbAvatar image URL.
author.follower_countFollowers.
author.following_countFollowing (Douyin often reports 0 here).
author.total_favoritedTotal likes the author has received.
author.favoriting_countLikes the author has given.
author.custom_verifyVerification text (e.g. a creator badge).
author.enterprise_verify_reasonBusiness verification text.
author.verification_typeDouyin verification type code.
author.cover_urlThe author's profile banner image URL.

Video file

FieldDescription
video_play_addrMain playback MP4 URL (empty for photo posts).
video.play_addr_h264H.264 MP4 URL. Empty when Douyin serves the video only as H.265; video_play_addr always works.
video.play_addr_265H.265/HEVC MP4 URL (smaller files, when available).
video.download_addrDouyin's "download" rendition (may carry a watermark).
video.widthSource width in pixels.
video.heightSource height in pixels.
video.ratioDouyin's ratio/quality label.
video.coverCover image URL.
video.origin_coverOriginal cover image URL.
video.dynamic_coverAnimated cover URL.
video.cdn_url_expiredUnix time when the video URLs above stop working.
video.play_url_stableLong-lived link to the same video as video_play_addr (a www.douyin.com/aweme/v1/play/ URL). It redirects to a fresh CDN link on every request, so it keeps working after video.cdn_url_expired (verified 25+ hours after capture; Douyin does not publish its lifetime, so re-scrape for long-term archives). No cookies or headers needed. Empty for photo posts.
video.formatDouyin's preferred web delivery format (e.g. dash). It does not describe video_play_addr, which is always a complete MP4 with sound.
video.download_url_stableLong-lived link to video.download_addr, same behaviour as video.play_url_stable.
video.has_watermarkDouyin's flag that a watermarked rendition exists.
video.is_long_videoDouyin classifies the video as long-form.
video.bit_rate[]Every available quality (both mp4 and dash renditions), each with:
video.bit_rate[].gear_nameQuality name (e.g. normal_1080_0).
video.bit_rate[].quality_typeDouyin quality code.
video.bit_rate[].formatmp4 = complete file with sound. dash = video-only stream for adaptive players (no audio track) — pick an mp4 row to download a watchable file.
video.bit_rate[].bit_rateBitrate, bits per second.
video.bit_rate[].is_h265H.265 encoded.
video.bit_rate[].fpsFrames per second.
video.bit_rate[].widthWidth in pixels.
video.bit_rate[].heightHeight in pixels.
video.bit_rate[].data_sizeFile size, bytes.
video.bit_rate[].urlDirect URL for this quality (expires with video.cdn_url_expired).
video.bit_rate[].url_stableLong-lived link to this exact quality (redirects to a fresh CDN URL of the same file).
video.bit_rate_audio[]Audio-only DASH streams (AAC in fragmented MP4). Pair one with a dash video quality to build a full file (e.g. ffmpeg -i video -i audio -c copy out.mp4). Each with:
video.bit_rate_audio[].bitrateBitrate, bits per second.
video.bit_rate_audio[].formatDelivery format (DASH).
video.bit_rate_audio[].codec_typeCodec label as Douyin sends it — not reliable for audio (it can read like a video codec while the stream is AAC).
video.bit_rate_audio[].qualityDouyin quality label.
video.bit_rate_audio[].sizeStream size, bytes.
video.bit_rate_audio[].urlDirect URL (expires like the other CDN links).
video.bit_rate_audio[].url_stableLong-lived link to this audio stream.

Photo posts

FieldDescription
images[]The pictures of a photo post (empty for videos), each with:
images[].urlImage URL.
images[].download_urlDouyin's download rendition (watermarked).
images[].widthWidth in pixels.
images[].heightHeight in pixels.
images[].is_aigcDouyin labels this picture as generated content.

Music

FieldDescription
music_titleMusic title (same as music.title).
music.idMusic ID.
music.titleTitle.
music.authorArtist / creator name.
music.owner_idUser ID of the music's owner.
music.owner_nicknameOwner's display name.
music.durationDuration in seconds.
music.is_original_soundThe track is the creator's original sound.
music.play_urlMP3 URL.
music.cover_largeMusic cover URL.
music.albumAlbum name (often empty).
music.owner_handleThe @handle of the music's owner.
music.is_commerce_musicLicensed commercial music from Douyin's library.
music.is_pgcProfessionally produced music (label/PGC), not a user's original sound.

Hashtags, mentions, tags

FieldDescription
hashtags[]Creator-typed hashtags, each with:
hashtags[].hashtag_idHashtag (challenge) ID.
hashtags[].hashtag_nameHashtag text without #.
mentions[]@mentions in the description, each with:
mentions[].textThe mention as written (e.g. @name).
mentions[].uidMentioned user's numeric ID.
mentions[].sec_uidMentioned user's sec_uid.
video_tags[]Douyin's own 3-level topic classification (e.g. 美食 → 美食探店 → 餐厅探店), each with:
video_tags[].tag_idTag ID.
video_tags[].tag_nameTag name.
video_tags[].level1, 2 or 3.

Collection and location

FieldDescription
mix.mix_idCollection (合集 / series) ID, empty when the post is not in one.
mix.mix_nameCollection name.
mix.current_episodeThis post's episode number in the collection.
mix.updated_to_episodeEpisodes published so far.
poi.poi_idTagged location (POI) ID, empty when none.
poi.poi_nameTagged location name.

Products (小黄车 shopping cards)

FieldDescription
products[]Products the creator attached to the post (empty when none). Each with:
products[].product_idDouyin shop product ID (stable).
products[].promotion_idPromotion ID the card links to.
products[].titleFull product title.
products[].elastic_titleShort title shown on the card.
products[].salesUnits sold, as shown on the card.
products[].comment_countProduct reviews.
products[].coverProduct image URL.
products[].urlProduct page on Douyin's shop (ecom.douyin.com).
products[].shop_idSeller's shop ID.
products[].goods_sourceWhere the product comes from (e.g. 来自小店 = a Douyin shop).
products[].category_names[]Category path, top-down (e.g. 服装 → 女装 → 其他套装).
products[].tags[]Card tags (shipping promise, review count…).

Chapters, summary and search suggestions

FieldDescription
chapters[]Video chapters — the creator's own, or Douyin's automatic ones (see chapter_source). Each with:
chapters[].titleChapter title.
chapters[].detailChapter description (may be empty).
chapters[].timestamp_msChapter start, milliseconds.
chapters[].coverChapter thumbnail URL (creator chapters only).
chapter_source"creator", "auto" (chapters Douyin made itself) or empty when the video has none.
chapter_abstractDouyin's own summary of the whole video, when there is one.
suggest_words[]The "大家都在搜" (people also search) queries Douyin shows under the post — real search demand around the video. Each with:
suggest_words[].wordThe search query.
suggest_words[].word_idDouyin ID of the query.
suggest_words[].sceneWhere Douyin shows it (e.g. above the comments).
FieldDescription
series.series_idSeries ID (empty when the post is not in a series; often the same as mix.mix_id).
series.series_nameSeries name as Douyin shows it.
series.episodeThis post's episode number.
series.total_episodeEpisodes in the series.
series.total_durationWhole series duration, seconds.
series.item_pricePrice as Douyin reports it (0 = free).
series.is_paidThe series is a paid one.

Permissions and status

FieldDescription
permissions.allow_downloadViewers may download the video in the app.
permissions.allow_duetDuets (合拍) allowed.
permissions.allow_stitchStitching allowed.
permissions.allow_shareSharing allowed.
permissions.allow_commentComments open.
permissions.allow_record"Use this sound / shoot the same" allowed.
status.private_status0 = public; other values = restricted visibility.
status.in_reviewingUnder Douyin review.
status.is_prohibitedRestricted by Douyin.

Row statuses

RowMeaningCharged?
ok: trueThe post was collected.Yes
ok: falseThe post was not collected. error and reason say why: BlockedOrGone means the post was deleted, made private or never existed; for any other value, run it again later.No
error: "Skipped"The run did not get to this input. Run it again.No

Rows with ok: false carry url and input_url (your input).

How much does it cost to scrape Douyin videos?

The actor uses pay-per-event pricing: a flat price per collected post and a small fee per run start. The current prices are on the Pricing tab.

EventWhen it is charged
ResultOne video or photo post collected (ok: true).
Actor startOnce per run.

You pay only for what was delivered:

  • Only rows with data are charged. Rows with ok: false are free.
  • Set a maximum cost per run in Apify and the actor stops cleanly when it is reached, keeping everything collected so far.
  • Nothing is charged twice in one run, even if Apify restarts or migrates the run.

Good to know

  • View counts. Douyin does not show view counts on its website, so statistics.play_count is usually 0. Use statistics.recommend_count, likes, comments, shares and saves to compare reach.
  • Links that keep working. Media links are signed CDN links that expire (see video.cdn_url_expired). The *_stable links (video.play_url_stable, video.download_url_stable, video.bit_rate[].url_stable, video.bit_rate_audio[].url_stable) redirect to a fresh copy of the same file, so store those.
  • Qualities. dash entries in video.bit_rate[] are video-only tracks; mp4 entries and video_play_addr include sound.
  • Products. products[] lists the shopping cards (小黄车) attached to a video, with title, sales, shop and category. Prices are not part of Douyin's public web data.
  • Location. poi.poi_id and poi.poi_name are filled when Douyin includes the location in the post.
  • Photo posts have post_type: "images", the pictures in images[] and no video links; their background music is in music.play_url.
  • Data is in Chinese, exactly as Douyin shows it.
  • Public data only. The actor collects what anyone can see on douyin.com without an account.

Integrations and API

  • API: start runs and download results with the Apify API or the Apify clients for Python and JavaScript.
  • Schedules: run the actor every hour, day or week and keep the numbers fresh.
  • Integrations: send results to Google Sheets, Slack, Make, Zapier, webhooks and other tools supported by Apify.

FAQ

Do I need a Douyin account or proxies? No. The actor does not log in and uses its own proxies.

Can I download the videos? Yes. Every row has direct MP4 links in every quality. Use video.play_url_stable (or the other *_stable links) if you download later: they keep working after the regular CDN links expire.

Do short links work? Yes. Links from Douyin's share button (v.douyin.com/…) are opened automatically.

Can I get all videos of a creator? Use Douyin User Posts Scraper for a creator's latest posts, or Douyin Search Scraper for videos by keyword, and pass the links here when you need the full details.

Do I pay for videos that were not collected? No. Only rows with data are charged.