# Facebook Reels Scraper (`turtle_ai/facebook-reels-scraper`) Actor

Scrape Facebook Reels from any public profile or page. Extracts reel URL, views, caption, music track, likes, comments, shares, and direct video download link.

- **URL**: https://apify.com/turtle\_ai/facebook-reels-scraper.md
- **Developed by:** [Turtle AI](https://apify.com/turtle_ai) (community)
- **Categories:** Social media, SEO tools, Other
- **Stats:** 5 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

### What does Facebook Reels Scraper do?

**Facebook Reels Scraper** extracts public reels from any Facebook profile or page. Point it at a `/reels/` tab URL and it returns structured data for every reel — including the direct video download link, view count, caption, music track, and engagement metrics (likes, comments, shares).

No manual browsing, no copy-pasting. Just drop in a profile URL and get clean JSON data ready for analysis, archiving, or integration with your own tools — all powered by the [Apify platform](https://apify.com) with built-in proxy rotation, scheduling, and API access.

### Why use Facebook Reels Scraper?

- **Content research** — track what's performing well on competitor or influencer pages
- **Social media monitoring** — archive reels and engagement data over time
- **Marketing analytics** — measure view counts, likes, and shares across campaigns
- **Video archiving** — get direct MP4 download links for backup or repurposing
- **Influencer analysis** — quickly assess reach and engagement for any public profile

### How to use Facebook Reels Scraper

1. Go to the **Input** tab in Apify Console
2. Paste one or more Facebook profile/page reels URLs (e.g. `https://www.facebook.com/LeonardoDiCaprio/reels/`)
3. Set **Max Pages** to control how many requests the crawler makes
4. Click **Start** and wait for the run to finish
5. Open the **Output** tab to browse results, or download as JSON, CSV, or Excel

> The target profile must be public. Private profiles and login-gated content are not supported.

### Input

Configure the scraper from the **Input** tab or via the API.

| Field                 | Type    | Description                                         | Default                        |
| --------------------- | ------- | --------------------------------------------------- | ------------------------------ |
| `startUrls`           | array   | Facebook reels tab URLs to scrape                   | Leonardo DiCaprio's reels page |
| `maxRequestsPerCrawl` | integer | Max number of HTTP requests (controls depth/volume) | `10`                           |

Example input JSON:

```json
{
    "startUrls": [
        { "url": "https://www.facebook.com/NatGeo/reels/" },
        { "url": "https://www.facebook.com/NASA/reels/" }
    ],
    "maxRequestsPerCrawl": 50
}
````

### Output

Each reel is saved as one item in the default dataset. You can download the dataset in various formats such as JSON, CSV, HTML, or Excel from the **Output** tab or via the [Apify API](https://docs.apify.com/api/v2).

Example output item:

```json
{
    "sourceLink": "https://www.facebook.com/LeonardoDiCaprio/reels/",
    "url": "https://www.facebook.com/reel/1137009575037474/",
    "profileName": "Leonardo DiCaprio",
    "views": "1.2M",
    "captionTitle": "#OneBattleAfterAnother now playing only in theaters and IMAX.",
    "musicTrack": "Leonardo DiCaprio · Original audio",
    "likeCount": "24.5K",
    "commentCount": "7.6K",
    "shareCount": "1.3K",
    "videoDownloadLink": "https://video.fdac191-1.fna.fbcdn.net/..."
}
```

### Data table

| Field               | Description                                              |
| ------------------- | -------------------------------------------------------- |
| `sourceLink`        | The reels tab URL that was scraped                       |
| `url`               | Direct URL to the individual reel                        |
| `profileName`       | Name of the Facebook profile or page                     |
| `views`             | View count (e.g. `1.2M`, `445K`)                         |
| `captionTitle`      | Reel caption text                                        |
| `musicTrack`        | Audio track name and artist                              |
| `likeCount`         | Number of likes                                          |
| `commentCount`      | Number of comments                                       |
| `shareCount`        | Number of shares                                         |
| `videoDownloadLink` | Direct MP4 download URL (HD when available, SD fallback) |

### Tips and advanced options

- **Increase `maxRequestsPerCrawl`** — the default is conservative. Set it to `100`+ for pages with many reels. The crawler internally ensures at least 50 requests to allow individual reel detail extraction.
- **Use residential proxies** — Facebook aggressively blocks datacenter IPs. Residential or mobile proxies significantly improve success rates.
- **Run on a schedule** — use Apify's built-in scheduler to monitor a profile weekly or daily and track engagement trends over time.
- **Export to Google Sheets** — connect the dataset output to Google Sheets via Apify integrations for live dashboards.
- **Combine with other Actors** — pipe the `videoDownloadLink` output into a downloader Actor to bulk-save MP4 files to cloud storage.

### FAQ, disclaimers, and support

**Is scraping Facebook Reels legal?**
This Actor only accesses publicly available content — the same data visible to any unauthenticated visitor. Always ensure your use complies with [Facebook's Terms of Service](https://www.facebook.com/terms.php) and applicable laws in your jurisdiction. Do not use this tool to collect personal data without a lawful basis.

**Why are some fields showing "Unknown"?**
Facebook's page structure can vary by region, language, and A/B tests. Some fields like `musicTrack` or `likeCount` may not always be parseable. The Actor falls back to `"Unknown"` or `"0"` rather than failing the entire run.

**The video download link expired — what do I do?**
Facebook CDN URLs are time-limited (typically a few hours). Download the video shortly after the run completes, or re-run the Actor to get fresh links.

**Can it scrape private profiles?**
No. Only public profiles and pages are supported. The Actor does not handle Facebook login.

**Found a bug or need a custom solution?**
Open an issue in the [Issues tab](../../issues) on this Actor's page. For custom scraping solutions or enterprise needs, reach out via the Apify platform.

# Actor input Schema

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

Facebook pages/profiles reels tab URLs.

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of profiles to crawl.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/LeonardoDiCaprio/reels/"
    }
  ],
  "maxRequestsPerCrawl": 10
}
```

# Actor output Schema

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

No description

# 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/LeonardoDiCaprio/reels/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("turtle_ai/facebook-reels-scraper").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/LeonardoDiCaprio/reels/" }] }

# Run the Actor and wait for it to finish
run = client.actor("turtle_ai/facebook-reels-scraper").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/LeonardoDiCaprio/reels/"
    }
  ]
}' |
apify call turtle_ai/facebook-reels-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Reels Scraper",
        "description": "Scrape Facebook Reels from any public profile or page. Extracts reel URL, views, caption, music track, likes, comments, shares, and direct video download link.",
        "version": "0.1",
        "x-build-id": "WrSPwX7faVhItaoeK"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/turtle_ai~facebook-reels-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-turtle_ai-facebook-reels-scraper",
                "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/turtle_ai~facebook-reels-scraper/runs": {
            "post": {
                "operationId": "runs-sync-turtle_ai-facebook-reels-scraper",
                "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/turtle_ai~facebook-reels-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-turtle_ai-facebook-reels-scraper",
                "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",
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Facebook pages/profiles reels tab URLs.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxRequestsPerCrawl": {
                        "title": "Max Pages",
                        "type": "integer",
                        "description": "Maximum number of profiles to crawl.",
                        "default": 10
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
