Facebook Group API

GET   /api/v1/search?engine=facebook_group

The Facebook Group API returns the public information of a Facebook group: its name, link, description, whether it is private, the number of members, the posts of the last day and month, the creation date, tags, locations, cover photo and rules. A public group also carries its number of admins and moderators. A group that does not exist or is hidden, or a share link that opens anything but a group, answers 200 with an error and costs a credit.

To read a group's posts, pass its group.link as the url of the Facebook Group Posts API.

API Parameters

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to facebook_group.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Public Group

Public Group

A public group carries its staff counts beside its description, activity and rules.

GET
https://www.searchapi.io/api/v1/search?engine=facebook_group&url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F132851767828%2F
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "facebook_group",
  "url": "https://www.facebook.com/groups/132851767828/"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_Y80BKjxagxvjcAe35nMQeWO6",
    "status": "Success",
    "created_at": "2026-11-24T15:20:44Z",
    "request_time_taken": 1.35,
    "parsing_time_taken": 0.02,
    "total_time_taken": 1.37,
    "request_url": "https://www.facebook.com/groups/132851767828/about/",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcAe35nMQeWO6.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcAe35nMQeWO6"
  },
  "search_parameters": {
    "engine": "facebook_group",
    "url": "https://www.facebook.com/groups/132851767828/"
  },
  "group": {
    "id": "132851767828",
    "name": "BoardGameGeek",
    "link": "https://www.facebook.com/groups/132851767828/",
    "description": "Email questions to Contact@boardgamegeek.com\nGeneral Posting Guidelines:\nSelf-promoting is not allowed and will be deleted. Promotional contests and giveaways are not allowed and will be deleted.  Be civil or get the boot.\nMore detailed group rules here: https://www.facebook.com/groups/132851767828/...",
    "is_private": false,
    "members": 391355,
    "posts_last_day": 100,
    "posts_last_month": 2510,
    "created_at": "2009-09-14T10:15:36Z",
    "admins": 4,
    "moderators": 5,
    "cover_photo": {
      "id": "10157194076016256",
      "link": "https://www.facebook.com/photo/?fbid=10157194076016256&set=p.10157194076016256",
      "image": "https://scontent.xx.fbcdn.net/v/t1.6435-9/123610394_10157194076021256_8733879828709753779_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x1068&ctp=s720x720&_nc_cat=1&ccb=1-7&_nc_sid=2285d6&_nc_ohc=NPIVD8CsiOoQ7kNvwEMzUJb&_nc_oc=AdpTavph8FPpZ85ggB6paJ45ZX_tLVo6a8b9XW7jjtjI_ItE9zaejHzTms6agPhCc4o&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=Fgnh669oQEYnfuyS8tr2Ag&_nc_ss=7b389&oh=00_AQRbjHsbnV8CS_7gTwMNmhNOB5Bnb72VEfftDwZg-ZNziw&oe=6B2D2407",
      "width": 720,
      "height": 375
    }
  },
  "rules": [
    {
      "position": 1,
      "title": "We do not tolerate intolerance.",
      "description": "Our community values diversity, improving representation, and making board gaming more inclusive.  Being inclusive means actively excluding people who do not share our community values."
    },
    ...
  ]
}

Private Group

Private Group

A private group shows its information too, without admins and moderators, and is_private is true. Its posts are visible to its members only.

GET
https://www.searchapi.io/api/v1/search?engine=facebook_group&url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2Fmakerbot%2F
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "facebook_group",
  "url": "https://www.facebook.com/groups/makerbot/"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_ZD40AeqmorqVsavgkyw25lR8",
    "status": "Success",
    "created_at": "2026-11-24T15:16:06Z",
    "request_time_taken": 1.92,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.93,
    "request_url": "https://www.facebook.com/groups/makerbot/about/",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_ZD40AeqmorqVsavgkyw25lR8.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_ZD40AeqmorqVsavgkyw25lR8"
  },
  "search_parameters": {
    "engine": "facebook_group",
    "url": "https://www.facebook.com/groups/makerbot/"
  },
  "group": {
    "id": "150438908406955",
    "name": "3D printing",
    "link": "https://www.facebook.com/groups/makerbot/",
    "description": "This community is all about 3D printing, welcome.\n\nPlease answer the questions when you join. \n\nPlease follow the rules [pinned post]\n\n** NOTE:  While our group was made back in 2008 to help makerbot users......We are in NO WAY endorsed or associated with MAKERBOT.  All 3d Printers are welcome here....",
    "is_private": true,
    "members": 95523,
    "posts_last_day": 2,
    "posts_last_month": 42,
    "created_at": "2012-02-07T16:26:38Z",
    "tags": [
      {
        "id": "607271032992452",
        "name": "Technology"
      },
      ...
    ],
    "cover_photo": {
      "id": "10228754439428497",
      "link": "https://www.facebook.com/photo/?fbid=10228754439428497&set=p.10228754439428497",
      "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/281932112_10228754439348495_8113895089225548798_n.jpg?stp=dst-jpg_tt6&cstp=mx960x720&ctp=s640x640&_nc_cat=103&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=2285d6&_nc_ohc=k9gW3-l_c0AQ7kNvwEY7FGO&_nc_oc=AdqNtfb7M2sFUJ5Sq8FnPTG3WeeIY9xvRSXbaxhh7yrpWRdxicEDn5kwLwgiuMOXxiyCQbyJrJ-GWo6yB70E_TwV&_nc_zt=23&_nc_ht=scontent.xx&_nc_gid=W2zv7UG5KYhyI0USAhALDA&_nc_ss=79389&oh=00_AQTIZVZlFT-80IjsvNApaJFCNFkKF_CxLPxSn5ElV3LtuQ&oe=6B0B787F",
      "width": 640,
      "height": 480
    }
  },
  "rules": [
    {
      "position": 1,
      "title": "Administrators and Moderators Reserve All Rights.",
      "description": "With the interest of the longevity of the group, Admins and Mods reserve the right to delete posts, disable comments, mute members, and remove members who break the rules, or who actions can be considered a detriment to the longevity of the group."
    },
    ...
  ]
}