100 free credits. No credit card required.Start building
Logo
Facebook logo
100 free credits. No credit card required

Facebook Search Videos API

Returns public Facebook videos matching a keyword, each with video id, caption, permalink, thumbnail, and author.

GET /v1/facebook/search/videos

Last updated November 2026Maintained by the SocialCrawl team

When to use the Facebook Search Videos API

Use it to find videos by phrase. View counts on this card are a display string and are not parsed into engagement.views.

From the API reference

Searches public Facebook videos and reels by keyword and returns unified Post items: video id, caption, permalink, thumbnail, the author's name and numeric id (post.ext.author_id), the author's profile URL (post.ext.author_url), and the verified flag where Facebook shows it. Facebook's search card carries no counts, no duration and no publish date (its view count is a rounded display string that runs well below the real count, so it is never parsed), so on a plain call post.engagement, post.content.duration_seconds, post.published_at and post.author.avatar_url are null on every row. Send include=details and every video is joined, in the same call, to the per-post lookup for its permalink: the exact view, like, comment and share counts (post.engagement.views, .likes, .comments and .shares), the duration, the publish time, the author's avatar and the per-reaction breakdown (post.ext.reaction_counts) land on each row. The video id, permalink, caption and thumbnail the search row carries are never replaced. With start_date or end_date, the join dates every video and a video dated outside your window is then dropped; its lookup is still billed, since the search card carries no date to filter on before it. Cost: 1 credit for the page plus 1 credit per video filled from a fresh lookup (7 videos a page, so 8 credits at most); rows already in cache are filled for free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: include=details adds 3 to 5 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. The response carries a hydration block itemising rows, lookups, cache hits, credits and milliseconds. About 7 videos a page. Forward pagination.next_cursor as cursor.

Searching 69 platforms in parallel

·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
Facebook API

What can you do with the Search Videos API?

The Search Videos endpoint gives you structured Facebook data with computed fields in a single request. No scraping infrastructure to build or maintain.

Example Request

# GET /v1/facebook/search/videos: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 35: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
# Next page: send pagination.next_cursor back as cursor until pagination.has_more is false.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 35 --retry 3 -o response.json \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  "https://www.socialcrawl.dev/v1/facebook/search/videos?query=NASA" && cat response.json
# GET /v1/facebook/search/videos: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid

import requests

API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 35  # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/facebook/search/videos"


def backoff(attempt):
    # Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
    return 2 ** attempt * (0.5 + random.random() / 2)


def socialcrawl(params):
    # One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
    idempotency_key = str(uuid.uuid4())
    for attempt in range(MAX_RETRIES + 1):
        try:
            res = requests.get(
                URL,
                params=params,
                headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
                timeout=TIMEOUT_S,
            )
            body = res.json()
        except (requests.RequestException, ValueError):
            # A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
            if attempt == MAX_RETRIES:
                raise
            time.sleep(backoff(attempt))
            continue
        if body["success"]:
            return body
        error = body["error"]
        # Branch on error["type"], never on the message text.
        if error["type"] == "RESOURCE_NOT_FOUND":
            return None  # refunded: nothing to read
        retry_after = res.headers.get("Retry-After")
        # SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
        permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
        if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
            raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
        # Retry-After (seconds) wins; otherwise back off.
        time.sleep(float(retry_after) if retry_after else backoff(attempt))


params = {
    "query": "NASA",
}

# Walk the list: send pagination.next_cursor back as cursor until has_more is false.
MAX_PAGES = 10  # each page is one call
items = []
for _ in range(MAX_PAGES):
    body = socialcrawl(params)
    if body is None:
        break
    items.extend(body["data"]["items"])
    page = body.get("pagination") or {}
    if not page.get("has_more") or not page.get("next_cursor"):
        break
    params["cursor"] = page["next_cursor"]
print(f"{len(items)} items")
// GET /v1/facebook/search/videos: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 35_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;

type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
  | { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
  | { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };

const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);

async function socialcrawl(url: URL) {
  // One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
  const idempotencyKey = crypto.randomUUID();
  for (let attempt = 0; ; attempt++) {
    let res: Response;
    let body: SocialCrawlResponse;
    try {
      res = await fetch(url, {
        headers: {
          "x-api-key": API_KEY,
          "Idempotency-Key": idempotencyKey,
        },
        signal: AbortSignal.timeout(TIMEOUT_MS),
      });
      body = (await res.json()) as SocialCrawlResponse;
    } catch (error) {
      // A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
      if (attempt >= MAX_RETRIES) throw error;
      await sleep(backoffMs(attempt));
      continue;
    }
    if (body.success) return body;
    // Branch on error.type, never on the message text.
    if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
    const retryAfter = res.headers.get("Retry-After");
    // SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
    const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
    if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
      throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
    }
    // Retry-After (seconds) wins; otherwise back off.
    await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
  }
}

const url = new URL("https://www.socialcrawl.dev/v1/facebook/search/videos");
url.searchParams.set("query", "NASA");

// Walk the list: send pagination.next_cursor back as cursor until has_more is false.
const MAX_PAGES = 10; // each page is one call
const items: unknown[] = [];
for (let page = 0; page < MAX_PAGES; page++) {
  const body = await socialcrawl(url);
  if (!body) break;
  items.push(...body.data.items);
  const next = body.pagination?.next_cursor;
  if (!body.pagination?.has_more || !next) break;
  url.searchParams.set("cursor", next);
}
console.log(`${items.length} items`);

Parameters

ParameterRequiredDescription
queryYesKeyword or phrase to search for.
cursorNoCursor from the previous response.
start_dateNoInclude videos on or after this date (YYYY-MM-DD).
end_dateNoInclude videos on or before this date (YYYY-MM-DD).
recent_videosNoWhen true, rank by recency instead of relevance.
location_uidNoFacebook location id to scope the search.
includeNoSet to `details` (one token only) to fill `post.engagement.views`, `.likes`, `.comments` and `.shares`, `post.content.duration_seconds`, `post.published_at`, `post.author.avatar_url` and `post.ext.reaction_counts` on every video in this one call. Holds 1 credit per video (7 a page) and keeps only the rows filled from a fresh lookup: rows already in cache and rows the lookup cannot fill are refunded, so a page is never more than 8 credits. The join takes 3 to 5 seconds on a fresh page, never more than 12, and nothing when the rows are already cached; read `data.hydration` for the rows, the credits held and kept, and the time. Without it the call is unchanged. (details)
sinceNoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
untilNoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
max_pagesNo1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped.
max_itemsNo1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows, then stop with `data.walk.stopped: "max_items"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`"time_budget"`): send the returned cursor with the same params to continue.
max_creditsNo1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: "max_credits"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price.
Example Response

What does the Facebook Search Videos API return?

Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.

Example response
{
  "success": true,
  "platform": "facebook",
  "endpoint": "/v1/facebook/search/videos",
  "data": {
    "items": [
      {
        "post": {
          "id": "930452829785006",
          "url": "https://www.facebook.com/reel/930452829785006/",
          "content": {
            "text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
            "media_urls": "https://scontent.fcai20-6.fna.fbcdn.net/v/t15.5256-10/831523658_1611774573927132_8621044786914934392_n.jpg?stp=c0.0.400.224a_dst-jpg_p75x225_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=e3495b&_nc_ohc=hqD6g5aaICIQ7kNvwGoq_Na&_nc_oc=AdqenUMGHLGr95fdRkERvtFfdKKA5fwWQQD6FQQSBUmd9Y_VPE8UqWjeRrz3TzP7Dr0&_nc_zt=23&_nc_ht=scontent.fcai20-6.fna&_nc_gid=8dTYUQ7lohMLsZ1wUCGBtA&_nc_ss=70289&oh=00_AQO08HTeDMoqJE3RudkPgBD_1fkktPfnVbJdp9G9y_UJXA&oe=6AC5671E",
            "thumbnail_url": "https://scontent.fcai20-6.fna.fbcdn.net/v/t15.5256-10/831523658_1611774573927132_8621044786914934392_n.jpg?stp=c0.0.400.224a_dst-jpg_p75x225_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=e3495b&_nc_ohc=hqD6g5aaICIQ7kNvwGoq_Na&_nc_oc=AdqenUMGHLGr95fdRkERvtFfdKKA5fwWQQD6FQQSBUmd9Y_VPE8UqWjeRrz3TzP7Dr0&_nc_zt=23&_nc_ht=scontent.fcai20-6.fna&_nc_gid=8dTYUQ7lohMLsZ1wUCGBtA&_nc_ss=70289&oh=00_AQO08HTeDMoqJE3RudkPgBD_1fkktPfnVbJdp9G9y_UJXA&oe=6AC5671E",
            "duration_seconds": null
          },
          "author": {
            "username": null,
            "display_name": "user_4da615",
            "avatar_url": null,
            "verified": null
          },
          "engagement": {
            "views": null,
            "likes": null,
            "comments": null,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": null,
            "deleted": false
          },
          "published_at": null,
          "ext": {
            "author_id": "user_9e601d"
          }
        },
        "computed": {
          "engagement_rate": null,
          "language": "en",
          "content_category": "other",
          "estimated_reach": null
        }
      },
      {
        "post": {
          "id": "1408202287429345",
          "url": "https://www.facebook.com/user_06552e/videos/1408202287429345/",
          "content": {
            "text": null,
            "media_urls": "https://scontent.fcai20-6.fna.fbcdn.net/v/t15.5256-10/833702270_1116273988013078_2590966426497346164_n.jpg?stp=c0.0.400.224a_dst-jpg_p75x225_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=e3495b&_nc_ohc=otKs_lDeTRMQ7kNvwGx86Y6&_nc_oc=AdoCBNb8oV_Bi9LI19OyzkWdGcDuSmSNlI9FFKUszR6QmFfqUfynzUXb3m3ACBS70ZY&_nc_zt=23&_nc_ht=scontent.fcai20-6.fna&_nc_gid=8dTYUQ7lohMLsZ1wUCGBtA&_nc_ss=70289&oh=00_AQPBjraQ60mbWU_I8LZ8qQQbwokF26TPDoXOrpFVYart-g&oe=6AC5629B",
            "thumbnail_url": "https://scontent.fcai20-6.fna.fbcdn.net/v/t15.5256-10/833702270_1116273988013078_2590966426497346164_n.jpg?stp=c0.0.400.224a_dst-jpg_p75x225_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=e3495b&_nc_ohc=otKs_lDeTRMQ7kNvwGx86Y6&_nc_oc=AdoCBNb8oV_Bi9LI19OyzkWdGcDuSmSNlI9FFKUszR6QmFfqUfynzUXb3m3ACBS70ZY&_nc_zt=23&_nc_ht=scontent.fcai20-6.fna&_nc_gid=8dTYUQ7lohMLsZ1wUCGBtA&_nc_ss=70289&oh=00_AQPBjraQ60mbWU_I8LZ8qQQbwokF26TPDoXOrpFVYart-g&oe=6AC5629B",
            "duration_seconds": null
          },
          "author": {
            "username": null,
            "display_name": "user_4da615",
            "avatar_url": null,
            "verified": null
          },
          "engagement": {
            "views": null,
            "likes": null,
            "comments": null,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": null,
            "deleted": false
          },
          "published_at": null,
          "ext": {
            "author_id": "user_9e601d"
          }
        },
        "computed": {
          "engagement_rate": null,
          "language": null,
          "content_category": null,
          "estimated_reach": null
        }
      }
    ],
    "next_cursor": "{\"page_number\": 0, \"flow_cursors_serialized\": {\"INTERNAL_DEBUG_MODULE\": \"{}\", \"SEARCH_CONTROLS_INTERCEPT\": \"{}\", \"INTEGRITY\": \"{\\\"has_more_results\\\":false,\\\"processed_unicorn_ids\\\":[],\\\"is_end_of_serp\\\":false}\", \"META_AI\": \"{\\\"has_more_results\\\":false,\\\"processed_unicorn_ids\\\":[],\\\"is_end_of_serp\\\":false}\", \"SPELLER\": \"{}\", \"VIDEOS_CACHED_CONTENT\": \"{}\", \"ADHOC_RESULTS_INJECTION\": \"{}\", \"SEARCH_ADS_TOP_POSITION\": \"{}\", \"VIDEOS_TAB\": \"{\\\"has_more_results\\\": true, \\\"browse_cursor_serialized\\\": \\\"AbpWwnv_GO5N-zIx8zv9Wk0KLPtJ-vvssInzWTfefMpBCClDy8Gj1qrNnjuxa2Tb7Idttk_PfTy32HcpRQE7B_aJ5UyfqzeOMwM2Z0A8-LWVVwGsmeaN47ha2MTwPbNwb14IhMBCB38F_wXCR6CV9eTN2QYCkvDi68ieeIlAl7PRV4zOEufg816mGyj8Euhm-c7gXIV0-rkc3w2ksyiVPmhxmUnhTOnhORcy1AjMa9_qfnmgI7AsnJ1xm03JVPU5Mcav8vS9HtECa1B_RpcbYclPbRZiDUirgJ2WPM8H7YTa7TWK-_kkaYy7Kn5LNKT95RCuZkV3PFTi3u90P-fFzybeAtD-bC1R3AaLFQoCfZI9vf5OiTIUAzN_EJTuHd4ukwH2cv5H2_IkIWZQ2jW-XzUWaKYi_AFJqMulZ0mSsP_M0_wIORvflMc-NnD4XcsaJ86NCEVvrdu-fZktBl0UYVAEUhh79_2a4DlwROKfzaywaeWKwBaSChbEATZOW_TA1fsgaacdh_TNsLYpB2pG7MybIoQQh8wvqWX6SdmPdQNmDQ\\\", \\\"processed_unicorn_ids\\\": [], \\\"is_end_of_serp\\\": false}\", \"PARALLEL_FETCH_NOOP\": \"{}\"}, \"result_ids_shown\": [], \"unit_id_logging_fields\": {\"num_total_modules\": 7, \"num_total_results\": 7, \"num_total_vertical_results\": 7}, \"entity_ids_shown_by_type\": {\"browse_type_search_query\": []}, \"processed_unicorn_ids\": [], \"completed_flows\": [\"INTERNAL_DEBUG_MODULE\", \"SEARCH_CONTROLS_INTERCEPT\", \"INTEGRITY\", \"META_AI\", \"SPELLER\", \"VIDEOS_CACHED_CONTENT\", \"ADHOC_RESULTS_INJECTION\", \"SEARCH_ADS_TOP_POSITION\"], \"custom_cursors_serialized\": {}}",
    "total": null,
    "dropped": 0
  },
  "credits_used": 1,
  "request_id": "req_example000000",
  "cached": false,
  "pagination": {
    "next_cursor": "sc.eyJ2IjoyLCJjIjoie1wicGFnZV9udW1iZXJcIjogMCwgXCJmbG93X2N1cnNvcnNfc2VyaWFsaXplZFwiOiB7XCJJTlRFUk5BTF9ERUJVR19NT0RVTEVcIjogXCJ7fVwiLCBcIlNFQVJDSF9DT05UUk9MU19JTlRFUkNFUFRcIjogXCJ7fVwiLCBcIklOVEVHUklUWVwiOiBcIntcXFwiaGFzX21vcmVfcmVzdWx0c1xcXCI6ZmFsc2UsXFxcInByb2Nlc3NlZF91bmljb3JuX2lkc1xcXCI6W10sXFxcImlzX2VuZF9vZl9zZXJwXFxcIjpmYWxzZX1cIiwgXCJNRVRBX0FJXCI6IFwie1xcXCJoYXNfbW9yZV9yZXN1bHRzXFxcIjpmYWxzZSxcXFwicHJvY2Vzc2VkX3VuaWNvcm5faWRzXFxcIjpbXSxcXFwiaXNfZW5kX29mX3NlcnBcXFwiOmZhbHNlfVwiLCBcIlNQRUxMRVJcIjogXCJ7fVwiLCBcIlZJREVPU19DQUNIRURfQ09OVEVOVFwiOiBcInt9XCIsIFwiQURIT0NfUkVTVUxUU19JTkpFQ1RJT05cIjogXCJ7fVwiLCBcIlNFQVJDSF9BRFNfVE9QX1BPU0lUSU9OXCI6IFwie31cIiwgXCJWSURFT1NfVEFCXCI6IFwie1xcXCJoYXNfbW9yZV9yZXN1bHRzXFxcIjogdHJ1ZSwgXFxcImJyb3dzZV9jdXJzb3Jfc2VyaWFsaXplZFxcXCI6IFxcXCJBYnBXd252X0dPNU4tekl4OHp2OVdrMEtMUHRKLXZ2c3NJbnpXVGZlZk1wQkNDbER5OEdqMXFyTm5qdXhhMlRiN0lkdHRrX1BmVHkzMkhjcFJRRTdCX2FKNVV5ZnF6ZU9Nd00yWjBBOC1MV1ZWd0dzbWVhTjQ3aGEyTVR3UGJOd2IxNEloTUJDQjM4Rl93WENSNkNWOWVUTjJRWUNrdkRpNjhpZWVJbEFsN1BSVjR6T0V1Zmc4MTZtR3lqOEV1aG0tYzdnWElWMC1ya2MzdzJrc3lpVlBtaHhtVW5oVE9uaE9SY3kxQWpNYTlfcWZubWdJN0FzbkoxeG0wM0pWUFU1TWNhdjh2UzlIdEVDYTFCX1JwY2JZY2xQYlJaaURVaXJnSjJXUE04SDdZVGE3VFdLLV9ra2FZeTdLbjVMTktUOTVSQ3Vaa1YzUEZUaTN1OTBQLWZGenliZUF0RC1iQzFSM0FhTEZRb0NmWkk5dmY1T2lUSVVBek5fRUpUdUhkNHVrd0gyY3Y1SDJfSWtJV1pRMmpXLVh6VVdhS1lpX0FGSnFNdWxaMG1Tc1BfTTBfd0lPUnZmbE1jLU5uRDRYY3NhSjg2TkNFVnZyZHUtZlprdEJsMFVZVkFFVWhoNzlfMmE0RGx3Uk9LZnpheXdhZVdLd0JhU0NoYkVBVFpPV19UQTFmc2dhYWNkaF9UTnNMWXBCMnBHN015YklvUVFoOHd2cVdYNlNkbVBkUU5tRFFcXFwiLCBcXFwicHJvY2Vzc2VkX3VuaWNvcm5faWRzXFxcIjogW10sIFxcXCJpc19lbmRfb2Zfc2VycFxcXCI6IGZhbHNlfVwiLCBcIlBBUkFMTEVMX0ZFVENIX05PT1BcIjogXCJ7fVwifSwgXCJyZXN1bHRfaWRzX3Nob3duXCI6IFtdLCBcInVuaXRfaWRfbG9nZ2luZ19maWVsZHNcIjoge1wibnVtX3RvdGFsX21vZHVsZXNcIjogNywgXCJudW1fdG90YWxfcmVzdWx0c1wiOiA3LCBcIm51bV90b3RhbF92ZXJ0aWNhbF9yZXN1bHRzXCI6IDd9LCBcImVudGl0eV9pZHNfc2hvd25fYnlfdHlwZVwiOiB7XCJicm93c2VfdHlwZV9zZWFyY2hfcXVlcnlcIjogW119LCBcInByb2Nlc3NlZF91bmljb3JuX2lkc1wiOiBbXSwgXCJjb21wbGV0ZWRfZmxvd3NcIjogW1wiSU5URVJOQUxfREVCVUdfTU9EVUxFXCIsIFwiU0VBUkNIX0NPTlRST0xTX0lOVEVSQ0VQVFwiLCBcIklOVEVHUklUWVwiLCBcIk1FVEFfQUlcIiwgXCJTUEVMTEVSXCIsIFwiVklERU9TX0NBQ0hFRF9DT05URU5UXCIsIFwiQURIT0NfUkVTVUxUU19JTkpFQ1RJT05cIiwgXCJTRUFSQ0hfQURTX1RPUF9QT1NJVElPTlwiXSwgXCJjdXN0b21fY3Vyc29yc19zZXJpYWxpemVkXCI6IHt9fSIsImUiOiJmYWNlYm9vay9zZWFyY2gvdmlkZW9zIiwicCI6ImN1cnNvciJ9",
    "has_more": true,
    "page_size": 7
  },
  "credits_remaining": 9999,
  "source": "captured",
  "captured_at": "2026-10-02T12:42:41.813Z",
  "redacted": true
}

Live sample illustrating the unified response shape. Field values reflect the record you query.

API Details

How does the Facebook Search Videos API work?

Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.

Method

GET

Response

JSON

Why SocialCrawl

Why use SocialCrawl for Facebook Search Videos data?

We handle the complexity of Facebook data extraction so you can focus on building. Unified schema, AI enrichment, and zero platform logic in your code.

Developer First

How do you scrape social media data in seconds?

The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.

One schema, every platform

Query 69 platforms with identical response structures. Write your integration once.

Computed fields, not just scraped

When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.

See your data before you code

Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.

import requests

response = requests.get(
    'https://www.socialcrawl.dev/v1/tiktok/profile',
    params={'handle': 'charlidamelio'},
    headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json()
[ .JSON ]
{
  "success": true,
  "platform": "tiktok",
  "data": {
    "author": {
      "username": "charlidamelio",
      "followers": 152400000
    },
    "engagement": {
      "likes": 12400000000,
      "engagement_rate": 0.087
    },
    "metadata": {
      "language": "en",
      "content_category": "lifestyle"
    }
  }
}
+ 69 platforms
FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
What does the Facebook Search Videos API return?
Returns public Facebook videos matching a keyword, each with video id, caption, permalink, thumbnail, and author. The response uses the same JSON envelope as every SocialCrawl endpoint, with the data, credits_used and request_id fields.
When should I use the Facebook Search Videos endpoint?
Use it to find videos by phrase. View counts on this card are a display string and are not parsed into engagement.views.
How much does the Facebook Search Videos API cost?
The price depends on the request, from 1 to 8 credits per call. Every new account gets 100 free credits. Credits for failed or empty calls are refunded automatically, and there is no subscription.
What parameters does the Facebook Search Videos API need?
The one required parameter is query (keyword or phrase to search for). It also accepts 11 optional parameters, all listed on this page.
How do I call the Facebook Search Videos API?
Send a GET request to https://www.socialcrawl.dev/v1/facebook/search/videos?query=NASA with your API key in the x-api-key header. An Authorization: Bearer header works too.

Ask AI about SocialCrawl

Ready to scrape Facebook Search Videos data?

Get your API key and start pulling Facebook data in under 60 seconds.

Start for free

🤖 AI agent or LLM? Read this page as markdown