Facebook Search Videos Scraper API
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. post.id is the id in the video's permalink (/reel/<id>/, /videos/<id>/ or watch/?v=<id>), so a video keeps one id on every page; the id Facebook's search gave the result is on post.ext.search_result_id, and on a reel it is often a different id. 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. The video id, permalink, caption and thumbnail the search row carries are never replaced.
GET /api/v1/data/facebook/search-videos · 1 credit per page · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Inputs
query(required): Keyword or phrase to search for.cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.start_date: Ask Facebook for videos on or after this date (YYYY-MM-DD).end_date: Ask Facebook for videos on or before this date (YYYY-MM-DD).recent_videos: When true, rank by recency instead of relevance.location_uid: Facebook location id to scope the search.since: Only 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. 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`.until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.count(integer): How many posts this answer holds.posts[].id(string): The item's ID on the platform.posts[].url(string): Link to it on the platform.posts[].text(string): Its text.posts[].published_at(string): When it was published (ISO 8601).posts[].language(string): Its language code.posts[].deleted(boolean): Whether it was deleted.posts[].author_id(string): The author's ID on the platform.posts[].author_username(string): The author's username.posts[].author_name(string): The author's display name.posts[].author_profile_url(string): Link to the author's profile.posts[].author_verified(boolean): Whether the author is verified.posts[].author_avatar_url(string): The author's picture.posts[].like_count(number): Likes.posts[].comments_count(number): Comments.posts[].share_count(number): Shares or reposts.posts[].view_count(number): Views.posts[].media[].url(string): Its media.posts[].media[].thumbnail_url(string): Its media's thumbnail.posts[].media[].duration_seconds(number): Its video's length in seconds.posts[].content_type(string): What it is: post.posts[].platform(string): The platform's name.posts[].source_data(object): Everything the platform sent for this row, as it came.posts[].source_data.computed.content_category(string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.posts[].source_data.computed.engagement_rate(number): Computed engagement rate (0..1).posts[].source_data.computed.estimated_reach(number): Estimated reach based on views or follower count. Null when uncomputable.posts[].source_data.computed.language(string): ISO 639-1 language code detected from the post text. Null when undetectable.posts[].source_data.computed.save_rate(number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.posts[].source_data.post.author.avatar_url(string): URL to author profile pictureposts[].source_data.post.author.display_name(string): Author display nameposts[].source_data.post.author.username(string): Author usernameposts[].source_data.post.author.verified(boolean): Whether the author account is verifiedposts[].source_data.post.content.duration_seconds(number): Video/clip duration in seconds (null for non-video posts)posts[].source_data.post.content.media_urls(any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.posts[].source_data.post.content.text(string): Post caption, description, or text contentposts[].source_data.post.content.thumbnail_url(string): URL to thumbnail imageposts[].source_data.post.engagement.comments(number): Comment count. Both land on this same field.posts[].source_data.post.engagement.likes(number): Like / reaction countposts[].source_data.post.engagement.shares(number): Share / repost / retweet count.posts[].source_data.post.engagement.views(number): View count (if available). For Instagram video/reels this is the play count: the headline 'Views' the IG app shows. Note: since mid-July 2026 Instagram's play count is Instagram-only. It no longer includes Facebook crosspost views (Meta-side change; the app UI changed identically).posts[].source_data.post.ext.author_id(string): The creator's platform-native numeric user id.posts[].source_data.post.ext.author_url(string): The posting account's profile URL, so a matching post can be followed to its account. Null when the row names neither an account URL nor a numeric account id.posts[].source_data.post.ext.reaction_counts(array): Reaction counts by type.posts[].source_data.post.ext.search_result_id(string): The id Facebook's video search gave this result, as sent. On a reel result it is often another id, such as the post that carries the reel; post.id is always the id in the video's URL. Facebook video search only.posts[].source_data.post.flags.deleted(boolean): Whether the post is tombstoned (always present)posts[].source_data.post.id(string)posts[].source_data.post.published_at(any): Post creation timestamp as an ISO 8601 UTC string.posts[].source_data.post.url(string)next_cursor(string): Send it as cursor to get the next page; null when there is none.has_more(boolean): Whether there is another page.
Good to know
- The price depends on what the call returns: from 1 credit to 8 credits.
- Each call returns one page of about 7 posts. To get the next page, send next_cursor from the answer as cursor.
- The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Example call
GET /api/v1/data/facebook/search-videos?query=NASA
Questions
How much does the Facebook Search Videos API cost?
Each page costs 1 to 8 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send query. 6 more inputs are optional: start_date, end_date, recent_videos, location_uid, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How do I get the next page?
Each call returns one page of about 7 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.
How fresh is the data?
The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Do I need a Facebook account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related Facebook endpoints
- Search Groups: Search Facebook groups by keyword. 1 credit a page
- Search Hashtag: Search Facebook posts and videos carrying a hashtag. 1 credit a page
- Search Mentions: Search Facebook posts that mention a page. 1 credit a page
- Search Pages: Search Facebook pages by keyword. 1 credit a page
- Search People: Search Facebook people by keyword. 1 credit a page
More Facebook scraper APIs
- Facebook Ad Library Ad Scraper API
- Facebook Ad Library Ad Transcript Scraper API
- Facebook Ad Library Advertiser Scraper API
- Facebook Ad Library Company Ads Scraper API
- Facebook Ad Library Search Ads Scraper API
- Facebook Ad Library Search Companies Scraper API
- Facebook Event Details Scraper API
- Facebook Events Scraper API
- Facebook Events Search Scraper API
- Facebook Group Scraper API
- Facebook Group Events Scraper API
- Facebook Group Posts Scraper API
- Facebook Marketplace Item Scraper API
- Facebook Marketplace Location Search Scraper API
- Facebook Marketplace Search Scraper API
- Facebook Post Scraper API
- Facebook Post Comment Replies Scraper API
- Facebook Post Transcript Scraper API
- Facebook Profile Scraper API
- Facebook Profile Events Scraper API
- Facebook Profile Full Scraper API
- Facebook Profile Photos Scraper API
- Facebook Profile Posts Scraper API
- Facebook Profile Reels Scraper API
- Facebook Profile Reels Full Scraper API
- Facebook Search Groups Scraper API
- Facebook Search Hashtag Scraper API
- Facebook Search Mentions Scraper API
- Facebook Search Pages Scraper API
- Facebook Search People Scraper API