Tiktok Video Downloader

Tiktok Video Downloader

by shahidirfan

Meet the TikTok Video Downloader, your simple solution for saving high-quality, watermark-free videos directly from TikTok. Pro Tip: This actor is opt...

133 runs
9 users
Try This Actor

Opens on Apify.com

About Tiktok Video Downloader

Meet the TikTok Video Downloader, your simple solution for saving high-quality, watermark-free videos directly from TikTok. Pro Tip: This actor is optimized for maximum speed. For the fastest possible downloads, disable proxies and use the default Apify IP.

What does this actor do?

Tiktok Video Downloader is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

TikTok Video Downloader > Apify Actor for downloading videos from TikTok by providing URLs or searching by hashtags, user profiles, or keywords. ## What does this actor do? This actor downloads videos from TikTok with multiple search modes. It extracts metadata and stores the videos in the key-value store with direct download links in the dataset. ### Features - Download videos from provided TikTok URLs - Search videos by hashtags - Search videos from user profiles - Search videos by keywords - Extract video metadata - Store videos in key-value store - Provide direct download URLs in dataset ## Input | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | searchMode | string | Required | url or hashtag. Default: url. User profile and keyword modes are temporarily disabled. | | queryInput | string | Required | Paste video URLs (comma, newline, or JSON array) for url mode, or a hashtag without # for hashtag mode. | | downloadMode | string | Optional | Choose whether to download full videos or extract metadata only. Default: videos | | quality | string | Optional | Preferred video quality/format. Default: best | | maxVideos | integer | Optional | Maximum number of videos to process (1-100). Default: 10 | | useProxy | boolean | Optional | Whether to use proxy for downloading. Disable for faster downloads. Default: true | | maxDownloadSpeed | integer | Optional | Limit download speed in KB/s. Set to 0 for unlimited speed. Default: 0 | | cookies | string | Optional | Cookies to bypass authentication | | proxyConfiguration | object | Optional | Proxy settings (only used when useProxy is enabled) | Note: Supply queryInput for every run. Only direct URLs and hashtags are supported at the moment. ## How It Works ### Direct URL Mode (Recommended) ✅ 1. You provide TikTok video URLs 2. Actor downloads videos using yt-dlp 3. Videos stored in key-value store with download links ### Search Modes ### Direct URL Mode (searchMode: "url") - 🎯 Recommended Paste one or more TikTok links into queryInput (comma, newline, or JSON array). The actor forwards those URLs straight to yt-dlp for downloading/storage. Example: json { "searchMode": "url", "queryInput": "https://www.tiktok.com/@user/video/1234567890", "useProxy": false } ### Hashtag Mode (searchMode: "hashtag") Loads https://www.tiktok.com/tag/ in stealth Playwright, scrolls to reveal posts, and captures /video/ links. Cookies are recommended for niche or geo-restricted tags. Example: json { "searchMode": "hashtag", "queryInput": "fyp", "maxVideos": 20, "useProxy": true } Tips: - Provide TikTok cookies for better results - Enable proxy to avoid rate limiting - Try popular hashtags first (e.g., "fyp", "viral") > ⚠️ User profile and keyword searches are temporarily disabled due to TikTok anti-bot changes. Please provide direct video URLs or use hashtag mode. ## Performance Optimization For faster downloads, consider these options: - Disable Proxy: Set useProxy to false for direct downloads (recommended for most users) - Speed Limiting: Use maxDownloadSpeed to prevent extremely slow downloads from hanging - Format Selection: The actor automatically prefers H.264 codecs for faster downloads and better compatibility ## Troubleshooting ### "No videos found for hashtag" Possible causes: - TikTok may require authentication (login) to view certain content - The hashtag doesn't exist or has no public videos - TikTok's API restrictions or rate limiting - Geographic restrictions Solutions: 1. Provide cookies: Export your TikTok cookies from your browser and paste them in the "TikTok Cookies" field 2. Enable proxy: Make sure "Use Proxy" is enabled 3. Use Direct URL mode: Instead of searching, provide specific video URLs 4. Try popular content: Test with popular hashtags like "fyp" or "viral" first ### How to get TikTok cookies 1. Open TikTok in your browser and log in 2. Open browser Developer Tools (F12) 3. Go to Application/Storage tab → Cookies → https://www.tiktok.com 4. Copy all cookies as JSON or Netscape format 5. Paste into the "TikTok Cookies" field ### Downloads are very slow Solutions: 1. Disable proxy: Set useProxy to false 2. Set speed limit: Use maxDownloadSpeed parameter (e.g., 500 KB/s) 3. Use H.264 format: The actor automatically prefers H.264 ### Some videos fail to download Possible causes: - Video is private, deleted, or region-locked - Bot detection by TikTok - Network issues Solutions:* - Provide authentication cookies - Enable proxy - Reduce maxVideos to avoid rate limiting - Wait 1-2 minutes between runs ## Output The actor outputs metadata for each processed video to the dataset, including a direct download URL for the stored video. json { "video_id": "VIDEO_ID", "title": "Video Title", "author": "Creator Name", "url": "https://www.tiktok.com/@user/video/VIDEO_ID", "download_url": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/VIDEO_ID.mp4", "file_size": 1234567, "file_extension": "mp4", "quality_requested": "best", "downloaded_format": "h264", "collected_at": "2025-11-07T12:00:00" } ## Resources - Apify Platform Documentation

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Tiktok Video Downloader now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
shahidirfan
Pricing
Paid
Total Runs
133
Active Users
9
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support