Social Media API Video Download

Social Media API Video Download

by codsec

Download HD, Full HD, and 4K videos directly from YouTube, Instagram, TikTok, and more. An Apify actor for clean, automated video fetching.

186 runs
16 users
Try This Actor

Opens on Apify.com

About Social Media API Video Download

Need to grab videos from social media for a project, but tired of sketchy websites and quality limits? I built this actor to solve exactly that. It's a straightforward API that pulls high-quality video files directly from the platforms themselves. You can download from YouTube, Facebook, Instagram, TikTok, X (Twitter), Twitch, Vimeo, SoundCloud, and even IMDB. The real win is the quality—you get the original file, so HD, Full HD, and 4K are all on the table, even for long videos up to an hour. I use it mostly for creating compilations, archiving content, or pulling assets for video editing when manual downloading is a chore. Since it runs on Apify, you can plug it right into your automated workflows. Set it to scrape a playlist, monitor a profile for new posts, or just grab a single video by URL. It handles the fetching and gives you clean, ready-to-use MP4 files in your dataset. It saves a ton of manual effort and bypasses the usual restrictions of in-browser downloaders.

What does this actor do?

Social Media API Video Download 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

Social Media API Video Download

Downloads videos and audio from major social media platforms via a two-step API process.

Overview

This actor provides a programmatic way to fetch videos and audio from platforms like YouTube, TikTok, and Instagram. You start a download job and then poll for the result. It handles video IDs, URLs, and various output formats.

Key Features

  • Supported Platforms: YouTube (including Shorts), Facebook, Instagram, TikTok, X/Twitter, Vimeo, Twitch, SoundCloud, and IMDb.
  • Quality & Formats: Supports resolutions from 144p up to 4K, and audio formats like MP3, WAV, and OGG. Most clips up to 1 hour in length are supported.
  • Two-Step Process: Initiate a download to get a processingId, then poll with that ID to retrieve the final download links.

How to Use

The actor uses a single endpoint with two actions specified in the input.

  1. Start a Download (action: "download")

    • Provide the videoId (YouTube ID/URL or full URL for other platforms) and your desired format.
    • The actor returns a processingId for the job.
  2. Retrieve Results (action: "getVideo")

    • Provide the processingId from the first step.
    • Poll this endpoint until the status is "completed".
    • The final downloads array will contain your video or audio file links.

Input/Output

Actor Input

Field Type Required Description
action string Yes Set to "download" or "getVideo".
videoId string When action is "download" YouTube video ID/URL, or the full video URL for other platforms.
format string When action is "download" Desired format: 144, 240, 360, 480, 720, 1080, 1440, 4k, mp3, wav, ogg, webm.
processingId string When action is "getVideo" The ID returned by the initial download request.

Example: Starting a Download

{
  "action": "download",
  "videoId": "https://www.tiktok.com/@user/video/1234567890",
  "format": "1080"
}

Output Structure

A successful getVideo request returns an object containing the download status and file links.

{
  "status": "completed",
  "downloads": [
    { "url": "https://example.com/video.mp4", "format": "1080" }
    // ... more format links if available
  ]
}

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 Social Media API Video Download now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
codsec
Pricing
Paid
Total Runs
186
Active Users
16
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