Facebook Groups API

Facebook Groups API to read public posts and comments without joining.

Search groups by keyword, size or country, then read their public posts and comment threads over REST. No group membership, no personal account.

See pricing
  • Public data only
  • One key, every platform
  • Cancel anytime
api.socialmediaapi.lol200 OK
GET /v1/facebook/group/posts?group=digitalmarketing&sort=recent
Authorization: Bearer sk_live_...

{
  "data": {
    "group": { "slug": "digitalmarketing", "members": 1249832 },
    "posts": [ { "author": "Ariana W.", "comments": 23 } ],
    "next_cursor": "eyJvZmZzZXQiOjIwfQ"
  },
  "credits_used": 3
}
12.4Brequests served in the last year
38,000+developers building on the API
99.95%rolling 12 month uptime
380msmedian response time
Group data

The conversations that never make it to a feed.

Groups are where the honest version of a market lives: product complaints, switching intent, tool recommendations and price sensitivity. None of it surfaces on a page timeline, and almost none of it is reachable through the public Graph API.

The Groups API gives you a group search, a public post feed sorted by recency or engagement, and full comment trees. Author names, timestamps, reaction and comment counts all come back normalized.

Group endpoints

  • Group lookup by slug, ID or URL with member count and privacy
  • Posts sorted by recency or by engagement
  • Comment trees with authors and reply structure
  • Keyword search across public posts in a group
  • Group discovery by keyword, country and size band
Endpoints

Facebook Groups API endpoints

Same auth header, same response envelope, cursor pagination on every list.

Facebook Groups API

Details

Read public group posts and comments by slug or keyword, without joining.

GET/v1/facebook/group

Member count, privacy, rules and posting cadence for a public group.

  • members
  • privacy
  • rules
GET/v1/facebook/group/posts

Recent posts sorted by recency or engagement, pageable to the last year.

  • sort
  • limit
  • next_cursor
GET/v1/facebook/group/comments

Comment trees for any public group post, authors included.

  • post_id
  • replies
GET/v1/facebook/group/search

Find groups by keyword, country, size band and activity level.

  • query
  • country
  • size
Playground

Try any endpoint before you write a line of code.

Pick an endpoint, set the parameters and run it. Sign in with Google to unlock the playground, and your subscription decides whether you land here or on pricing.

GET https://api.socialmediaapi.lol/v1/facebook/profile?handle=zuck&fields=about%2CfollowersJSON

Public profile fields for any handle: bio, follower count, work history and verified status.

Sign in with Google to unlock the playground. Accounts without an active plan are sent to pricing, where every plan includes the full sandbox and a live API key.

sandbox response200 OK
Response bodynot sent yet
{
  "status": "idle",
  "message": "Run the request to see the response shape returned by this endpoint.",
  "endpoint": "/v1/facebook/profile"
}
  • Read-only access. We never post, like or follow on your behalf.
  • Credit based pricing, so one page of data costs one credit.
  • Public data only, sourced from the platforms own public surfaces.
Research

Find the groups that matter before you read them.

Group search returns candidate groups with member counts, posting cadence and activity level, so you can rank a market before you spend credits reading it. Filter by country or size band to separate a fifty thousand member regional group from a two million member global one.

That ranking is usually the difference between a research project that takes a week and one that takes an afternoon.

Common group workflows

  • Category and competitor research
  • Demand signal detection and trend spotting
  • Community discovery for launch planning
  • Complaint and churn signal mining
  • Influencer and super user identification
Why socialmediaapi.lol

Why teams pick our Facebook Groups API

The parts of a social data pipeline you would otherwise build and maintain yourself.

No membership needed

Read public group content without joining or logging in.

Group search

Rank candidate groups by size, country and posting cadence.

Comment trees

Full thread structure with authors and parent replies.

Recency or engagement sort

Switch between what is newest and what is working.

Explicit privacy markers

Private content returns a marker, never an error.

Cursor pagination

Walk a group back month by month with a stable cursor.

Boundaries

Public groups only, and explicitly so.

Private and secret groups are not readable and never will be. When a group or a post is not public, the API returns a `visibility: private` marker rather than an error, so a pipeline can skip it without special casing.

Nothing on this platform requires a personal Facebook login, which means you are never holding a credential that could be used to act on someone behalf.

Code examples

Three lines to your first response.

Send an API key, get JSON back. No OAuth dance, no browser automation and no session to keep warm.

  • Bearer token auth, one header for every endpoint
  • Cursor pagination on every list response
  • Errors carry a machine readable code and a retry hint
  • Sandbox and live modes share the same contract
curl -G "https://api.socialmediaapi.lol/v1/facebook/profile" \
  -H "Authorization: Bearer $SOCIALMEDIAAPI_KEY" \
  -d "handle=zuck" \
  -d "fields=about%2Cfollowers"
FAQ

Facebook Groups API questions

No. Only public groups and public posts are readable. Anything else returns a visibility marker so your pipeline can skip it cleanly.

Start using the Facebook Groups API today.

Create an account, generate a key and make your first request in the next five minutes.

Compare plans
  • Public data only
  • Cancel anytime
  • Human support

Ship notes, once a month

New endpoints, platform changes and deprecation windows. No marketing filler.

One email a month. Unsubscribe with a single click.

Facebook Groups API - Public Group Posts and Comments