TikTok Video Downloader
Pricing
from $5.00 / 1,000 downloaded tiktok video with audios
TikTok Video Downloader
extract video ID, title, description, uploader, uploader ID, views, likes, comments, shares, duration, thumbnail, and video download URL. Supports multiple URLs, Residential Proxy, retries, JSON and regex extraction, and structured Apify Dataset output.
Pricing
from $5.00 / 1,000 downloaded tiktok video with audios
Rating
0.0
(0)
Developer
Data Pilot
Maintained by CommunityActor stats
0
Bookmarked
8
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Features
Share
🎵 TikTok Video Downloader is an Apify Actor designed to save public TikTok videos (short-form videos, sometimes called "reels") as MP4 files with sound, together with the video's details. This TikTok Video Downloader takes TikTok video links, downloads each video, stores the MP4 in your Apify storage, and returns a download link, a player page link, and metadata such as title, creator, duration, and view, like, comment, and share counts. Whether you're backing up your own TikTok videos, collecting clips you have permission to use, or building an authorized media workflow, the TikTok Video Downloader delivers ready-to-use files efficiently.
With flexible link input, a two-step download strategy, audio-ready MP4 output, a built-in player page with a download button, and reliable Apify Dataset delivery, this TikTok Video Downloader actor returns one clean record per successfully downloaded video.
📋 Table of Contents
- Features
- Data Source
- How It Works
- Input
- Output
- Technical Stack
- Data Fields
- Use Cases
- Quick Start
- Configuration
- Performance
- Important Notes
- License & Legal
🔥 Features
- MP4 Video Download – Downloads public TikTok videos and saves them as MP4 files in your run's Key-Value Store. This is the core of the TikTok Video Downloader.
- Audio Included – Downloads video and audio and merges them, then converts the audio to AAC for wide browser and device compatibility.
- Built-In Player Page – Creates a simple web page with a video player and a download button for each video.
- Video Metadata – Title, ID, creator, description, duration, thumbnail, and view, like, comment, and share counts.
- Two Download Methods – First tries with
ffmpeg. If that fails, it reads the video address from the TikTok page and downloads the file directly. - Flexible Input – Accepts a list of links, link objects, or comma- or line-separated text.
- Duplicate Removal – Identical links are processed once.
- Direct-First Proxy Fallback – Tries a direct connection first, then Apify Proxy (residential by default).
- Status Summary – Sets a final status message such as "Successfully extracted 3 TikTok video(s) with sound".
- Detailed Logging – Logs progress for every TikTok Video Downloader run.
📊 Data Source
TikTok Public Video Pages
- Source: Public TikTok video links you provide
- Access Method:
withffmpeg` for the primary download. As a fallback, an HTTP request via `` (Chrome 124 fingerprint) reads the page's embedded data to find the video file address. - Coverage: Public TikTok videos reachable without logging in
- Data: The video file and the details TikTok exposes publicly
- Access: No login or API key used
This Actor is not affiliated with or endorsed by TikTok or ByteDance.
⚙️ How It Works
For each link, the Actor first tries to download the video with `. If that fails, it loads the TikTok page, finds the video file address in the page data, and downloads the file directly. The MP4 is then re-processed for audio compatibility, saved to the Key-Value Store along with a player page, and one record is saved to the Apify Dataset.
Key Processing Steps:
- Input Parsing – Read the list of links (or use the built-in test link if none are given) and remove duplicates
- Proxy Setup – Configure Apify Proxy (residential by default) for use as a fallback
- Primary Download – Download and merge video and audio with
andffmpeg` - Fallback Download – If needed, read the video address from the TikTok page and download it directly
- Audio Preparation – Copy the video and encode the audio as AAC, with fast-start metadata for web playback
- Storage – Save the MP4 and a player HTML page to the run's Key-Value Store
- Record Saving – Save one record with the details and links
- Status Message – Report how many videos succeeded
📥 Input
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | array or string | built-in test video | TikTok video links. Items can be text or objects with a url field. A string may be separated by commas or new lines. urls and videoUrls are also accepted as the field name. |
proxyConfiguration | object | {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]} | Apify Proxy configuration, used as a fallback after a direct attempt. |
If no link is provided, the Actor processes a built-in test video.
Example Input:
{"startUrls": ["https://www.tiktok.com/@username/video/1234567890123456789"]}
Several Videos, Without Proxy:
{"startUrls": "https://www.tiktok.com/@user1/video/111, https://www.tiktok.com/@user2/video/222","proxyConfiguration": { "useApifyProxy": false }}
📤 Output
One TikTok Video Downloader record is pushed per successfully downloaded video:
| Field | Type | Description |
|---|---|---|
title | string | Video title or description, up to 80 characters |
id | string | TikTok video ID |
source | string | Always "TikTok" |
url | string | The video link |
thumbnail | string | Thumbnail image URL |
duration | string | Duration as MM:SS or HH:MM:SS |
duration_raw | integer | Duration in seconds |
description | string | Video description |
uploader | string | Creator display name |
uploader_id | string | Creator username |
view_count | integer | Views |
like_count | integer | Likes |
comment_count | integer | Comments |
share_count | integer | Shares |
timestamp | integer | Unix timestamp (see notes) |
status | string | "success" |
scraped_at | string | ISO 8601 UTC timestamp |
download_url | string | Link to the player page with the download button |
mp4_url | string | Link to download the MP4 file |
Example Record (values illustrative):
{"title": "Example video description #fyp","id": "1234567890123456789","source": "TikTok","url": "https://www.tiktok.com/@username/video/1234567890123456789","thumbnail": "https://p16-sign.tiktokcdn.com/example.jpeg","duration": "00:15","duration_raw": 15,"description": "Example video description #fyp","uploader": "Example User","uploader_id": "username","view_count": 120000,"like_count": 9800,"comment_count": 150,"share_count": 300,"timestamp": 1761800000,"status": "success","scraped_at": "2026-10-30T09:00:00Z","download_url": "https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/tiktok_1234567890123456789_ab12cd34_player.html","mp4_url": "https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/tiktok_1234567890123456789_ab12cd34.mp4?attachment=true"}
🧰 Technical Stack
- Download:
withffmpeg` for merging video and audio - Fallback: `` with Chrome 124 TLS fingerprint impersonation, reading TikTok's embedded page data
- Audio Processing:
ffmpeg(video copied, audio encoded as AAC 128 kbps, fast-start enabled) - Storage: Apify Key-Value Store (MP4 and player page) and Apify Dataset (records)
- Proxy: Apify Proxy, residential by default, used after a direct attempt
- Logging: Apify Actor logging system
- Platform: Apify Actor serverless environment
📊 Data Fields Explained
Video
- id / url / title / description / thumbnail / duration: The video and its basic details
Creator
- uploader / uploader_id: Who posted the video
Engagement
- view_count / like_count / comment_count / share_count: Counts shown by TikTok at the time of the run
Files
- mp4_url: The MP4 file
- download_url: A page with a player and a download button
🎯 Use Cases
- Backing Up Your Own Videos – Save copies of videos you posted
- Licensed or Permitted Clips – Collect clips you have permission to use
- Authorized Media Workflows – Prepare video files for editing or archiving where you hold the rights
- Engagement Records – Record the visible counts for a video at a point in time
🚀 Quick Start
1. Prepare Input
Go to Apify Console and enter:
{"startUrls": ["https://www.tiktok.com/@username/video/1234567890123456789"]}
2. Run the Actor
Click Start. The Actor will:
- Download each video with sound
- Save the MP4 and a player page to the Key-Value Store
- Save one record per video to the Dataset
3. Monitor Progress
Console shows:
🔎 Loaded 1 target TikTok URL(s).🛡️ Fast Direct-First mode enabled with Apify Proxy fallback.[1/1] Extracting TikTok video with audio: https://www.tiktok.com/@username/video/...✅ Video #1 ready (Sound + Download Button) | Player: https://api.apify.com/...🎉 Scraping complete! Successfully extracted 1 TikTok video(s) with sound.
4. View & Download Results
- Dataset Tab: One record per downloaded video
- Key-Value Store Tab: The MP4 files and player pages
- Export: Dataset as JSON, CSV, Excel, or HTML
- API Access: Available via the Apify API
⚙️ Configuration
Several videos:
{"startUrls": ["https://www.tiktok.com/@user1/video/111","https://www.tiktok.com/@user2/video/222"]}
Direct connection without proxy:
{"startUrls": ["https://www.tiktok.com/@username/video/1234567890123456789"],"proxyConfiguration": { "useApifyProxy": false }}
📈 Performance
Processing Speed
- Videos are processed one after another
- Each video involves a download and an audio conversion of up to 35 seconds, so expect several seconds per video, and longer for large files
- A short pause of about 0.4 seconds follows each video
Resource Usage
- Memory: Each video is loaded fully into memory, so long or high-resolution videos need more memory
- Storage: MP4 files and player pages are stored in the run's Key-Value Store
- Network: Full video downloads
- Proxy: Optional Apify Proxy, used only after a direct attempt fails
⚠️ Important Notes
Legal & Compliance
- Copyright: TikTok videos and their music are protected by copyright. Download and use videos only if you own them, have the creator's permission, or they are licensed for that use. Do not repost, sell, or redistribute others' videos without permission.
- TikTok Terms: TikTok's Terms of Service restrict automated access and downloading outside its own features. Review them before use.
- Creator Privacy: Videos and usernames are personal content. Do not use the output for harassment, profiling, or surveillance.
- Affiliation: Not affiliated with or endorsed by TikTok or ByteDance
- Legal: Not legal advice
Data Quality
- Failed Videos Have No Record: If a video cannot be downloaded (for example it is private, deleted, region-blocked, or TikTok blocks the request), the Actor logs a warning and saves no record for it. Compare the number of records with your input list.
- Default Values: If TikTok does not return a field, the Actor fills in defaults: creator
"TikTok User",timestampset to the run time, and counts set to0. In the fallback download method, when only basic page data is found,durationis"00:00",uploaderis"TikTok Creator", counts are0, andtimestampis the run time. A value of0or a run-time timestamp can mean "not available". - Audio Conversion: If the audio conversion fails or takes longer than 35 seconds, the original downloaded file is saved instead.
- Storage Links:
download_urlandmp4_urlpoint to files in the run's Key-Value Store. Whether others can open them depends on your Apify storage access settings, and run storages are kept according to Apify's data retention rules. Download files you need to keep. - Player Page: The player page is a simple HTML page. How it displays can depend on how the browser handles pages served from Apify's API.
- Blocking: TikTok may block or rate-limit requests, especially from data-center IPs. Residential proxy fallback helps but is not a guarantee.
- Library Changes: ` and TikTok's page format change over time, so results can vary.
- Counts: View, like, comment, and share counts reflect TikTok at the time of the run.
Best Practices
- Use full TikTok video links in the form
https://www.tiktok.com/@user/video/<id> - Keep batches small, since every video is downloaded in full
- Check your Dataset record count against your input list
- Confirm you have the rights to every video you download
📄 License & Legal
Terms of Use:
- Use only for videos you own or have permission to use
- Respect TikTok's Terms of Service and creators' rights
- Do not use for unlawful copying or redistribution of copyrighted content
- Use data responsibly and in compliance with applicable laws
Disclaimer: TikTok Video Downloader is provided as-is for lawful, authorized purposes. It is not affiliated with or endorsed by TikTok or ByteDance. Users are responsible for compliance with all applicable laws, copyright rules, and the terms of the data source. This is not legal advice.