# Facebook Reels Details Scraper Pro (`alpha-scraper/facebook-reels-details-scraper-pro`) Actor

Extract detailed Facebook Reels metadata from reel URLs and share links. Get video details, captions, thumbnails, media URLs, creator information, follower counts, engagement metrics, hashtags, music data, location details, and performance insights in structured JSON output.

- **URL**: https://apify.com/alpha-scraper/facebook-reels-details-scraper-pro.md
- **Developed by:** [Alpha Scraper](https://apify.com/alpha-scraper) (community)
- **Categories:** Social media, Videos, Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## 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 Reels Details Scraper Pro

**Facebook Reels Details Scraper Pro** is a powerful Apify actor designed to help you extract rich, structured details from Facebook Reels video URLs and share links. It is built for users who need clean reel metadata, creator details, engagement metrics, media information, and post context in one organized output.

This actor is ideal for anyone searching for a **Facebook reels metadata extractor**, **Facebook reels details scraper**, **Facebook reel URL analyzer**, or **Facebook video data extraction tool** on Apify.

---

### 🌟 Overview

This actor accepts one or more Facebook Reels URLs or share links as input and returns detailed information about each reel in a structured JSON record. It is built for fast, easy, and consistent data collection, making it useful for analysis, reporting, content research, and record keeping.

#### 🔍 Best use cases

* Facebook Reels content research
* Creator and page analysis
* Engagement and performance tracking
* Reel metadata collection
* Social media reporting
* Content archiving and monitoring

---

### 🚀 What data this actor provides

This actor returns a detailed and well-organized data package for each reel. The output may include:

* Reel title and description
* Reel URL and short URL
* Upload date and timestamp
* Duration details
* Video resolution and aspect ratio
* Thumbnail and media URLs
* Direct media links
* Creator/page details
* Verification status
* Follower count
* Engagement metrics such as views, likes, comments, and shares
* Hashtags and tags
* Location information
* Music and audio details
* Page context details
* Post-level metadata
* Performance insights such as engagement rate and estimated reach

---

### 📦 What outputs it generates

The actor generates one output record for each provided Facebook Reels URL. Each record is structured into clear sections so the data is easy to read and use.

#### Main output sections

* `video`
* `media`
* `owner`
* `engagement`
* `hashtags`
* `mentions`
* `tags`
* `location`
* `music`
* `page_context`
* `post`
* `related_videos`
* `insights`
* `scrape_info`

---

### 🧩 Output field explanation

Below is a simple explanation of each output field.

#### 1) `video`

Contains the main reel information.

* **id** — Unique reel identifier
* **url** — Main reel URL
* **short_url** — Short or share-friendly reel URL
* **title** — Reel title
* **description** — Reel description or caption text
* **caption** — Duplicate caption field for easy reading
* **duration_seconds** — Reel length in seconds
* **duration_text** — Human-friendly duration text
* **upload_timestamp** — Original upload timestamp when available
* **upload_date** — Upload date in `YYYY-MM-DD` format
* **is_live** — Indicates whether the content is live
* **is_reel** — Reel type indicator
* **is_story** — Story type indicator
* **language** — Detected language of the reel
* **category** — Content category
* **content_type** — Type of content, usually `video`
* **direct_video_url** — Direct media URL when available
* **audio_only_url** — Audio-only media URL when available
* **video_only_url** — Video-only media URL when available

#### 2) `media`

Contains visual and file-related media details.

* **thumbnail_url** — Main thumbnail image
* **thumbnail_urls** — List of thumbnail URLs
* **preview_image** — Preview image for quick display
* **sd_video_url** — Standard-definition video URL
* **hd_video_url** — High-definition video URL
* **audio_url** — Audio media URL
* **video_formats** — Available media formats list
* **resolution.width** — Video width in pixels
* **resolution.height** — Video height in pixels
* **aspect_ratio** — Width-to-height ratio
* **file_size_bytes** — Estimated or available file size in bytes

#### 3) `owner`

Contains page or creator information.

* **id** — Creator or page ID
* **name** — Creator or page name
* **username** — Username or page handle
* **profile_url** — Creator or page profile URL
* **profile_picture** — Profile image URL
* **type** — Account type, such as `page`
* **verified** — Verification status
* **category** — Page category when available
* **followers_count** — Number of followers
* **following_count** — Number of accounts followed

#### 4) `engagement`

Shows audience interaction metrics.

* **views** — Total video views
* **play_count** — Total play count
* **likes** — Number of likes
* **reactions_total** — Total reactions
* **comments** — Comment count
* **shares** — Share or repost count
* **saves** — Save count when available

#### 5) `hashtags`

A list of hashtags found in the reel caption or metadata.

#### 6) `mentions`

A list of mentioned accounts when available.

#### 7) `tags`

Additional tags attached to the reel.

#### 8) `location`

Contains location-related details.

* **name** — Location name
* **id** — Location ID
* **latitude** — Latitude value
* **longitude** — Longitude value

#### 9) `music`

Contains soundtrack or audio details.

* **track_name** — Audio track name
* **artist** — Artist name
* **album** — Album name
* **audio_id** — Audio identifier
* **is_original_audio** — Indicates original audio status

#### 10) `page_context`

Useful page-level context for analysis.

* **page_id** — Page ID
* **page_name** — Page name
* **page_url** — Page URL
* **page_category** — Page category
* **page_verified** — Verification status of the page

#### 11) `post`

Contains post-level information.

* **post_id** — Post ID
* **post_url** — Post URL
* **post_text** — Post text or caption
* **post_type** — Type of post, usually `video`
* **created_time** — Creation date
* **edited_time** — Last edited date when available

#### 12) `related_videos`

A list reserved for related video references when available.

#### 13) `insights`

Calculated performance indicators for quick analysis.

* **engagement_rate** — Engagement percentage compared to views
* **popularity_score** — Overall popularity indicator
* **trend_score** — Trend indicator based on freshness and views
* **estimated_reach** — Estimated audience reach

#### 14) `scrape_info`

Basic result status information.

* **scraped_at** — Time when the record was created
* **status** — Result status, usually `success`

---

### ✨ Benefits and advantages

#### ✅ Clean structured output

Every reel is returned in a predictable JSON format that is easy to read, store, filter, or export.

#### ✅ Great for analysis

The output includes both raw data and useful insight fields, making it suitable for reporting and comparison.

#### ✅ Friendly listing

The title, description, and content are optimized with strong search keywords such as:

* Facebook Reels Details Scraper
* Facebook Reels Metadata Extractor
* Facebook Reels Data Scraper
* Facebook Reel URL Scraper
* Facebook Video Details Scraper

#### ✅ Easy for automation

The output can be used in dashboards, spreadsheets, databases, CRMs, and workflow automations.

#### ✅ Supports multiple URLs

You can provide more than one reel URL in a single run.

#### ✅ Useful for creators and analysts

Perfect for social media teams, researchers, marketers, and content managers.

---

### 🛠️ Features and overview

* Accepts Facebook Reels URLs and share links
* Processes multiple inputs in one run
* Returns detailed reel metadata
* Includes creator/page details
* Includes media and thumbnail information
* Includes engagement metrics
* Includes music and location details
* Includes calculated insight fields
* Produces neat structured JSON output
* Suitable for Apify datasets, exports, and automation pipelines

---

### 📥 Input sample

Below is an example input you can provide to the actor:

```json
{
    "startUrls": [
        {
            "url": "https://www.facebook.com/reel/1178616697592386"
        },
        {
            "url": "https://www.facebook.com/reel/1710979813682969"
        },
        {
            "url": "https://www.facebook.com/share/v/1KsaBnsMLH/"
        },
        {
            "url": "https://www.facebook.com/share/r/1BLeRPZNar/"
        }
    ]
}
````

#### Input field explanation

- **startUrls** — A list of Facebook Reels URLs or share links
- **url** — The specific reel URL you want to process

***

### 📤 Output sample

Below is a simplified example of what a result may look like:

```json
{
  "_requested_url": "https://www.facebook.com/reel/1178616697592386",
  "video": {
    "id": "1178616697592386",
    "url": "https://www.facebook.com/reel/1178616697592386",
    "short_url": "https://www.facebook.com/reel/1178616697592386",
    "title": "Sample Reel Title",
    "description": "Sample reel description",
    "caption": "Sample reel description",
    "duration_seconds": 24,
    "duration_text": "24",
    "upload_timestamp": 1710000000,
    "upload_date": "2024-03-09",
    "is_live": false,
    "is_reel": false,
    "is_story": false,
    "language": "en",
    "category": "Entertainment",
    "content_type": "video",
    "direct_video_url": "https://...",
    "audio_only_url": "https://...",
    "video_only_url": "https://..."
  },
  "media": {
    "thumbnail_url": "https://...",
    "thumbnail_urls": ["https://..."],
    "preview_image": "https://...",
    "sd_video_url": "https://...",
    "hd_video_url": "https://...",
    "audio_url": "https://...",
    "video_formats": [
      {
        "quality": "720p",
        "format": "mp4",
        "url": "https://..."
      }
    ],
    "resolution": {
      "width": 720,
      "height": 1280
    },
    "aspect_ratio": "0.56",
    "file_size_bytes": 12345678
  },
  "owner": {
    "id": "page123",
    "name": "Sample Page",
    "username": "page123",
    "profile_url": "https://www.facebook.com/page123",
    "profile_picture": "https://...",
    "type": "page",
    "verified": true,
    "category": "Creator",
    "followers_count": 250000,
    "following_count": 0
  },
  "engagement": {
    "views": 100000,
    "play_count": 100000,
    "likes": 8500,
    "reactions_total": 8600,
    "comments": 420,
    "shares": 310,
    "saves": 0
  },
  "hashtags": ["reels", "viral"],
  "mentions": [],
  "tags": ["sample", "demo"],
  "location": {
    "name": "N/A",
    "id": "",
    "latitude": "",
    "longitude": ""
  },
  "music": {
    "track_name": "Sample Track",
    "artist": "N/A",
    "album": "N/A",
    "audio_id": "N/A",
    "is_original_audio": false
  },
  "page_context": {
    "page_id": "page123",
    "page_name": "Sample Page",
    "page_url": "https://www.facebook.com/page123",
    "page_category": "",
    "page_verified": true
  },
  "post": {
    "post_id": "1178616697592386",
    "post_url": "https://www.facebook.com/reel/1178616697592386",
    "post_text": "Sample reel description",
    "post_type": "video",
    "created_time": "2024-03-09",
    "edited_time": ""
  },
  "related_videos": [],
  "insights": {
    "engagement_rate": "9.08%",
    "popularity_score": "117410",
    "trend_score": "1428.57",
    "estimated_reach": 150000
  },
  "scrape_info": {
    "scraped_at": "2026-05-30T00:00:00Z",
    "status": "success"
  }
}
```

***

### 📂 File structure overview

#### `actor.json`

This file defines the actor name, description, version, and input schema. It controls what users see when they open the actor in Apify.

#### `main.py`

This is the main execution file of the actor. It reads the input, processes each provided reel URL, and saves the structured result into the Apify dataset.

#### `README.md`

This documentation file explains what the actor does, what it returns, how to use it, and how to avoid common issues.

***

### 🧭 How to use this actor

1. Open the actor on Apify.
2. Add one or more Facebook Reels URLs into `startUrls`.
3. Run the actor.
4. Wait for the dataset output.
5. Export the results as JSON, CSV, Excel, or use them in automation.

***

### 💡 Best practices for using it

- Use valid Facebook Reels URLs or share links.
- Add only URLs you want to analyze in the same run.
- Keep the input list clean and avoid duplicate links.
- Use fresh URLs when possible to get the most complete metadata.
- Review the dataset output after each run for quality control.
- Use the insight fields to compare reels by engagement and reach.
- Export results regularly if you are tracking many reels.

***

### ⚠️ Possible causes of errors and how to avoid them

#### 1) Invalid or unsupported URL

**Cause:** The URL is not a valid Facebook Reels link or share link.

**How to avoid it:**
Use only proper Facebook reel URLs and copy them carefully.

#### 2) Empty input

**Cause:** No URLs were provided in `startUrls`.

**How to avoid it:**
Always include at least one valid URL before running the actor.

#### 3) Duplicate links

**Cause:** The same reel URL is submitted multiple times.

**How to avoid it:**
Remove duplicates before running the actor.

#### 4) Missing metadata

**Cause:** Some reels may not expose every field.

**How to avoid it:**
Understand that certain fields may be unavailable depending on the reel and page context.

#### 5) Access limitations

**Cause:** Some content may not provide full public information.

**How to avoid it:**
Use links that are publicly accessible and check the input URL format.

#### 6) Temporary result issues

**Cause:** A reel may return incomplete or partial data.

**How to avoid it:**
Run the actor again later or verify the URL is still valid.

***

### 🧠 Tips for better results

- Prefer direct reel links.
- Use one clean list of URLs per run.
- Keep your outputs organized by exporting them after each execution.
- Combine the dataset with other Apify tools for analysis and reporting.
- Use the `engagement`, `insights`, and `owner` sections for fast decision-making.

***

### 🔎 keywords

This README is optimized for Apify search using terms such as:

**Facebook Reels Details Scraper Pro, Facebook Reels Scraper, Facebook Reels Metadata Extractor, Facebook Reel Data Scraper, Facebook Video Details Scraper, Facebook Reel URL Scraper, Facebook Reels Analyzer, Facebook reel details extraction**

***

### 📌 Summary

**Facebook Reels Details Scraper Pro** is a detailed Apify actor for collecting structured Facebook Reels metadata, creator details, media URLs, engagement metrics, location data, music information, and performance insights from reel URLs and share links.

It is a practical solution for content analysis, reporting, monitoring, and automation.

***

### ✅ Final note

This actor is designed to give you organized, readable, and useful reel data in a format that is easy to export and reuse.

**Use it to simplify Facebook Reels research, improve reporting, and keep your content analysis workflow fast and efficient.**

***

## Here my another actors:

### Youtube Iteams:

- [🎶 Youtube Audio Downloader (Video/Shorts)](https://console.apify.com/actors/lTUPL4gmLTDNXBeWw/source)
- [Youtube Video Downloader Advanced](https://console.apify.com/actors/XOpQsUkgGZLGSCJd0/source)
- [Youtube Video Downloader ( Soundless )](https://console.apify.com/actors/gFsczW1QplIquv9eL/source)
- [Youtube Video Downloader](https://console.apify.com/actors/9kZQcUlHZRKp1ilZA/source)
- [Youtube Video Details Scraper](https://console.apify.com/actors/On4VfiWjGnT79clm1/source)
- [Youtube Transcript Ninja (Subtitles) ](https://console.apify.com/actors/eWrsJHhdeEbVHChpX/source)
- [Youtube Thumbnails Downloader & Scraper](https://console.apify.com/actors/YShot3wkL0HJdRkD0/source)
- [Youtube Tags or Hashtags Scraper](https://console.apify.com/actors/O1FU99ID2ccR5wcS8/source)
- [Youtube Tags Scraper](https://console.apify.com/actors/1wVokAhQLbbeeFVfR/source)
- [Youtube Shorts Scraper lite](https://console.apify.com/actors/bOyWDt1IbXZsadWRp/source)
- [Youtube Shorts Downloader Pro](https://console.apify.com/actors/bN1AjNRMops81rGkg/source)
- [Youtube Shorts Comments Scraper](https://console.apify.com/actors/ON1C4qgHaEQEhhEmI/source)
- [Youtube Community Posts Scraper](https://console.apify.com/actors/X38E51BParHFNaCw1/source)
- [Youtube Channel Id Scraper Pro](https://console.apify.com/actors/2uuIEovgGHcYjEKyN/source)
- [Youtube Video Transcript  Scraper ( Subtitles )](https://console.apify.com/actors/IEmSN6FkNn0tw10BA/source)
- [Youtube Video Comments Scraper](https://console.apify.com/actors/URh4zBT1aesfE8QKc/source)
- [Youtube Shorts Scraper  Pro](https://console.apify.com/actors/G4McyHJJzc2TbUSo6/source)
- [Youtube Shorts Scraper](https://console.apify.com/actors/XP0WgKweF1M83FnmR/source)
- [Youtube Channel Scraper](https://console.apify.com/actors/ufMZfwMgyHeaoDdAd/source)
- [YouTube Video Description Extractor](https://console.apify.com/actors/Xqae3CmxqT3HfHaJ5/source)
- [YouTube Hashtag Scraper](https://console.apify.com/actors/d4bYqQ0LWuczEgumx/source)
- [YouTube Description Scraper pro](https://console.apify.com/actors/OVymx0bku0C8gowB0/source)
- [YouTube Comments Scraper | Pay Per Result](https://console.apify.com/actors/ict6AecoJ85T4RthZ/source)
- [YouTube Channel ID Scraper](https://console.apify.com/actors/P9XlG8ylMGqfoelOg/source)

### Tiktok Iteams:

- [Tiktok Video Downloader](https://console.apify.com/actors/dlyQGIrqOracdqOeb/source)
- [Tiktok Video Details Scraper Pro](https://console.apify.com/actors/kZMMAHBehLOdG2FBb/source)
- [Tiktok Profile Scraper](https://console.apify.com/actors/C9mdCvPs7mDV8AYdd/source)
- [TikTok Video Scraper](https://console.apify.com/actors/7NjipRJbS73X9Io90/source)
- [TikTok Profile Videos Scraper](https://console.apify.com/actors/F6ar6Hu5STLp5mdAf/source)
- [TikTok Profile Scraper pro](https://console.apify.com/actors/3fmkMmoCBQ4SBIIAN/source)
- [TikTok Audio Downloader 🎵](https://console.apify.com/actors/jHipu7fQihSVhBE3x/source)

### Snapchat Iteams:

- [Snapchat Video Downloader (Spotlight )](https://console.apify.com/actors/yKz99HNmn4AgmhPOf/source)
- [Snapchat Video  Details Scraper (Spotlight)](https://console.apify.com/actors/fyV48EkRqcNoeq2kH/source)
- [Snapchat Followers Scraper](https://console.apify.com/actors/PxBiNYw0mgZOagGyD/source)
- [Snapchat Profile     Scraper](https://console.apify.com/actors/siCUsZdm6xmc3g7HF/source)
- [Snapchat Profile Scraper  Mini](https://console.apify.com/actors/qhkQO51Cv6iHJxdAs/source)

### Instagram Iteams:

- [Instagram video Downloader + Scraper](https://console.apify.com/actors/zIpixF6ZjlbelQDrY/source)
- [Instagram Video Downloader (Soundlss)](https://console.apify.com/actors/QQkJuhIQp4pexakls/source)
- [Instagram Thumbnail Scraper Video & Reels](https://console.apify.com/actors/z8JOosBY8hlqiUthl/source)
- [Instagram Reels  Downloader](https://console.apify.com/actors/VRbovYCWXTZXuVaN2/source)
- [Instagram Profile URL to Username Converter & Extractor](https://console.apify.com/actors/FOApkedA1VuG6ncno/source)
- [Instagram Profile Scraper](https://console.apify.com/actors/5dvorBkg7ccX95wAg/source)
- [Instagram Post Videos Downloader](https://console.apify.com/actors/h95ZexZ0ifOX4JEYQ/source)
- [Instagram Followers Scraper](https://console.apify.com/actors/c55pdH9mCE02sj7Dg/source)
- [Instagram Audio Downloader](https://console.apify.com/actors/MQRNuEHUqKreEi8gI/source)
- [Instagram Video Scraper + Downloader](https://console.apify.com/actors/63Z5eSy3IxgdIEYOX/source)
- [Instagram Video  scraper Advanced](https://console.apify.com/actors/79ng2nukXLzUn0aWg/source)
- [Instagram Video Details  scraper](https://console.apify.com/actors/VLyBXSwQpHTFwUcds/source)
- [Instagram Reels Details scraper](https://console.apify.com/actors/oGR3xfeXTuIirhdlZ/source)
- [Instagram Followers Scraper Pro](https://console.apify.com/actors/MqW3EtUZXm6OHdvcI/source)

### Facebook Iteams:

- [Facebook reels Downloader  (Separate audio or video)](https://console.apify.com/actors/nuvIRaMeRIzz3cfxK/source)
- [Facebook Video Downloader advanced](https://console.apify.com/actors/2SU8ZuABbAVFNKMZa/source)
- [Facebook Video Details Scraper Advanced](https://console.apify.com/actors/umYouAXm92472jIdY/source)
- [Facebook Video Details Scraper](https://console.apify.com/actors/cQi4k63arffL6Cn0m/source)
- [Facebook Transcript & Subtitle scraper](https://console.apify.com/actors/hMNe1QYDOtcTc95qI/source)
- [Facebook Thumbnail Downloader Video & Reels](https://console.apify.com/actors/9SmYiqGTUia29Yd1Y/source)
- [Facebook Reels Downloader Advanced](https://console.apify.com/actors/3Zdnp9TnvltdoC44T/source)
- [Facebook Reels Details Scraper  Best and  Affordable](https://console.apify.com/actors/nuzr418MKJltywrCh/source)
- [Facebook Reels Details Scraper](https://console.apify.com/actors/OGBA89e5Ki6Y5amko/source)
- [Facebook Page Details Scraper](https://console.apify.com/actors/PL9nP9BrKDSsKwSZF/source)
- [Facebook Audio Downloader](https://console.apify.com/actors/uVrcf4OJ9VW8iCybQ/source)

### Amazon Iteams:

- [Amazon Search Scraper](https://console.apify.com/actors/YcgJR1WP1cHJhHzvH/source)
- [Amazon Product Details Scraper ](https://console.apify.com/actors/1twpltijc10KFaVeb/source)

# Actor input Schema

## `startUrls` (type: `array`):

List of one or more Facebook video URLs

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/reel/1178616697592386"
    },
    {
      "url": "https://www.facebook.com/reel/1710979813682969"
    },
    {
      "url": "https://www.facebook.com/share/v/1KsaBnsMLH/"
    },
    {
      "url": "https://www.facebook.com/share/r/1BLeRPZNar/"
    }
  ]
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.facebook.com/reel/1178616697592386"
        },
        {
            "url": "https://www.facebook.com/reel/1710979813682969"
        },
        {
            "url": "https://www.facebook.com/share/v/1KsaBnsMLH/"
        },
        {
            "url": "https://www.facebook.com/share/r/1BLeRPZNar/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/facebook-reels-details-scraper-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 = { "startUrls": [
        { "url": "https://www.facebook.com/reel/1178616697592386" },
        { "url": "https://www.facebook.com/reel/1710979813682969" },
        { "url": "https://www.facebook.com/share/v/1KsaBnsMLH/" },
        { "url": "https://www.facebook.com/share/r/1BLeRPZNar/" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/facebook-reels-details-scraper-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 '{
  "startUrls": [
    {
      "url": "https://www.facebook.com/reel/1178616697592386"
    },
    {
      "url": "https://www.facebook.com/reel/1710979813682969"
    },
    {
      "url": "https://www.facebook.com/share/v/1KsaBnsMLH/"
    },
    {
      "url": "https://www.facebook.com/share/r/1BLeRPZNar/"
    }
  ]
}' |
apify call alpha-scraper/facebook-reels-details-scraper-pro --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Reels Details Scraper Pro",
        "description": "Extract detailed Facebook Reels metadata from reel URLs and share links. Get video details, captions, thumbnails, media URLs, creator information, follower counts, engagement metrics, hashtags, music data, location details, and performance insights in structured JSON output.",
        "version": "0.0",
        "x-build-id": "I5mgMUUo57U85bkJd"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/alpha-scraper~facebook-reels-details-scraper-pro/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-alpha-scraper-facebook-reels-details-scraper-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/alpha-scraper~facebook-reels-details-scraper-pro/runs": {
            "post": {
                "operationId": "runs-sync-alpha-scraper-facebook-reels-details-scraper-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/alpha-scraper~facebook-reels-details-scraper-pro/run-sync": {
            "post": {
                "operationId": "run-sync-alpha-scraper-facebook-reels-details-scraper-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": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "List of one or more Facebook video URLs",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
