# Facebook Reels Scraper, MP4 & AI Transcripts (`forlex/facebook-reels-transcript-scraper`) Actor

Scrape public Facebook Reels from pages or reel URLs with no login: play counts, HD MP4/audio URLs, native SRT transcripts + optional AI speech-to-text fallback, first-3s viral hooks, scene summaries, watchlist monitoring, Server API & MCP.

- **URL**: https://apify.com/forlex/facebook-reels-transcript-scraper.md
- **Developed by:** [Forlex Lab](https://apify.com/forlex) (community)
- **Categories:** Social media, Videos, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 facebook reel scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

## 🎬 Facebook Reels Scraper — Play Counts, MP4 & AI Transcripts

> **Extract public Facebook Reels play counts, captions, HD MP4/audio URLs, native SRT/VTT transcripts, first-3s viral hooks, and AI creative breakdowns with zero login** — via **Batch**, **Multi-Tenant Server API**, and **native MCP**.

[![Apify Store](https://img.shields.io/badge/Apify%20Store-Pay%20Per%20Event-00D4AA)](#pricing-pay-per-event)
[![No Login](https://img.shields.io/badge/Auth-No%20Cookies%20Required-success)](#features)
[![MCP Ready](https://img.shields.io/badge/MCP-Native%20Streamable%20HTTP-blue)](#mcp-server-integration)

***

### 🚀 Why This Actor?

| Feature | **Facebook Reels Scraper (`forlex`)** | Legacy Facebook Reels Scrapers |
| :--- | :--- | :--- |
| **Base Price / Reel** | **$0.0035 FREE → $0.0020 GOLD** | $0.005/reel (2.81★ leader) |
| **Native Captions + Zero-Key ASR** | **SRT/VTT + First-3s Hook + Optional Built-in ASR** | None or requires bringing your own API key |
| **Media Streams** | **HD MP4, SD MP4 & Separate Audio URL** | Often missing or broken |
| **Watchlist Monitoring** | **`watchlistId` + `newReelsOnly` delta sync** | Re-scrapes & double-bills every run |
| **Real-Time API & MCP** | **Server API (`/reel`, `/page-reels`) + `/mcp`** | Batch-only |

***

### ✨ Features

- ⚡ **Fast HTTP Relay Engine (256 MB RAM)** — Parses Facebook Relay JSON & DASH MPD manifests directly without heavy headless browser overhead.
- 📝 **Native SRT/VTT Transcripts + AI Audio Fallback** — Grabs Facebook's native `.srt` captions first (multi-language selection), with optional audio-only ASR fallback when captions are absent.
- 🪝 **Viral Hook & Pacing Intelligence** — Automatically extracts `hookFirst3s`, `wordsPerMinute`, `ctaSignals`, and optional AI `hookAnalysis` (`hookType`, `hookScore`, `scriptBeats`).
- 🔄 **Watchlist Delta Sync & Dataset Chaining** — Monitor competitor pages on a schedule emitting only new reels, or chain URLs from any upstream Apify Dataset (`sourceDatasetId`).
- 🔌 **Notion / Slack / Todoist MCP Connector** — Deliver creative briefs automatically after each run.

***

### 💡 Quick Start

#### 1. Create a Free Apify Account ($5 Credit)

[![Create Free Account](https://img.shields.io/badge/Create%20Free%20Account-%245%20Credit-00D4AA?style=for-the-badge)](https://apify.com?fpr=5uxnkx)

#### 2. Example Input

```json
{
  "startUrls": [
    { "url": "https://www.facebook.com/Meta/reels/" }
  ],
  "maxReelsPerPage": 10,
  "maxItems": 20,
  "includeTranscript": true,
  "captionLanguage": "en",
  "transcribeAudioFallback": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

#### 3. Example Output

```json
{
  "reelId": "1456099656721938",
  "reelUrl": "https://www.facebook.com/reel/1456099656721938",
  "ownerName": "Meta",
  "ownerVerified": true,
  "playCount": 157000,
  "playCountText": "157K",
  "durationSeconds": 9.88,
  "hasNativeCaptions": true,
  "captionLanguage": "en_US",
  "transcriptSource": "facebook_native_srt",
  "hookFirst3s": "Living on a regenerative farm...",
  "wordsPerMinute": 142,
  "ctaSignals": [],
  "videoHdUrl": "https://video.fbcdn.net/...",
  "audioUrl": "https://video.fbcdn.net/..."
}
```

***

### 💰 Pricing (Pay Per Event)

| Event | FREE | BRONZE | SILVER | GOLD+ | Notes |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **`apify-actor-start`** | $0.00005 | $0.00005 | $0.00005 | $0.00005 | Per GB RAM (first 5s compute free) |
| **`apify-default-dataset-item`** *(Primary)* | **$0.0035** | **$0.0028** | **$0.0024** | **$0.0020** | Per reel extracted (failed/private reels free) |
| **`reel-transcript`** *(Optional)* | $0.0120 | $0.0100 | $0.0090 | $0.0080 | Charged only when a transcript is delivered |
| **`extra-transcript-minute`** *(Optional)* | $0.0040 | $0.0035 | $0.0030 | $0.0025 | Per started minute > 3 min when ASR fallback runs |
| **`ai-hook-breakdown`** *(Optional)* | $0.0200 | $0.0150 | $0.0130 | $0.0120 | Charged only when `analyzeHookWithAi` succeeds |
| **`api-reel-request`** *(Server / MCP)* | $0.0035 | $0.0028 | $0.0024 | $0.0020 | Per reel returned via `/reel`, `/page-reels`, or `/mcp` |

> Free Apify users can run core reel scraping up to platform limits.

***

### 🔧 API, Node.js, Python & MCP Server Integration

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('forlex/facebook-reels-transcript-scraper').call({
  pageHandles: ['Meta'],
  maxReelsPerPage: 10,
  includeTranscript: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("forlex/facebook-reels-transcript-scraper").call(
    run_input={"pageHandles": ["Meta"], "maxReelsPerPage": 10, "includeTranscript": True}
)
print(client.dataset(run["defaultDatasetId"]).list_items().items)
```

#### MCP Server Endpoint

Connect any MCP client to `https://forlex--facebook-reels-transcript-scraper.apify.actor/mcp` (`Authorization: Bearer YOUR_APIFY_TOKEN`). Tools:

- `scrape_facebook_reel`
- `scrape_facebook_page_reels`
- `extract_facebook_reel_hook_and_transcript`

***

### 🔗 More Actors by `forlex`

- [TikTok Comments Scraper](https://apify.com/forlex/tiktok-comments-scraper) — Extract TikTok comments, replies, and buyer-intent leads.
- [Website Contact & Tech Stack Enricher](https://apify.com/forlex/website-contact-enricher) — Flat per-domain emails, Link-in-Bio leads & 45+ tech pixels.
- [LinkedIn Company Details Scraper](https://apify.com/forlex/linkedin-company-scraper) — Extract 30+ firmographic fields without cookies.

<div align="center">

**Built by Rifky Afriza (`forlex`) · Powered by [Apify](https://apify.com?fpr=5uxnkx)**

</div>

# Changelog

This Actor's version history is a separate document: https://apify.com/forlex/facebook-reels-transcript-scraper/changelog.md

# Actor input Schema

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

Facebook page URLs (e.g. https://www.facebook.com/Meta/reels/) or direct reel URLs in Apify Request List format.

## `pageHandles` (type: `array`):

Optional Facebook page usernames or URLs (e.g. 'Meta', 'nike', 'https://www.facebook.com/Meta'). Automatically opens their /reels/ tab.

## `reelUrls` (type: `array`):

Optional list of direct facebook.com/reel/... , facebook.com/share/r/... , or fb.watch/... URLs.

## `sourceDatasetId` (type: `string`):

Optional Apify Dataset ID containing Facebook Reel or Page URLs.

## `datasetUrlField` (type: `string`):

Field name in each source dataset row containing the Facebook URL.

## `maxReelsPerPage` (type: `integer`):

Maximum number of reels extracted from each Facebook Page's Reels tab.

## `maxItems` (type: `integer`):

Hard cap on total reel records returned across the entire run.

## `includeTranscript` (type: `boolean`):

Fetch native Facebook SRT captions (and optionally run ASR fallback) to populate transcriptText, transcriptSrt, transcriptVtt, hookFirst3s, and CTA signals. Charges 'reel-transcript' only when a transcript is delivered.

## `captionLanguage` (type: `string`):

Preferred ISO language code for native captions (e.g. 'en', 'es', 'id', 'auto').

## `transcribeAudioFallback` (type: `boolean`):

When a reel has no native Facebook captions, download the audio track and transcribe via AI speech-to-text (built-in Apify OpenRouter or your optional Groq/OpenAI key).

## `maxAudioMinutes` (type: `integer`):

Skip AI audio transcription fallback if a reel exceeds this duration in minutes.

## `analyzeHookWithAi` (type: `boolean`):

Analyze the opening hook, creative angle, target audience, and script beats with an LLM. Charges 'ai-hook-breakdown' only when analysis succeeds.

## `outputMode` (type: `string`):

Choose flat structured rows or include enriched ragText Markdown documents.

## `minPlays` (type: `integer`):

Keep only reels with at least this many plays (when playCount is reported).

## `postedAfter` (type: `string`):

Optional date cutoff (YYYY-MM-DD or relative such as '7 days').

## `keywordFilter` (type: `array`):

Optional keywords; keeps only reels whose caption or transcript matches at least one keyword.

## `watchlistId` (type: `string`):

Named watchlist key to remember previously seen reel IDs across scheduled runs.

## `newReelsOnly` (type: `boolean`):

When Watchlist Store Name is set, skip reels already seen in previous runs.

## `asrApiKey` (type: `string`):

Optional secret API key for Whisper ASR or LLM hook breakdown.

## `asrBaseUrl` (type: `string`):

Optional OpenAI-compatible base URL (e.g. https://api.groq.com/openai/v1).

## `maxConcurrency` (type: `integer`):

Number of Facebook URLs fetched concurrently.

## `outputConnector` (type: `string`):

Optional Apify MCP Connector for automated creative briefs delivery.

## `deliverTarget` (type: `string`):

Optional destination target for MCP connector delivery.

## `deliverMode` (type: `string`):

Send a single creative brief summary or one item per reel.

## `deliverMaxItems` (type: `integer`):

Maximum reels included in connector delivery.

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

Apify Proxy settings. Datacenter works for most public pages; Residential helps if Facebook rate-limits.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/Meta/reels/"
    }
  ],
  "pageHandles": [],
  "reelUrls": [],
  "datasetUrlField": "url",
  "maxReelsPerPage": 5,
  "maxItems": 5,
  "includeTranscript": true,
  "captionLanguage": "en",
  "transcribeAudioFallback": false,
  "maxAudioMinutes": 3,
  "analyzeHookWithAi": false,
  "outputMode": "flat",
  "minPlays": 0,
  "keywordFilter": [],
  "watchlistId": "",
  "newReelsOnly": false,
  "asrBaseUrl": "",
  "maxConcurrency": 3,
  "deliverTarget": "",
  "deliverMode": "summary",
  "deliverMaxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Extracted Facebook Reels metadata, MP4/audio URLs, native SRT/VTT transcripts, first-3s hooks, and AI breakdowns.

# 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/Meta/reels/"
        }
    ],
    "maxReelsPerPage": 5,
    "maxItems": 5,
    "includeTranscript": true,
    "transcribeAudioFallback": false,
    "analyzeHookWithAi": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("forlex/facebook-reels-transcript-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/Meta/reels/" }],
    "maxReelsPerPage": 5,
    "maxItems": 5,
    "includeTranscript": True,
    "transcribeAudioFallback": False,
    "analyzeHookWithAi": False,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("forlex/facebook-reels-transcript-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.facebook.com/Meta/reels/"
    }
  ],
  "maxReelsPerPage": 5,
  "maxItems": 5,
  "includeTranscript": true,
  "transcribeAudioFallback": false,
  "analyzeHookWithAi": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call forlex/facebook-reels-transcript-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,forlex/facebook-reels-transcript-scraper"
        }
    }
}
```

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

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aQ1WDt0klPu40ja9P/builds/CJKUcvoBV3xchIfGr/openapi.json
