# Facebook Video Search Scraper (`piotrv1001/facebook-video-search-scraper`) Actor

Search Facebook videos and reels by keyword with no login: text, date, views or reactions, comments, shares, duration, thumbnail, MP4 link where available, and the author. Many keywords per run, export to CSV or Excel.

- **URL**: https://apify.com/piotrv1001/facebook-video-search-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 94.4% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 videos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

### 🚀 Facebook Video Search Scraper

**Search Facebook videos and reels by keyword** with no login, no account and no Graph API token. The **Facebook Video Search Scraper** works like a Facebook video search from your code: type a word or phrase and get matching public videos with their text, date, reactions or views, comments, shares, duration, thumbnail, MP4 link where available, and author. Run many keywords at once and export to JSON, CSV or Excel. Use it to find trending Facebook videos in a niche, for content research, competitor tracking and video collections.

### ✨ Features

- **Search videos by keyword**: Public videos and reels matching your words, each read from its own Facebook page.
- **Engagement**: Views, reactions and comments on almost every video; shares where Facebook shows them.
- **Video files**: Direct MP4 link where available, thumbnail and duration.
- **Date filter**: Only videos posted in the past 24 hours, week or month, checked against each video's exact posting time.
- **Author on every row**: Name, ID and profile link.
- **Many keywords per run**: Each with its own limit; a video found by two keywords is saved and charged once.

### 🛠️ How It Works

1. **Enter your search keywords**, one per line.
2. **Set the limit**: 50 videos per keyword by default.
3. **Run it**: download the videos as JSON, CSV or Excel, or get them through the API.

### ⚙️ Input

| Field | What it does |
| --- | --- |
| **Search keywords** | Words to search Facebook videos for, one per line. |
| **Posted within** | Any time (default), past 24 hours, past week or past month, checked against each video's exact posting time. Videos outside the window are dropped and not charged. Through the API, `start_date` / `end_date` (yyyy-mm-dd) set a custom range. |
| **Max videos per keyword** | Stop after this many videos for each keyword. Default 50. |

```json
{
    "queries": ["electric cars", "street food"],
    "postedWithin": "week",
    "maxItems": 100
}
```

### 💰 Pricing

You pay per video saved, with no monthly rental.

| Event | Price | What you get |
| --- | --- | --- |
| **Video** | $0.003 per video ($3 per 1,000) | One video with all the fields below |
| **Actor start** | $0.00005 per run | Charged once when the run starts |

Examples: 100 videos cost $0.30 and 1,000 videos cost $3.

### 📊 Sample Output Data

```json
{
    "id": "1071645182287403",
    "url": "https://www.facebook.com/reel/1071645182287403/",
    "postId": "122166452996676016",
    "text": "The Most Popular Thai Fruit Salad - Thai Street Food \n#streetfood #foodie #fyp #food #fruits \n🚘 เจ๊เจี๊ยบ ผลไม้ซิ่ง หน้าพระตำหนักสิริยาลัย อยุธยา ไทยแลนด์",
    "createdAt": "2026-09-11T00:19:35.000Z",
    "views": null,
    "reactions": 18422,
    "comments": 145,
    "shares": 308,
    "durationSeconds": 294,
    "thumbnailUrl": "https://scontent-ord5-2.xx.fbcdn.net/v/t15.5256-10/802457209_1396340658540915_8351463705336272611_n.jpg?…",
    "videoUrl": "https://video-ord5-2.xx.fbcdn.net/o1/v/t2/f2/m366/AQOA_gok0OTHhhWq1NzSNyFgQyyiGAX6OpjIICRZ6m4qIDWR-ZvE1l6voXhuAZoFsL-cKp3jEH4ItSbpMqqgShCoOVYJ0w3hHMe5CQ8zygD3ng.mp4?…",
    "author": {
        "name": "Hungry Traveler",
        "id": "61570280481904",
        "url": "https://www.facebook.com/HungryTraveler00"
    },
    "query": "street food",
    "scrapedAt": "2026-11-01T07:51:59.220Z"
}
```

Every row has the same fields. In our test on 100 `electric cars` videos, all had the date, reactions, comments, duration, thumbnail, MP4 link and author, 98 had the text and views, and 45 had shares. Views on reels are rounded as Facebook shows them (3.8K → 3800).

### 🎯 Use Cases for Facebook Video Search

- **Find trending Facebook videos**: search a topic and sort by reactions or views.
- **Content research**: see which hooks, lengths and captions work in a niche.
- **Competitor and brand tracking**: find videos that mention a brand or product.
- **Video collections**: gather MP4 links for archiving or editing, where you have the rights.

### ❓ FAQ

**How do I search Facebook videos without an account?** Enter your keywords and run the Actor. No Facebook account, cookies or Graph API token are needed.

**How many videos does one keyword return?** Facebook's own video search no longer answers without an account, so the Actor finds videos in public results and reads each one from Facebook. Depth depends on the keyword: a broad one such as `electric cars` passed 100 in our tests, narrow ones give a few dozen. When a search runs out before your limit, the status message says how many were found. For more, add related keywords.

**Are the results only exact matches?** A video must share at least one word with your keywords, so a few loosely related videos can appear. Results are not sorted by date.

**Can I get only recent videos?** Yes. Set **Posted within** to the past 24 hours, week or month. Every video is checked against its exact posting time, and anything older is dropped before you are charged. A recent window gives fewer videos per keyword: in our tests `electric cars` gave 39 videos for the past week and 67 for the past month, `street food` 39 and 64.

**Why are views empty on some rows?** Facebook shows some results with views and others with reactions, comments and shares. We return what Facebook gives for each one and don't fill the gaps with guesses.

**Are the dates exact?** Yes, `createdAt` is the posting time from the video's own page.

**How long do the video links work?** Facebook's video and image links expire after a few days, so download the files you need soon after the run.

**Can I export to Excel or CSV?** Yes. Every run's dataset downloads as CSV, Excel, JSON or XML, or through the Apify API.

### 🔗 More Facebook Actors

- [Facebook Posts Search Scraper](https://apify.com/piotrv1001/facebook-posts-search-scraper): search posts by keyword.
- [Facebook Search Scraper](https://apify.com/piotrv1001/facebook-search-scraper): search pages, places and events with contact details.
- [Facebook Reels Scraper](https://apify.com/piotrv1001/facebook-reels-scraper): all the reels of a page you already know.
- [Facebook Video Transcript Scraper](https://apify.com/piotrv1001/facebook-video-transcript-scraper): the spoken text of Facebook videos and reels.

# Actor input Schema

## `queries` (type: `array`):

Words to search Facebook videos for, one per line, e.g. `electric cars`. A keyword usually gives about 30 to 60 videos; use several related keywords to go further.

## `postedWithin` (type: `string`):

Keep only videos posted in this window, by each video's exact posting time. Videos outside it are dropped and not charged. `start_date` / `end_date` (yyyy-mm-dd) also work through the API.

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

Stop after this many videos for each keyword.

## Actor input object example

```json
{
  "queries": [
    "electric cars",
    "street food"
  ],
  "postedWithin": "any",
  "maxItems": 50
}
```

# 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 = {
    "queries": [
        "electric cars"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/facebook-video-search-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 = {
    "queries": ["electric cars"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/facebook-video-search-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 '{
  "queries": [
    "electric cars"
  ],
  "maxItems": 50
}' |
apify call piotrv1001/facebook-video-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/facebook-video-search-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/HSONWyzb0J6xjNAc3/builds/9BCsrdq4EcODZ6J0Y/openapi.json
