Tiktok Video Scraper avatar
Tiktok Video Scraper

Pricing

$15.00 / 1,000 results

Go to Apify Store
Tiktok Video Scraper

Tiktok Video Scraper

Developed by

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Extract data from TikTok user profiles and download videos without watermarks. Scrape user videos by username with customizable limits.

0.0 (0)

Pricing

$15.00 / 1,000 results

0

2

2

Last modified

21 days ago

TikTok Videos Scraper Actor

Extract data from TikTok user profiles and download videos without watermarks. This Apify actor allows you to scrape user videos by username with customizable limits.

Overview

This TikTok scraper is designed to extract video data from TikTok user profiles and optionally download the videos without watermarks. It uses advanced browser automation techniques to bypass TikTok's anti-scraping measures.

Key Features

  • 🎯 User Profile Scraping: Extract videos from any public TikTok user profile
  • 📊 Customizable Limits: Control how many videos to scrape (1-1000)
  • ⬇️ Video Downloading: Option to download videos without watermarks
  • 🌐 Proxy Support: Built-in proxy configuration to avoid IP blocking
  • 📤 Structured Output: Clean, structured data in JSON format
  • ☁️ Cloud Ready: Designed to run on the Apify platform

Input Parameters

ParameterDescriptionExample
usernameTikTok username without @khaby.lame
videoCountNumber of videos to scrape (1-1000)50
downloadVideosEnable/disable video downloadstrue
proxyConfigProxy configuration settings{ "useApifyProxy": true }

Output Format

The actor returns structured data for each video:

{
"video_id": "7082906851540274478",
"Video_url": "https://www.tiktok.com/@user/video/7082906851540274478",
"createTime": "2 days ago",
"Description": "This is a sample video description",
"User_id": "68285123456789",
"Username": "sampleuser",
"Verified": true,
"privateAccount": false,
"Userbio": "Sample user bio",
"stats_diggCount": 150000,
"shareCount": 2500,
"commentCount": 1200,
"playCount": 2000000,
"repostCount": 500,
"followingCount": 120,
"followerCount": 1500000,
"heartCount": 50000000,
"videoCount": 250,
"authorStats_diggCount": 1000000,
"friendCount": 45,
"video_path": "/path/to/downloaded/video.mp4"
}

Use Cases

  • 📈 Market Research: Analyze trending TikTok content and creators
  • 🎨 Content Inspiration: Study successful video formats and styles
  • 📊 Competitor Analysis: Monitor competitor performance and content strategy
  • 🤖 Automated Monitoring: Track specific creators or hashtags over time
  • 📥 Content Aggregation: Collect videos for content creation or archiving

Getting Started

Running on Apify Platform

  1. Create an Apify account
  2. Go to TikTok Videos Scraper Actor
  3. Click "Try for free" or "Run"
  4. Configure input parameters:
    • Enter a TikTok username (without @)
    • Set the number of videos to scrape
    • Enable video downloads if needed
  5. Click "Start" and wait for results

Running Locally

  1. Install Apify CLI:

    $npm -g install apify-cli
  2. Clone the repository:

    git clone <repository-url>
    cd tiktok-videos-scraper
  3. Install dependencies:

    $pip install -r requirements.txt
  4. Install browser binaries:

    camoufox fetch
    playwright install
  5. Create an input file (input.json):

    {
    "username": "khaby.lame",
    "videoCount": 10,
    "downloadVideos": false
    }
  6. Run the actor:

    $apify run --input-file=input.json

Pricing

This actor offers pay-per-result pricing model. You only pay for successful runs and results produced.

Limitations

  • Only works with public TikTok profiles
  • TikTok may rate-limit requests; using proxies is recommended
  • Video downloading depends on third-party services and may occasionally fail
  • Large video downloads may consume significant storage space

Troubleshooting

If you encounter issues:

  1. Rate Limiting: Enable proxy usage in advanced settings
  2. Empty Results: Verify the username is correct and the profile is public
  3. Download Failures: Try disabling video downloads and scraping data only
  4. Timeout Errors: Reduce the number of videos being scraped

For more help, check the Apify documentation or contact support.

Author

Created and maintained by [Your Name/Company].

License

MIT License. See LICENSE file for details.