Platforms/Facebook/Video search

Facebook Video Search API

GET ยท 1 credit

Send words to search for, and get the public videos and reels Facebook's logged-out video search finds, about 5 a page.

GET /v1/facebook/search/videos

What people use it for

  • Viral video research: find the most-watched videos on a topic.
  • Brand monitoring: see which public videos mention your brand or products.
  • Creator discovery: find the profiles and Pages that post videos in your niche.

How it works with other endpoints

Each video's id or url goes to Post comments and Post. Its author's author_url goes to Profile.

Limits

  • About 5 videos a page.
  • Plays are rounded by Facebook (127K).
  • Search by words only: no date or sort filter.

Example request

const url = `${process.env.API_URL}/v1/facebook/search/videos?query=dogs`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
queryYesWords to search for.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "2696287970785751",
      "url": "https://www.facebook.com/reel/2696287970785751",
      "text": "Wait for the ending.",
      "created_at": "2026-11-27T12:30:00Z",
      "author": "UNILAD",
      "author_id": "146505212039213",
      "author_url": "https://www.facebook.com/uniladmag",
      "likes": 9600,
      "comment_count": 341,
      "shares": 1100,
      "views": 127000,
      "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/reel-thumbnail.jpg",
      "video_id": "2696287970785751",
      "video_url": "https://video.xx.fbcdn.net/v/t42.1790-2/reel.mp4",
      "duration_seconds": 14
    }
  ],
  "page": {
    "next_cursor": "eyJhZnRlciI6IkFRSGFYIn0",
    "has_more": true
  },
  "meta": {
    "platform": "facebook",
    "endpoint": "video_search",
    "params": {
      "query": "dogs"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-29T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Can I filter by date or sort the results?

No. It returns what Facebook's logged-out video search finds for the words, in Facebook's order.

Are the plays exact?

No. Facebook rounds them in search results, such as 127K.

How do I get a video's comments?

Send its id or url to Post comments.

Works with

On other platforms

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required