Douyin Video Scraper - Metadata from URLs & Aweme IDs
Pricing
from $5.00 / 1,000 video scrapeds
Douyin Video Scraper - Metadata from URLs & Aweme IDs
Scrape public Douyin (抖音) videos from URLs, share links or aweme IDs, one row per video for China-market research. Each row has caption, stats, music, hashtags, author and play URL.
Pricing
from $5.00 / 1,000 video scrapeds
Rating
0.0
(0)
Developer
Khadin Akbar
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
What is Douyin Video Scraper?
Turn a public Douyin (抖音) video URL, share link, or numeric aweme ID into one structured metadata row. Paste the identifiers you already have and get caption, like/comment/share/collect counts, music, hashtags, author, and the CDN play URL Douyin exposes for the video. Up to 1,000 videos per run, looked up in batches.
This Actor is for China-market researchers, KOL agencies, and AI agents that need a single video's public facts before they branch into search or profile workflows.
What's new (version 0.4)
- Up to 1,000 videos per run (was 50). Lists are looked up in batches of 10, several batches at once, so long lists finish in minutes.
- One-off service errors are retried before any costlier backup route is used, so failed lookups are rarer and cheaper.
- Memory follows run size (small runs stay at 256 MB).
OUTPUTnow has anagentSummarysentence and a cost line for AI agents.- Free plan: first 10 videos per run.
- Honest wording: Douyin hides play counts on this route, so they are not returned (see the field table).
Best fit for this Actor
- Enrich a known list of Douyin video URLs or aweme IDs with public stats and author fields.
- Audit a campaign creative after someone forwards a
v.douyin.comshare link. - Feed MCP or CRM workflows with one predictable row per video.
Use this Actor when you already have Douyin video URLs, share links, or aweme IDs and need one public metadata row each. Do not use it for keyword discovery, creator profiles, comments, or MP4 archiving: those are separate Actors linked below.
When you need keyword discovery, start at Douyin Search Scraper. After a video is confirmed, enrich the creator with Douyin Profile Scraper. For global TikTok video URLs, use TikTok Video Scraper. Comments, Shop SKUs, and MP4 archives stay on dedicated workflows.
Practical scenario
A cross-border ecommerce analyst pastes https://www.douyin.com/video/7577614489533680959 and keeps maxVideos at 1. The Actor returns one row: caption, like/comment/share/collect counts, music title, hashtags, author nickname, and a CDN playUrl. A deleted or private id finishes SUCCEEDED with VALID_EMPTY and no video-scraped charge. Videos that clear the public bar can then be sent to the profile scraper using authorProfileUrl.
Quick start input
{"videoUrls": ["https://www.douyin.com/video/7577614489533680959"],"maxVideos": 1}
videoUrls accepts canonical /video/{id} links, v.douyin.com share links, iesdouyin.com/share/video/{id} URLs, or a bare 15–21 digit aweme ID. Share text copied from the app (a sentence that contains a v.douyin.com link) also works. Duplicates are collapsed before any lookup, including a share link and an ID that point to the same video.
Input reference
| Field | Type | What it controls |
|---|---|---|
videoUrls | array (required) | Public Douyin video URLs, share links, or aweme IDs. Example: https://www.douyin.com/video/7577614489533680959. Up to 1,000 unique values per run. |
maxVideos | integer | Hard cap after dedupe. Default 10, max 1,000. Free plan: 10. Acts as a cost cap. |
What data you receive
One dataset item is one public Douyin video.
{"awemeId": "7577614489533680959","videoUrl": "https://www.douyin.com/video/7577614489533680959","caption": "Example public caption #美食","createTime": "2025-09-04T13:53:20.000Z","durationSec": 15,"likeCount": 1200,"commentCount": 34,"shareCount": 12,"coverUrl": "https://example.invalid/cover.jpg","playUrl": "https://example.invalid/play.mp4","hashtags": ["美食"],"authorNickname": "Creator","authorProfileUrl": "https://www.douyin.com/user/MS4wLjABAAAAexample","scrapedAt": "2025-01-15T12:00:00.000Z"}
| Field | Meaning |
|---|---|
awemeId + videoUrl | Stable video id and canonical permalink |
likeCount / commentCount / shareCount / collectCount | Public engagement counters. Douyin hides play counts and follower counts on this route, so playCount and authorFollowers are left out rather than reported as 0 |
playUrl / coverUrl | CDN URLs from the public payload; they expire and may include a watermark |
authorNickname / authorProfileUrl | Public creator identity for a follow-up profile scrape |
scrapedAt / provider | Collection time (ISO 8601) and which data route served the row (primary or backup) |
OUTPUT and RUN_SUMMARY in the default key-value store hold outcome, itemsPushed, and chargedEventCounts.
Each row includes a public CDN playUrl. This SKU returns metadata plus that link; a separate archive-to-store step is out of contract.
Use through the API
curl -X POST "https://api.apify.com/v2/acts/khadinakbar~douyin-video-scraper/runs" \-H "Authorization: Bearer $APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"videoUrls":["https://www.douyin.com/video/7577614489533680959"],"maxVideos":1}'
Download rows as JSON, CSV, Excel, or HTML from the Dataset tab.
Use with AI agents through Apify MCP
Scrape public Douyin video metadata for https://www.douyin.com/video/7577614489533680959. Return awemeId, caption, likeCount, commentCount, authorNickname, and videoUrl. Keep the scope to one public video.
Connect via https://mcp.apify.com. Read OUTPUT.outcome and itemsPushed to interpret empty datasets. Cost signal: one video-scraped event per returned video (see the Pricing tab; Store plan discounts apply). OUTPUT.agentSummary is a one-sentence result and OUTPUT.routes.estimatedServiceCostUsd is the run's lookup cost line. Deleted or private videos surface as VALID_EMPTY without a video-scraped charge.
Connect the workflow
- After you confirm a video, enrich the creator with Douyin Profile Scraper.
- When you still need video URLs, discover them with Douyin Search Scraper.
- For global TikTok rather than 抖音, use TikTok Video Scraper.
Pricing
This Actor uses Pay per event. The live Pricing tab is the current source of truth for prices, including Free, Bronze, Silver and Gold plan discounts.
apify-actor-start: charged once per run (tiny).video-scraped: charged once per returned video metadata row.
Cost example: 1,000 videos = 1,000 video-scraped events at your plan's price. Invalid input, deleted, private or unavailable videos have no video-scraped charge, and maxVideos plus your maximum cost per run cap the spend. The Actor runs at 256 MB with no browser (512 MB above 500 videos).
How it works
- Normalize and deduplicate video URLs, share links, and aweme IDs.
- Resolve share links by following Douyin's own redirect to the
/video/{id}page (no browser). - Look up videos through a request-based data route: lists of 10 or more go in batches of 10, the rest one by one, several at once. One-off errors are retried (same route twice, then a sister route).
- Check that the record is the requested video, then save it and charge
video-scrapedin one step.
Reliability
Version 0.2 no longer opens Douyin in a browser, so the captcha wall that blocked browser runs does not apply. Each video is fetched from the main data route and retried on one-off errors. A costlier backup route is only used for runs of 20 videos or more, for at most 5% of the videos. When the routes fail and no video was saved, the run ends FAILED with UPSTREAM_FAILED and zero billed rows. Deleted or private videos finish SUCCEEDED with VALID_EMPTY, and a mix of saved and missing videos is PARTIAL. If your maximum cost per run is too low for even one video, the run stops before any lookup with CONFIG_ERROR.
Best results
- Pass public
/video/{id}URLs, share links, or numeric aweme IDs. - Up to 1,000 videos per run; lists are batched and looked up in parallel.
- Old
proxyConfigurationsettings are accepted and ignored, so saved tasks keep working. - A deleted id finishes
SUCCEEDEDwithVALID_EMPTYand no video charge.
Evidence and freshness
Public fields come from Douyin's video detail record at scrape time (scrapedAt is ISO 8601). CDN playUrl values expire. Treat each result as a fresh public snapshot.
Builder's note
I built the first versions on an anti-detect browser behind residential proxies, and I found Douyin's captcha made that slow and costly (a single video could cost about $0.18 in platform usage). Version 0.2 switched to request-based data routes with a backup, so a run finishes in seconds at 256 MB, and version 0.4 adds batching for long lists. Keeping this Actor to one verb (URL/ID → one metadata row) lets agents call search or profile siblings only when they need those jobs, and keeps charging on metadata rows because the CDN URL already covers playback.
Legal and responsible use
Use this Actor on public Douyin web data you are authorized to process, follow applicable law and Douyin's terms, and keep the output in your own compliance workflow. Douyin and 抖音 are trademarks of ByteDance. This Actor is independent of Douyin / ByteDance.
Issues and feature requests: use the Actor Issues tab on Apify.
FAQ
Why is there no play count? Douyin hides plays on the video-detail route this Actor uses. We return likes, comments, shares and collects, which Douyin still shows, and never show a made-up 0.
What happens to deleted or private videos? No row and no charge. A run where every video is unavailable ends VALID_EMPTY.
How many videos can I send? Up to 1,000 per run. The Free plan runs the first 10.
Can I use share links copied from the app? Yes, including the full pasted share text.
Which Actor finds the video URLs? Douyin Search Scraper for keywords, Douyin Profile Scraper for a creator's posts.