Facebook Search Groups Scraper API
Groups are discovered through a public web search index limited to Facebook group pages, so a group is found either through its own page or through a post inside it: author.ext.search_hit.match says which (group_page or post_in_group), and author.ext.search_hit also carries the hit's title, snippet and evidence_url (the exact page that matched). A group found only through a post has display_name: null, because a post's title is not the group's name. The search hit carries no member count, description, privacy or creation date, so on a plain call author.followers, author.bio, author.joined_at and author.ext.group are null. Forward next_cursor as cursor for the next page.
GET /api/v1/data/facebook/search-groups · 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): Keywords describing the groups to find, for example `vintage cars`.page: Page number, starting at 1. Forwarding `next_cursor` as `cursor` does the same.cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.items[].author.bio(string): Profile biography or descriptionitems[].author.display_name(string): Display name or full nameitems[].author.ext.business_hours(array)items[].author.ext.group.activity(any): Recent posting and joining activity.items[].author.ext.group.id(any)items[].author.ext.group.privacy_label(any): Privacy setting, such as `Public`.items[].author.ext.group.visibility_label(any): Visibility setting, such as `Visible`.items[].author.ext.products(array): Null when it lists none.items[].author.ext.search_hit.evidence_url(string): The exact URL the search hit.items[].author.ext.search_hit.match(string): What was hit: group_page, post_in_group, channel_page or post_in_channel.items[].author.ext.search_hit.snippet(string): The hit text as the search index showed it. It is not the account's own description.items[].author.ext.search_hit.title(string): The hit title as the search index showed it. It is not the account's own name.items[].author.followers(number): Follower or subscriber count as an integer. YouTube above 1,000 subscribers is YouTube's published three-significant-figure figure. When the integer is a published/rounded value, `author.ext.followers_approximate` is true.items[].author.id(string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)items[].author.joined_at(string): When the account was created, as an ISO 8601 date (YYYY-MM-DD).items[].author.url(string): Direct URL to the profile pageitems[].computed.relevance(object)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.source_data(object): Everything the platform sent for this call, as it came.
Good to know
- The price depends on what the call returns: from 1 credit to 15 credits.
- Each call returns one page of about 7 rows. 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-groups?query=vintage+cars
Questions
How much does the Facebook Search Groups API cost?
Each page costs 1 to 15 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send query. 1 more input is optional: page. 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 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
- Search Videos: Search Facebook videos 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 Hashtag Scraper API
- Facebook Search Mentions Scraper API
- Facebook Search Pages Scraper API
- Facebook Search People Scraper API
- Facebook Search Videos Scraper API