# Facebook Video Downloader Pro (`xtech/facebook-video-downloader-pro`) Actor

Download HD Facebook videos from posts, pages & profiles with metadata extraction. Bulk download tool with enterprise-grade speed & reliability. Get titles, descriptions, views & engagement data. Best Facebook video downloader for content creators & marketers.

- **URL**: https://apify.com/xtech/facebook-video-downloader-pro.md
- **Developed by:** [Xtech](https://apify.com/xtech) (community)
- **Categories:** Developer tools, Social media, Videos
- **Stats:** 21 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Facebook Video Downloader Pro 📹

[![5.0 Rating](https://img.shields.io/badge/Rating-5.0_★★★★★-green.svg)](https://apify.com)
[![5K+ Runs](https://img.shields.io/badge/Runs-5K+-blue.svg)](https://apify.com)

### 🔍 What Data Can We Extract?

Our Facebook Video Downloader Pro extracts Facebook video data and provides direct download links, including:

#### 📹 Video Information

-   Video ID (`id`)
-   Direct video URL (`url`)
-   Publication timestamp (`published_at`)
-   Video thumbnail URL (`thumbnail_url`)

#### 🎥 Technical Specifications

-   Video duration in seconds (`duration_seconds`)
-   Video dimensions (`width`, `height`)
-   MP4 download URLs in multiple qualities:
    -   **SD Quality** (360p)
    -   **HD Quality** (720p)

#### 👤 Creator Information

-   Creator ID (`creator.id`)

### ✨ Why Choose Our Solution?

-   📹 **High-Quality Downloads**: Extract MP4 videos in both SD (360p) and HD (720p) quality
-   🔍 **Complete Metadata**: Get comprehensive video information including technical specifications
-   🖼️ **Thumbnail Access**: Direct links to video thumbnails
-   💪 **Enterprise Ready**: Built for high-volume video downloading with automatic error recovery
-   📊 **Analysis Ready**: Clean, structured data ready for immediate insights
-   🛠️ **Zero Maintenance**: Fully managed solution that adapts to Facebook platform changes
-   ⚡ **Optimized Performance**: Intelligent processing with automatic retries and error handling

### 🚀 How to Use

Simply provide one or more Facebook video URLs, and our downloader will extract all the video data and download links:

```json
{
    "videoUrls": [
        "https://www.facebook.com/watch/?v=1107911867709253",
        "https://www.facebook.com/username/videos/123456789",
        "https://www.facebook.com/pages/pagename/videos/987654321"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
}
````

Supports videos from:

- Facebook Watch
- Page videos
- Profile videos
- Story videos
- Reels

### 📊 Detailed Output Structure

Here's an example of the comprehensive data structure you'll receive:

```json
{
    "id": "1107911867709253",
    "url": "https://www.facebook.com/watch/?v=1107911867709253",
    "duration_seconds": 507,
    "width": 2160,
    "height": 2880,
    "published_at": "2024-03-15T10:30:00.000Z",
    "creator": {
        "id": "100083285529720"
    },
    "thumbnail_url": "https://scontent-muc2-1.xx.fbcdn.net/v/t15.5256-10/example_thumbnail.jpg",
    "mp4_urls": [
        {
            "url": "https://video-muc2-1.xx.fbcdn.net/o1/v/example_sd.mp4",
            "quality": "SD",
            "resolution": "360p"
        },
        {
            "url": "https://video-muc2-1.xx.fbcdn.net/o1/v/example_hd.mp4",
            "quality": "HD",
            "resolution": "720p"
        }
    ]
}
```

### 📊 Organized Dataset Views

Our downloader organizes data into 3 convenient pre-built views for different use cases:

#### 1️⃣ Overview View

Quick summary with essential video details:

- Video ID and URL
- Creator ID
- Thumbnail image
- Duration
- Publication date

#### 2️⃣ Technical Details View

Comprehensive technical specifications:

- Video dimensions (width/height)
- Duration in seconds
- Creator ID
- All MP4 download URLs with quality info

#### 3️⃣ Download Links View

Focused on download capabilities:

- Video ID
- Thumbnail preview
- All available MP4 download URLs

### 🏆 Why We're Different

#### 🔍 Reliable Data Extraction

- Complete, structured JSON with available video metadata
- Multiple download quality options (SD/HD)
- Creator information and thumbnails
- Technical video specifications

#### 🚀 Enterprise-Grade

- Scales to thousands of videos
- Robust proxy infrastructure
- Advanced rate limiting management
- Professional support
- Smart error handling and retry mechanisms
- Automatic quality detection and extraction

#### ⚡ Instant Value

- Ready-to-use download links
- Pre-built dataset views for different analytical needs
- Comprehensive JSON structure
- No technical setup required

### 📱 Use Cases

- **Content Archiving**: Backup important Facebook videos before they're deleted
- **Technical Analysis**: Analyze video specifications and quality options
- **Social Media Research**: Study video content distribution patterns
- **Content Creation**: Study video formats and technical specifications
- **Media Collection**: Build video libraries from Facebook sources
- **Educational Research**: Collect video content for academic studies
- **Media Monitoring**: Track video content from specific creators or pages
- **Content Curation**: Organize video collections with metadata

### 🔧 Input Configuration

#### Required Parameters

- **videoUrls**: Array of Facebook video URLs (1-1000 URLs supported)

#### Optional Parameters

- **proxyConfiguration**: Configure proxy settings for improved reliability
  - Recommended for bulk downloads
  - Helps avoid IP blocking
  - Uses Apify's premium proxy infrastructure

#### Supported URL Formats

- `https://www.facebook.com/watch/?v=VIDEO_ID`
- `https://www.facebook.com/USERNAME/videos/VIDEO_ID`
- `https://www.facebook.com/pages/PAGENAME/videos/VIDEO_ID`
- Facebook Reels and Story URLs
- Mobile Facebook video URLs

### 🚀 Getting Started

1. Create an Apify account
2. Add the Facebook Video Downloader Pro to your actors
3. Configure your input (video URLs)
4. Optionally configure proxy settings
5. Run the actor and collect your video data
6. Download videos using the extracted MP4 URLs

Start downloading high-quality Facebook videos with comprehensive metadata today!

### 🔒 Legal & Compliance

Please ensure you have the right to download and use the videos you're extracting. Respect copyright laws and Facebook's terms of service. This tool is intended for legitimate use cases such as archiving your own content, research purposes, and content analysis with proper permissions.

# Actor input Schema

## `videoUrls` (type: `array`):

List of Facebook video URLs to download. Supports videos from posts, pages, stories, and reels. Enter complete Facebook video URLs (e.g., https://www.facebook.com/watch/?v=123456789).

## `proxyConfiguration` (type: `object`):

Configure proxy settings to avoid IP blocking and improve download reliability. Recommended for bulk downloads.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.facebook.com/watch/?v=1107911867709253"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "videoUrls": [
        "https://www.facebook.com/watch/?v=1107911867709253"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtech/facebook-video-downloader-pro").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 = {
    "videoUrls": ["https://www.facebook.com/watch/?v=1107911867709253"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("xtech/facebook-video-downloader-pro").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://www.facebook.com/watch/?v=1107911867709253"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call xtech/facebook-video-downloader-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=xtech/facebook-video-downloader-pro",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Video Downloader Pro",
        "description": "Download HD Facebook videos from posts, pages & profiles with metadata extraction. Bulk download tool with enterprise-grade speed & reliability. Get titles, descriptions, views & engagement data. Best Facebook video downloader for content creators & marketers.",
        "version": "0.0",
        "x-build-id": "9LHhhEasrFPAkjE53"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/xtech~facebook-video-downloader-pro/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-xtech-facebook-video-downloader-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/xtech~facebook-video-downloader-pro/runs": {
            "post": {
                "operationId": "runs-sync-xtech-facebook-video-downloader-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/xtech~facebook-video-downloader-pro/run-sync": {
            "post": {
                "operationId": "run-sync-xtech-facebook-video-downloader-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "videoUrls"
                ],
                "properties": {
                    "videoUrls": {
                        "title": "Facebook Video URLs",
                        "minItems": 1,
                        "maxItems": 1000,
                        "type": "array",
                        "description": "List of Facebook video URLs to download. Supports videos from posts, pages, stories, and reels. Enter complete Facebook video URLs (e.g., https://www.facebook.com/watch/?v=123456789).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Configure proxy settings to avoid IP blocking and improve download reliability. Recommended for bulk downloads."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
