# Pinterest, Facebook & X (Twitter) Video Downloader (`coder2077/pinterest-facebook-x-downloader`) Actor

Download videos and images from Pinterest, Facebook and X (Twitter) in one actor. Paste pin, reel, fb.watch or tweet links and get direct HD download URLs as JSON. pin.it and fb.watch short links work. $0.10 per 1,000 links.

- **URL**: https://apify.com/coder2077/pinterest-facebook-x-downloader.md
- **Developed by:** [FastSaver](https://apify.com/coder2077) (community)
- **Categories:** Social media, Videos, Developer tools
- **Stats:** 2 total users, 1 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

## Pinterest, Facebook & X (Twitter) Video Downloader

Download **Pinterest pins and video pins**, **Facebook videos and reels** and **X (Twitter) videos, GIFs and images** in one actor. Mix links from all three platforms and get **direct HD download URLs** as one clean JSON format. Short links like **pin.it** and **fb.watch** work too.

### What does Pinterest, Facebook & X (Twitter) Video Downloader do?

- **Pinterest downloader** - images, video pins and idea pins (pin.it short links supported)
- **Facebook video downloader** - videos, reels and watch links (fb.watch, fb.com supported)
- **Twitter / X video downloader** - videos, GIFs and images (x.com and twitter.com)
- Thumbnail, caption, size and duration in the same response shape

### 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

- Save Pinterest videos and images for mood boards, design and e-commerce research
- Download Facebook reels and videos for repurposing and archiving
- Download Twitter videos for news monitoring and social listening
- Build a multi-platform downloader site or Telegram bot on the Apify API

### 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.pinterest.com/pin/989525349381641047/",
    "https://www.facebook.com/reel/1234567890",
    "https://x.com/NASA/status/2107095768821576019"
  ]
}
```

### Output

```json
{
  "inputUrl": "https://x.com/NASA/status/2107095768821576019",
  "platform": "x",
  "ok": true,
  "id": "2107095768821576019",
  "source": "x.com",
  "type": "video",
  "download_url": "https://video.twimg.com/amplify_video/2107095744146460672/vid/...mp4",
  "thumbnail_url": "https://pbs.twimg.com/amplify_video_thumb/2107095744146460672/img/...jpg",
  "caption": "It's World Space Week! ..."
}
```

Multi-image posts (Pinterest idea pins, X posts with several photos) come back as `type: "album"` with an `items` array.

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 |
|---|---|
| Pinterest pin | $0.10 |
| Facebook video or reel | $0.10 |
| X (Twitter) post media | $0.10 |

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~pinterest-facebook-x-downloader/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://www.pinterest.com/pin/989525349381641047/","https://www.facebook.com/reel/1234567890","https://x.com/NASA/status/2107095768821576019"]}'
```

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

### FAQ

#### Do I need accounts or cookies?

No. Paste public links; login, proxies and bot checks are handled for you.

#### Can I mix platforms in one run?

Yes. Each link is detected and billed by its platform.

#### Need Instagram or TikTok too?

Use All-in-One Social Media Downloader, or the dedicated Instagram and TikTok downloaders.

#### 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)
- [All-in-One Social Media Downloader - Instagram, TikTok, YouTube](https://apify.com/coder2077/social-media-downloader)

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

# Actor input Schema

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

Links to Pinterest pins (pinterest.com, pin.it), Facebook videos and reels (facebook.com, fb.watch) or X / Twitter posts (x.com, twitter.com). Mix freely.

## Actor input object example

```json
{
  "urls": [
    "https://www.pinterest.com/pin/989525349381641047/",
    "https://x.com/NASA/status/2107095768821576019"
  ]
}
```

# 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.pinterest.com/pin/989525349381641047/",
        "https://x.com/NASA/status/2107095768821576019"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder2077/pinterest-facebook-x-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.pinterest.com/pin/989525349381641047/",
        "https://x.com/NASA/status/2107095768821576019",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("coder2077/pinterest-facebook-x-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.pinterest.com/pin/989525349381641047/",
    "https://x.com/NASA/status/2107095768821576019"
  ]
}' |
apify call coder2077/pinterest-facebook-x-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coder2077/pinterest-facebook-x-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/snoxyEdMFXavo7nou/builds/pzEyIsG46Ef5SrwEg/openapi.json
