> ## 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

# List Facebook group posts

> Lists posts from a Facebook group by group URL. Required input: `url`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.

> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.

## Request contract

* **Method and path:** GET /apis/v1/facebook/groups/posts
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/facebook/groups/posts`
* **cursor:** query; optional
* **sortBy:** query; optional
* **url:** query; required

[Complete OpenAPI definition](https://aisa.one/docs/openapi-public/facebook.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "facebook.groups.posts",
  "method": "GET",
  "path": "/apis/v1/facebook/groups/posts",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "description": "Opaque pagination cursor from a previous response.",
        "maxLength": 16384,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "sortBy",
      "required": false,
      "schema": {
        "description": "Optional sort order for posts returned from the group feed. `top`: Facebook's default relevance ranking. `recentActivity`: sorted by most recent comment/reaction activity. `chronological`: regular posts in Facebook's \"New posts\" order, which is not guaranteed to be strictly by post time (e.g. groups with post approval); use `publishedAt` to sort. `chronologicalListings`: Facebook's separate feed of listing-style posts (e.g. items for sale) within the group, sorted by time.",
        "enum": [
          "chronological",
          "chronologicalListings",
          "recentActivity",
          "top"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "url",
      "required": true,
      "schema": {
        "description": "Public Facebook group URL whose posts should be listed.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.

* **HTTP status / last observed:** 200 / 2026-11-26

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "aisa_pagination": {
      "additionalProperties": true,
      "properties": {
        "has_more": {
          "type": "boolean"
        },
        "next_cursor": {
          "type": [
            "null",
            "string"
          ]
        },
        "next_param": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "data": {
      "additionalProperties": true,
      "properties": {
        "page": {
          "additionalProperties": true,
          "properties": {
            "hasMore": {
              "type": "boolean"
            },
            "nextCursor": {
              "type": [
                "null",
                "string"
              ]
            }
          },
          "type": "object"
        },
        "posts": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "author": {
                "additionalProperties": true,
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "null"
                  }
                },
                "type": "object"
              },
              "id": {
                "type": "string"
              },
              "publishedAt": {
                "type": "string"
              },
              "text": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "url": {
                "type": "string"
              },
              "video": {
                "additionalProperties": true,
                "properties": {
                  "thumbnailUrl": {
                    "type": "null"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "meta": {
      "additionalProperties": true,
      "properties": {
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.014 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

## Pagination

* Pass `aisa_pagination.next_cursor` as `cursor` (query parameter) to fetch the next page; stop when `aisa_pagination.has_more` is false.
* The same values are returned in the `X-AISA-Has-More` and `X-AISA-Next-Cursor` response headers.


## OpenAPI

````yaml openapi-public/facebook.json GET /apis/v1/facebook/groups/posts
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:9117dbffa58b526630641f3d7f4c6e2f2908b4413094de045099890bf5f28a34
  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/posts:
    get:
      tags:
        - Facebook
      summary: List Facebook group posts
      description: >-
        Lists posts from a Facebook group by group URL. Required input: `url`.
        Results are paged: while `data.page.hasMore` is true, send
        `data.page.nextCursor` as `cursor` to get the next page.


        > **Request example pending verification.** The request example for this
        endpoint has not yet been verified in production. Static examples
        describe the request format; replace sample values with your own. Check
        the estimated price with a free quote request (`X-AISA-Cost-Mode:
        quote`) before running it.
      operationId: facebook.groups.posts
      parameters:
        - in: query
          name: cursor
          required: false
          schema:
            description: Opaque pagination cursor from a previous response.
            maxLength: 16384
            minLength: 1
            type: string
        - in: query
          name: sortBy
          required: false
          schema:
            description: >-
              Optional sort order for posts returned from the group feed. `top`:
              Facebook's default relevance ranking. `recentActivity`: sorted by
              most recent comment/reaction activity. `chronological`: regular
              posts in Facebook's "New posts" order, which is not guaranteed to
              be strictly by post time (e.g. groups with post approval); use
              `publishedAt` to sort. `chronologicalListings`: Facebook's
              separate feed of listing-style posts (e.g. items for sale) within
              the group, sorted by time.
            enum:
              - chronological
              - chronologicalListings
              - recentActivity
              - top
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: url
          required: true
          schema:
            description: Public Facebook group URL whose posts should be listed.
            maxLength: 4096
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                found:
                  value:
                    data:
                      lookupStatus: found
                      page:
                        hasMore: true
                        nextCursor: >-
                          AQHSI_Y-E7fHdjuJkubTi0H2KCC-SaGjHJubNMx_GKU6DohMBDddHgUSNK_SMGm8gqyIU4XU7RmGQjDOO5IHMpoe7g:eyIwIjoxNzc5MDAyMDc2LCIxIjo3NjgyLCIzIjowLCI0IjoxLCI1Ijo0LCI2IjowfQ==
                      posts:
                        - author:
                            id: '100072565869635'
                            name: Hancho Red
                            url: null
                          commentCount: 36
                          id: '1568777534579662'
                          publishedAt: '2026-05-17T03:35:10.000Z'
                          reactionCount: 73
                          text: |-
                            Who hit granny 🤔
                            #fight
                          url: >-
                            https://www.facebook.com/groups/742354120555345/permalink/1568777534579662/
                          video:
                            durationMs: null
                            hdUrl: >-
                              https://video-lga3-1.xx.fbcdn.net/o1/v/t2/f2/m366/AQOMe0QD0jm2RdFZ0gdHTZ1UscynH93C8M3g5RIjiN6-u8fkimEglJHLmzSZq-CF82pXbwFfApk-PevO5pG2Z-IXcuRYm-7IGJ8p-qzGQqM51…
                            sdUrl: >-
                              https://video-lga3-1.xx.fbcdn.net/o1/v/t2/f2/m412/AQP-M-zwRu8SDps7AtugfGzyLHoVbr9RIVsfT74jmKz-jR0e1H6NbO27ghP_ol4PfyZDhkSW1WDs5oQQ4miSTMyAi0JPOmaqTSEMRp9ciQ.mp…
                            thumbnailUrl: >-
                              https://scontent-lga3-2.xx.fbcdn.net/v/t15.5256-10/700118977_1018748580482065_1794802588333604144_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=101&ccb=1-7&_nc_sid=50…
                        - author:
                            id: '100081860143756'
                            name: P-la Nkanyiso Nxele
                            url: null
                          commentCount: 739
                          id: '1566390568151692'
                          publishedAt: '2026-05-14T09:29:33.000Z'
                          reactionCount: 2241
                          text: 😩😩😩👊🏾 Damn.
                          url: >-
                            https://www.facebook.com/groups/742354120555345/permalink/1566390568151692/
                          video:
                            durationMs: null
                            hdUrl: null
                            sdUrl: >-
                              https://video-lga3-3.xx.fbcdn.net/o1/v/t2/f2/m412/AQNGlmfD2g43b8-ajJMQ0AfuSP5kyxGjHtjuoI3dmnxfiuVReneklyoTkXwTssiEeul_2amXbF9GUZ7D_tVjynnoVcH6Gbf7jgLJsWkwkQ.mp…
                            thumbnailUrl: >-
                              https://scontent-lga3-1.xx.fbcdn.net/v/t15.5256-10/699396991_2759158251144000_1056991297185105477_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=50ce42&_nc_ohc=67EadXVu4UoQ…
                    meta:
                      creditsCharged: 1
                      requestId: req_194dbec3-8a04-4fc3-b221-2c0471a1208d
                      version: v1
                no_posts:
                  value:
                    data:
                      lookupStatus: found
                      page:
                        hasMore: false
                        nextCursor: null
                      posts: []
                    meta:
                      creditsCharged: 1
                      requestId: req_01example_empty
                      version: v1
                not_found:
                  value:
                    data:
                      lookupStatus: not_found
                      page:
                        hasMore: false
                        nextCursor: null
                      posts: []
                    meta:
                      creditsCharged: 1
                      requestId: req_01example_nf
                      version: v1
                paginated:
                  value:
                    data:
                      lookupStatus: found
                      page:
                        hasMore: true
                        nextCursor: opaque_second_page_cursor
                      posts:
                        - author:
                            id: '61552766652796'
                            name: Example Author
                            url: https://www.facebook.com/example.author
                          commentCount: 214
                          id: '1280901910033894'
                          publishedAt: '2025-05-23T22:34:36.000Z'
                          reactionCount: 1671
                          text: Another post.
                          url: >-
                            https://www.facebook.com/groups/742354120555345/permalink/1280901910033894/
                          video:
                            durationMs: null
                            hdUrl: https://example.com/video-hd.mp4
                            sdUrl: https://example.com/video-sd.mp4
                            thumbnailUrl: https://example.com/thumb.jpg
                    meta:
                      creditsCharged: 1
                      requestId: req_01example_p2
                      version: v1
              schema:
                description: Standard success response envelope.
                properties:
                  aisa_pagination:
                    additionalProperties: false
                    description: >-
                      AIsa pagination. Pass next_cursor as cursor to fetch the
                      next page; has_more is false on the last page.
                    properties:
                      has_more:
                        type: boolean
                      next_cursor:
                        type:
                          - string
                          - 'null'
                      next_param:
                        const: cursor
                        type: string
                    required:
                      - has_more
                      - next_cursor
                      - next_param
                    type: object
                  data:
                    description: Endpoint-specific response payload.
                    properties:
                      lookupStatus:
                        description: Whether the group resolved for this request.
                        enum:
                          - found
                          - not_found
                        type: string
                      page:
                        description: Pagination information for the current response.
                        properties:
                          hasMore:
                            description: Whether another page of posts can be requested.
                            type: boolean
                          nextCursor:
                            description: >-
                              Cursor to pass as `cursor` in the next request
                              when `hasMore` is true; otherwise null.
                            type:
                              - string
                              - 'null'
                        required:
                          - nextCursor
                          - hasMore
                        type: object
                      posts:
                        description: >-
                          Posts returned for the requested group. This array may
                          be empty when the group resolves but no posts are
                          returned.
                        items:
                          description: A single post from a Facebook group feed.
                          properties:
                            author:
                              description: Author summary for this post.
                              properties:
                                id:
                                  description: >-
                                    Platform identifier for the post author when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                name:
                                  description: >-
                                    Display name for the post author when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                url:
                                  description: >-
                                    Public profile URL for the post author when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - id
                                - name
                                - url
                              type: object
                            commentCount:
                              description: Comment count for the post when available.
                              minimum: 0
                              type:
                                - integer
                                - 'null'
                            id:
                              description: Stable identifier for the post.
                              minLength: 1
                              type: string
                            isPaidPartnership:
                              description: >-
                                Whether the post is labelled as a paid
                                partnership. Null or omitted when Facebook does
                                not say.
                              type:
                                - boolean
                                - 'null'
                            publishedAt:
                              description: >-
                                ISO-8601 timestamp for when the post was
                                published, when available.
                              type:
                                - string
                                - 'null'
                            reactionCount:
                              description: Reaction count for the post when available.
                              minimum: 0
                              type:
                                - integer
                                - 'null'
                            sharedPostId:
                              description: >-
                                Id of the post this one shares, when Facebook
                                exposes it. Null does not prove the post is not
                                a share.
                              type:
                                - string
                                - 'null'
                            sharedPostUrl:
                              description: >-
                                URL of the post this one shares, when Facebook
                                exposes it. Null does not prove the post is not
                                a share.
                              type:
                                - string
                                - 'null'
                            text:
                              description: Text body of the post when available.
                              type:
                                - string
                                - 'null'
                            url:
                              description: >-
                                Canonical public URL for this Facebook group
                                post.
                              minLength: 1
                              type: string
                            video:
                              description: >-
                                Embedded video metadata when this post includes
                                video.
                              properties:
                                durationMs:
                                  description: >-
                                    Video duration in milliseconds when
                                    available.
                                  minimum: 0
                                  type:
                                    - integer
                                    - 'null'
                                hdUrl:
                                  description: High-definition video URL when available.
                                  type:
                                    - string
                                    - 'null'
                                sdUrl:
                                  description: >-
                                    Standard-definition video URL when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                thumbnailUrl:
                                  description: >-
                                    Thumbnail image URL for embedded video when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - thumbnailUrl
                                - durationMs
                                - sdUrl
                                - hdUrl
                              type: object
                          required:
                            - id
                            - url
                            - text
                            - publishedAt
                            - reactionCount
                            - commentCount
                            - author
                            - video
                          type: object
                        type: array
                    required:
                      - lookupStatus
                      - posts
                      - page
                    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 posts for the requested feed.
          headers:
            X-AISA-Has-More:
              description: Mirrors aisa_pagination.has_more.
              schema:
                enum:
                  - 'true'
                  - 'false'
                type: string
            X-AISA-Next-Cursor:
              description: Mirrors aisa_pagination.next_cursor; absent on the last page.
              schema:
                type: string
        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.