> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get Facebook group

> Returns a Facebook group. Provide `url` or `groupId`.

> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。

## 请求规范

* **方法与路径:** GET /apis/v1/facebook/groups
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/facebook/groups`
* **groupId:** query; 可选
* **url:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/facebook.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "facebook.groups",
  "method": "GET",
  "path": "/apis/v1/facebook/groups",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "groupId",
      "required": false,
      "schema": {
        "description": "Numeric Facebook group id when you have it instead of a full URL.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "url",
      "required": false,
      "schema": {
        "description": "Public Facebook group URL.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.014 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。

## 响应时间

* 通常 10 秒内返回。


## OpenAPI

````yaml openapi-public/zh/facebook.json GET /apis/v1/facebook/groups
openapi: 3.1.0
info:
  description: ''
  title: Facebook公开数据
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    facebook:
      description: ''
      title: Facebook公开数据
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 23c4518fe0e0b2521c80af5979c6da9baa3750647312250fa85879a638b281e5
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/facebook/ad-library/ads
    - /apis/v1/facebook/ad-library/ads/search
    - /apis/v1/facebook/ad-library/companies/ads
    - /apis/v1/facebook/ad-library/companies/search
    - /apis/v1/facebook/events
    - /apis/v1/facebook/events/details
    - /apis/v1/facebook/events/search
    - /apis/v1/facebook/get-comment-replies
    - /apis/v1/facebook/get-post-comments
    - /apis/v1/facebook/get-post-comments-v1
    - /apis/v1/facebook/get-profile-id
    - /apis/v1/facebook/get-profile-posts
    - /apis/v1/facebook/get-profile-posts-v1
    - /apis/v1/facebook/groups
    - /apis/v1/facebook/groups/posts
    - /apis/v1/facebook/marketplace/items
    - /apis/v1/facebook/marketplace/locations/search
    - /apis/v1/facebook/marketplace/search
    - /apis/v1/facebook/posts
    - /apis/v1/facebook/posts/comments
    - /apis/v1/facebook/posts/comments/replies
    - /apis/v1/facebook/posts/transcript
    - /apis/v1/facebook/profiles
    - /apis/v1/facebook/profiles/events
    - /apis/v1/facebook/profiles/photos
    - /apis/v1/facebook/profiles/posts
    - /apis/v1/facebook/profiles/reels
    - /apis/v1/facebook/search-post
    - /apis/v1/facebook/search-post-v1
  x-aisa-document:
    composer_version: '31'
    facts_hash: 23c4518fe0e0b2521c80af5979c6da9baa3750647312250fa85879a638b281e5
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:adf4d33a1b2fa6ef0487005567fb2933bd5878d87599dca5ff15f1d6ef4261ce
    document_hash: sha256:cb834c22c823b5806007ca04dff3d916d2c68d1e4f6fa85362c241bdb784b855
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: facebook
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/facebook/groups:
    get:
      tags:
        - Facebook
      summary: Get Facebook group
      description: >-
        Returns a Facebook group. Provide `url` or `groupId`.


        > **请求示例待验证。**
        此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode:
        quote`）查看预估费用。
      operationId: facebook.groups
      parameters:
        - in: query
          name: groupId
          required: false
          schema:
            description: Numeric Facebook group id when you have it instead of a full URL.
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: url
          required: false
          schema:
            description: Public Facebook group URL.
            maxLength: 4096
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                found:
                  value:
                    data:
                      group:
                        activity:
                          newMembersText: No new members in the last week
                          postsLastDay: 17
                          postsLastMonth: 465
                        administratorCount: 3
                        administrators:
                          - id: >-
                              pfbid05pxyCbKSYATAqM2c3ZWdKEFWRSQ15sZqraPpQLsbFGXMe1jr88HRL4aCXCmRycxjl
                            name: Nusrat Jahan
                            profilePictureUrl: >-
                              https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-1/297738489_149183324449711_6655284279259187616_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx720x730&ctp=s32x32&_nc_cat=106&ccb=1-7&_nc_sid=e99d92&_nc_ohc=JaTez5Hhh5IQ7kNvwFXWOPg&_nc_oc=Adqo_IoUEWpraTz_d2ZqTa_N-1pnRHBKywgD2t0oEu-D1f0uXJJqu71Tmjc2ryw7a10&_nc_zt=24&_nc_ht=scontent-bos5-1.xx&_nc_gid=mFEP1inOqSifm67i77gx7A&_nc_ss=7f289&oh=00_AQF0E_qUwIlw35jn18fNnuVdSkqofkJxv2hnSRsh-ZJoMw&oe=6A910E2D
                            url: >-
                              https://www.facebook.com/people/Nusrat-Jahan/pfbid05pxyCbKSYATAqM2c3ZWdKEFWRSQ15sZqraPpQLsbFGXMe1jr88HRL4aCXCmRycxjl/
                          - id: '100079525026696'
                            name: Thesoftwarelion
                            profilePictureUrl: >-
                              https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-1/242977119_109642788145497_5023972278328162431_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx1200x1200&ctp=s32x32&_nc_cat=110&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=mPpheVfRSLUQ7kNvwGRRenb&_nc_oc=AdoHM8fjFiv4AOzgZSFxqp1V4vCFml9RIdQbjasG9bfLVBWftp8wb6HFePVu7_UYeTc&_nc_zt=24&_nc_ht=scontent-bos5-1.xx&_nc_gid=mFEP1inOqSifm67i77gx7A&_nc_ss=7f289&oh=00_AQE4wgqIT7rQ6AQShW1A_oauczy6HX_TOXtbxhtKLShGhg&oe=6A912EF5
                            url: https://www.facebook.com/thesoftwarelion
                          - id: >-
                              pfbid02tY94xx8TAnqtJEJsqte1BWr3nUPBR3HK7LVXkRWMWuQYPBWwrybjoWNwzwT4Q6U9l
                            name: Jamil Ahmed
                            profilePictureUrl: >-
                              https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-1/531963150_23946788638346931_481272259148662381_n.jpg?stp=cp0_dst-jpg_tt6&cstp=mx896x892&ctp=s32x32&_nc_cat=109&ccb=1-7&_nc_sid=e99d92&_nc_ohc=32xJtpAioxAQ7kNvwEsF9m9&_nc_oc=AdqHBhHSp8mk5JvFCzZoqN6wBSiWTGMmt9afBiUzawFMVPNJBZuboN98UOS8OBBlSJo&_nc_zt=24&_nc_ht=scontent-bos5-1.xx&_nc_gid=mFEP1inOqSifm67i77gx7A&_nc_ss=7f289&oh=00_AQFvoXp5PO2omPd53NyX6-s3-HOcifdMnwQqXUmSmzUh2w&oe=6A91045D
                            url: >-
                              https://www.facebook.com/people/Jamil-Ahmed/pfbid02tY94xx8TAnqtJEJsqte1BWr3nUPBR3HK7LVXkRWMWuQYPBWwrybjoWNwzwT4Q6U9l/
                        categories:
                          - id: '242504017103922'
                            name: Software & tech
                          - id: '202183377053878'
                            name: Engineering
                        createdAt: '2020-10-14T11:05:03.000Z'
                        description: Let's share our knowledge on Python Programming
                        historySummary: >-
                          Group created on October 14, 2020. Name last changed
                          on October 16, 2020.
                        id: '366190054572553'
                        memberCount: 721497
                        moderatorCount: 0
                        moderators: []
                        name: Python Programming
                        platform: facebook
                        privacy:
                          description: >-
                            Anyone can see who's in the group and what they
                            post.
                          label: Public
                        rules:
                          - description: >-
                              We're all in this together to create a welcoming
                              environment. Let's treat everyone with respect.
                              Healthy debates are natural, but kindness is
                              required.
                            id: '366191957905696'
                            title: Be Kind and Courteous
                          - description: >-
                              Make sure everyone feels safe. Bullying of any
                              kind isn't allowed, and degrading comments about
                              things like race, religion, culture, sexual
                              orientation, gender or identity will not be
                              tolerated.
                            id: '366191961239029'
                            title: No Hate Speech or Bullying
                          - description: >-
                              Give more than you take to this group.
                              Self-promotion, spam and irrelevant links aren't
                              allowed.
                            id: '366191964572362'
                            title: No Promotions or Spam
                          - description: >-
                              Being part of this group requires mutual trust.
                              Authentic, expressive discussions make groups
                              great, but may also be sensitive and private.
                              What's shared in the group should stay in the
                              group.
                            id: '366191967905695'
                            title: Respect Everyone's Privacy
                        url: https://www.facebook.com/groups/366190054572553
                        visibility:
                          description: Anyone can find this group.
                          label: Visible
                      lookupStatus: found
                    meta:
                      creditsCharged: 1
                      requestId: req_01example_facebook_group_found
                      version: v1
                not_found:
                  value:
                    data:
                      group: null
                      lookupStatus: not_found
                    meta:
                      creditsCharged: 1
                      requestId: req_01example_facebook_group_nf
                      version: v1
              schema:
                description: Standard success response envelope.
                properties:
                  data:
                    description: Endpoint-specific response payload.
                    properties:
                      group:
                        description: Group profile when available.
                        properties:
                          activity:
                            description: Recent posting and membership activity.
                            properties:
                              newMembersText:
                                description: >-
                                  Human-readable new-member summary when
                                  available.
                                type:
                                  - string
                                  - 'null'
                              postsLastDay:
                                description: >-
                                  Posts published in the last day when
                                  available.
                                minimum: 0
                                type:
                                  - integer
                                  - 'null'
                              postsLastMonth:
                                description: >-
                                  Posts published in the last month when
                                  available.
                                minimum: 0
                                type:
                                  - integer
                                  - 'null'
                            required:
                              - postsLastDay
                              - postsLastMonth
                              - newMembersText
                            type: object
                          administratorCount:
                            description: Number of administrators when available.
                            minimum: 0
                            type:
                              - integer
                              - 'null'
                          administrators:
                            description: Administrators when Facebook exposes them.
                            items:
                              description: An administrator or moderator of the group.
                              properties:
                                id:
                                  description: >-
                                    Platform identifier for this member when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                name:
                                  description: Display name when available.
                                  type:
                                    - string
                                    - 'null'
                                profilePictureUrl:
                                  description: Profile picture URL when available.
                                  type:
                                    - string
                                    - 'null'
                                url:
                                  description: Public profile URL when available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - id
                                - name
                                - url
                                - profilePictureUrl
                              type: object
                            type: array
                          categories:
                            description: Categories assigned to the group.
                            items:
                              description: A category assigned to the group.
                              properties:
                                id:
                                  description: Category identifier when available.
                                  type:
                                    - string
                                    - 'null'
                                name:
                                  description: Category display name.
                                  minLength: 1
                                  type: string
                              required:
                                - id
                                - name
                              type: object
                            type: array
                          createdAt:
                            description: When the group was created (ISO-8601).
                            type:
                              - string
                              - 'null'
                          description:
                            description: Group description when available.
                            type:
                              - string
                              - 'null'
                          historySummary:
                            description: >-
                              Human-readable group history summary when
                              available.
                            type:
                              - string
                              - 'null'
                          id:
                            description: Numeric Facebook group identifier.
                            minLength: 1
                            type: string
                          memberCount:
                            description: Total member count when available.
                            minimum: 0
                            type:
                              - integer
                              - 'null'
                          moderatorCount:
                            description: Number of moderators when available.
                            minimum: 0
                            type:
                              - integer
                              - 'null'
                          moderators:
                            description: Moderators when Facebook exposes them.
                            items:
                              description: An administrator or moderator of the group.
                              properties:
                                id:
                                  description: >-
                                    Platform identifier for this member when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                name:
                                  description: Display name when available.
                                  type:
                                    - string
                                    - 'null'
                                profilePictureUrl:
                                  description: Profile picture URL when available.
                                  type:
                                    - string
                                    - 'null'
                                url:
                                  description: Public profile URL when available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - id
                                - name
                                - url
                                - profilePictureUrl
                              type: object
                            type: array
                          name:
                            description: Group display name when available.
                            type:
                              - string
                              - 'null'
                          platform:
                            description: Social platform for this group.
                            enum:
                              - facebook
                            type: string
                          privacy:
                            description: Privacy setting for the group.
                            properties:
                              description:
                                description: >-
                                  Longer explanation for this label when
                                  available.
                                type:
                                  - string
                                  - 'null'
                              label:
                                description: Short field label when available.
                                type:
                                  - string
                                  - 'null'
                            required:
                              - label
                              - description
                            type: object
                          rules:
                            description: Published group rules.
                            items:
                              description: A published group rule.
                              properties:
                                description:
                                  description: Longer rule explanation when available.
                                  type:
                                    - string
                                    - 'null'
                                id:
                                  description: Rule identifier when available.
                                  type:
                                    - string
                                    - 'null'
                                title:
                                  description: Short rule title.
                                  minLength: 1
                                  type: string
                              required:
                                - id
                                - title
                                - description
                              type: object
                            type: array
                          url:
                            description: Canonical public Facebook group URL.
                            minLength: 1
                            type: string
                          visibility:
                            description: Visibility setting for the group.
                            properties:
                              description:
                                description: >-
                                  Longer explanation for this label when
                                  available.
                                type:
                                  - string
                                  - 'null'
                              label:
                                description: Short field label when available.
                                type:
                                  - string
                                  - 'null'
                            required:
                              - label
                              - description
                            type: object
                        required:
                          - platform
                          - id
                          - url
                          - name
                          - description
                          - createdAt
                          - historySummary
                          - privacy
                          - visibility
                          - categories
                          - memberCount
                          - administratorCount
                          - moderatorCount
                          - administrators
                          - moderators
                          - activity
                          - rules
                        type:
                          - object
                          - 'null'
                      lookupStatus:
                        description: Whether the group was found.
                        enum:
                          - found
                          - not_found
                        type: string
                    required:
                      - lookupStatus
                      - group
                    type: object
                  meta:
                    description: Metadata describing the request and billing outcome.
                    properties:
                      creditsCharged:
                        description: Credits charged for this request.
                        minimum: 0
                        type: integer
                      requestId:
                        description: Unique request identifier for tracing this API call.
                        minLength: 1
                        type: string
                      version:
                        description: Public API version that served the response.
                        enum:
                          - v1
                        type: string
                    required:
                      - requestId
                      - creditsCharged
                      - version
                    type: object
                required:
                  - data
                  - meta
                type: object
          description: Group About-page profile.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.