Facebook Group Search API
Search Facebook groups by keyword, with each group's link, picture and the summary line Facebook shows, such as its privacy, member count and posts per day. Page through the results with `cursor`.
- Endpoint
- POST /facebook/search/groups
- Price
- 1 credit per request
- SDK
- client.facebook.searchGroups()
- MCP tool
- facebook_search_groups
curl -X POST "https://api.bridgly.app/facebook/search/groups" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "electric bikes", "count": 8}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/facebook/search/groups", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "query": "electric bikes", "count": 8, },)data = response.json()const response = await fetch("https://api.bridgly.app/facebook/search/groups", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "query": "electric bikes", "count": 8 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.facebook.searchGroups({ query: "electric bikes", count: 8});if (res.type === "success") { console.log(res.data);}What does the Facebook Group Search API return?
Search Facebook groups by keyword as JSON: group name, link, picture and summary with privacy, member count and how many posts a day it gets. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Example response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "name": "string", "url": "string", "pictureUrl": "string", "summary": "string" } ] }}What can you build with the Facebook Group Search API?
Find communities
Discover groups where your audience gathers.
Rank by activity
Compare groups by members and daily posts.
Plan outreach
Shortlist groups to join and engage with.
Facebook Group Search API questions
How do I read a group’s posts?
Pass a result’s url or id to the group posts endpoint.
How do I use the Facebook Group Search API?
Send a POST request to https://api.bridgly.app/facebook/search/groups with query in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.facebook.searchGroups(). AI agents connected to Bridgly over MCP can call the facebook_search_groups tool.
How much does the Facebook Group Search API cost?
Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More Facebook endpoints
The same API key works on every endpoint. See all Facebook Scraper API endpoints.
- Facebook Group API→Get a Facebook group’s details as JSON: name, description, privacy, member count, posts per day and month, creation date, admins and group rules.
- Facebook Group Posts API→List the posts of a public Facebook group as JSON, by top, newest or recent activity: text, author, media, reactions, comments and shares for each post.
- Facebook Group Events API→List the upcoming or past events of a Facebook group as JSON: name, date, creator, cover image and canceled state.
- Facebook Video Search API→Search Facebook videos and reels by keyword as JSON: title, owner, duration, thumbnail, video file, date and reactions, comments and shares.
Try the Facebook Group Search API
100 free credits on business email, no card. Your first call takes a minute.