Introducing the Instagram APIRead more →

Facebook Group API. Send a group link or ID.

Member count, rules, admins and activity. We handle the proxies, blocks and platform changes.

Facebook Group API at a glance

Returns a Facebook group's about page from its link or ID: exact member count, description, privacy, rules, posting activity and who runs it. It also has the name and vanity name, cover photo and picture, whether the group shows in search, its topics and location, when it was created and its name changes, each admin's and moderator's name, picture and profile link, and the Page it belongs to. Private groups answer too, with what their page shows logged out.

GET /v1/facebook/group

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 17 typed fields null when unknown
  • url is all it needs, e.g. https://www.facebook.com/groups/366190054572553/
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 17 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.facebook.com/groups/366190054572553/
GET /v1/facebook/groupTry in
const params = new URLSearchParams({
  url: "https://www.facebook.com/groups/366190054572553/",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/group?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/groupLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 3 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The group: its link (facebook.com/groups/<ID or name>, any tab of it, on any facebook.com host; the legacy group.php?gid=<ID>), its share link (facebook.com/share/g/<code>) or its bare numeric ID.

  • Write one parser

    Facebook, Reddit and X answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (reddit, facebook, …).
idstring
Platform-native community ID (string): Reddit's subreddit ID with its t5_ prefix, Facebook's numeric group ID.
namestring
The name its links use, without a prefix (golang for r/golang; a Facebook group's vanity name); null when it has none (a Facebook group known only by its number).
titlestring
The community's title as its page shows it ("The Go Programming Language"; what Facebook calls a group's name); null when it has none.
descriptionstring
Its short description as plain text; null when it has none.
urlstring
Canonical community URL (https://www.reddit.com/r/golang/, https://www.facebook.com/groups/<id>/).
avatar_urlstring
The community's icon or picture; null when it has none. Platform CDN URLs can expire.
banner_urlstring
Header or cover image URL; null when it has none.

What teams build with the Facebook Group API.

  • Vet a group before joining or advertising

  • Track a group's members and activity

  • Find who runs a group

  • Enrich groups found by search or in posts

Good to know before you build.

  • A private group returns what its page shows logged out: description, rules and activity, but not who runs it (moderators is empty and listed in unknown_fields, admin_count and moderator_count null). Its posts are for members only.
  • moderators lists the admins first, then the moderators, as many of each as Facebook shows. platform_specific.facebook.admin_ids names the admins among them, and admin_count and moderator_count count them all.
  • A link Facebook shows nothing for (an unknown name, a hidden or removed group) returns private_or_unavailable, without saying which.
  • weekly_new_member_count is null when Facebook's page says no one joined, which it says of every group logged out, growing ones too.
  • Facebook groups have no adult label, so is_nsfw is always null.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Group API.

More in the API reference.

Can I get a group's member list?
No. Facebook shows only a group's admins and moderators logged out. You get those, with the exact member count.
How much does the Facebook Group API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs