# All-in-One Social Media Downloader - Instagram, TikTok, YouTube (`coder2077/social-media-downloader`) Actor

One actor to download from Instagram, TikTok (no watermark), YouTube (up to 4K, MP3), Pinterest, Facebook, X (Twitter), RuTube and Likee. Mix links from any platform and get direct download URLs in one JSON format. From $0.10 per 1,000 links.

- **URL**: https://apify.com/coder2077/social-media-downloader.md
- **Developed by:** [FastSaver](https://apify.com/coder2077) (community)
- **Categories:** Social media, Videos, Developer tools
- **Stats:** 5 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## All-in-One Social Media Downloader - Instagram, TikTok, YouTube & more

One actor, **9 platforms, one JSON format**. Download from **Instagram, TikTok (no watermark), YouTube (up to 4K and MP3), Pinterest, Facebook, X (Twitter), RuTube and Likee**. Mix links from any platform in a single run and get **direct download URLs** - no per-platform scrapers, proxies or cookies.

### What does All-in-One Social Media Downloader do?

- **Instagram** reels, videos, photos, carousels, stories
- **TikTok** videos without watermark, slideshows, music
- **YouTube** videos and Shorts, 144p up to 4K, or MP3/M4A
- **Pinterest** pins, **Facebook** videos and reels, **X / Twitter** videos
- **RuTube** and **Likee** videos
- One response shape for every platform: `ok`, `id`, `source`, `type`, `download_url`

### Why use it?

- **Fast and stable** - runs on the same infrastructure as [fastsaver.io](https://fastsaver.io) and [@fastsaver_bot](https://t.me/fastsaver_bot), serving **millions of requests a day**. When a platform changes, it gets fixed here first.
- **No proxies, cookies or logins** - blocks and bot checks are our problem, not yours.
- **Bulk** - paste hundreds of links, processed in parallel.
- **Cheap and predictable** - pay only for successful results. Failed links are free.
- **Developer-friendly** - clean JSON, same shape for every platform, ready for the Apify API, webhooks, Make, Zapier and n8n.

### Use cases

- Power a universal video downloader website, app or Telegram bot with one integration
- Archive social media content across platforms for research and monitoring
- Collect multi-platform video for AI transcription, summarization and analysis
- Repurpose content between TikTok, Reels and Shorts

### How to use it

1. Click **Try for free**.
2. Paste your links into the input.
3. Click **Start** and wait a few seconds.
4. Download results as **JSON, CSV, Excel** or get them through the **Apify API**.

### Input

```json
{
  "urls": [
    "https://www.instagram.com/p/DRsmm9UjKfH/",
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.youtube.com/watch?v=HanBb8FonWs"
  ],
  "youtubeFormat": "720p"
}
```

### Output

```json
{
  "inputUrl": "https://www.instagram.com/p/DRsmm9UjKfH/",
  "platform": "instagram",
  "ok": true,
  "id": "DRsmm9UjKfH",
  "source": "instagram.com",
  "type": "video",
  "download_url": "https://scontent-dfw6-2.cdninstagram.com/o1/v/t2/f2/m412/AQOqB7Zk...mp4",
  "width": 1080,
  "height": 1920,
  "thumbnail_url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/5882067..._n.jpg",
  "duration": 46,
  "caption": "Ferrari 296 GTS top speed run"
}
```

Every link is detected automatically and billed by its platform. Albums (carousels, slideshows) return `type: "album"` with `items`. YouTube links use the `youtubeFormat` quality and add `format` and `video_id`.

Failed links do not stop the run - they appear as `{ "ok": false, "inputUrl": "...", "error": "..." }` and are **not billed**.

### Pricing

Pay per result. You only pay for successful results.

| Result | Price per 1,000 |
|---|---|
| Instagram post, reel or carousel | $0.10 |
| Instagram story or highlight | $0.33 |
| TikTok video or photo post | $0.10 |
| Pinterest pin | $0.10 |
| Facebook video or reel | $0.10 |
| X (Twitter) post media | $0.10 |
| RuTube video | $0.20 |
| Likee video | $0.20 |
| YouTube download (up to 1080p or audio) | $0.99 |
| YouTube download in 2K / 4K | $1.65 |

Plus $0.00005 per run start. Apify's free plan includes $5 of monthly credit, enough for tens of thousands of results.

### Use it as an API

Run the actor and get results in one HTTP call:

```bash
curl -X POST "https://api.apify.com/v2/acts/coder2077~social-media-downloader/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://www.instagram.com/p/DRsmm9UjKfH/","https://www.tiktok.com/@scout2015/video/6718335390845095173","https://www.youtube.com/watch?v=HanBb8FonWs"],"youtubeFormat":"720p"}'
```

Works the same from Python (`apify-client`), Node.js (`apify-client`), Make, Zapier, n8n and any HTTP client.

### FAQ

#### Which platforms are supported?

Instagram (incl. stories), TikTok, YouTube, Pinterest, Facebook, X (Twitter), RuTube and Likee.

#### How is a mixed run billed?

Each successful link is billed by its platform - see the Pricing table. Failed links are free.

#### Do I need proxies, cookies or logins?

No. All of that is handled server-side.

#### Is it legal to download content from social media?

The actor only accesses publicly available content. Respect copyright and each platform's terms: download content you own, have permission to use, or use under fair use. Do not redistribute other people's content without permission.

#### Something does not work?

Open an issue in the **Issues** tab with the link that failed - we usually fix it the same day.

### More downloaders by the same developer

- [Instagram Downloader - Reels, Video, Photo & Stories](https://apify.com/coder2077/instagram-downloader)
- [TikTok Downloader - No Watermark Video & Music](https://apify.com/coder2077/tiktok-downloader)
- [YouTube Video Downloader - MP4 up to 4K & MP3](https://apify.com/coder2077/youtube-video-downloader)
- [YouTube Search Scraper - Videos by Keyword](https://apify.com/coder2077/youtube-search-scraper)
- [YouTube Video Info Scraper - Formats, Sizes & Metadata](https://apify.com/coder2077/youtube-video-info)
- [Pinterest, Facebook & X (Twitter) Video Downloader](https://apify.com/coder2077/pinterest-facebook-x-downloader)

Need a plain REST API instead? See [FastSaverAPI](https://api.fastsaver.io).

# Actor input Schema

## `urls` (type: `array`):

Links from Instagram, TikTok, YouTube, Pinterest, Facebook, X (Twitter), RuTube or Likee. Mix platforms freely, one link per line.

## `youtubeFormat` (type: `string`):

Video quality from 144p to 2160p (4K), or audio only (MP3 / M4A). 1440p and 2160p are billed as 2K/4K downloads.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/p/DRsmm9UjKfH/",
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.youtube.com/watch?v=HanBb8FonWs"
  ],
  "youtubeFormat": "720p"
}
```

# Actor output Schema

## `results` (type: `string`):

All results as a dataset (JSON, CSV, Excel).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.instagram.com/p/DRsmm9UjKfH/",
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.youtube.com/watch?v=HanBb8FonWs"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder2077/social-media-downloader").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [
        "https://www.instagram.com/p/DRsmm9UjKfH/",
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.youtube.com/watch?v=HanBb8FonWs",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("coder2077/social-media-downloader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.instagram.com/p/DRsmm9UjKfH/",
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.youtube.com/watch?v=HanBb8FonWs"
  ]
}' |
apify call coder2077/social-media-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coder2077/social-media-downloader"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uDZDkXsCimGRd10J3/builds/1pwSaVNO1PhiudMYV/openapi.json
