Facebookget/get_facebook_post_comments_details

Get Facebook Posts Comments

Facebook Posts Details
Cost / request

$0.01

Response format

JSON

Protocol

REST

About this endpoint

Access Facebook data through agntdata: Get Facebook Posts Comments. **Get the details of comments on the latest Facebook Page posts (up to 10 comments per post)**. Use **end_cursor** to retrieve additional comments beyond the first 10. Responses are structured JSON for AI agents, analytics, and automation — one API key instead of juggling upstream accounts. Ideal when you need page and group posts, marketplace listings, video content, and ad discovery programmatically.

Use cases

AI agents that need Facebook data in structured form
Analytics and monitoring pipelines for Facebook content
Research and GTM workflows that combine Facebook signals with other data

Parameters

NameInTypeRequiredDescription
include_reply_infoquerybooleanoptional### `include_reply_info` *(boolean, optional, default: false)* When set to `true`, each comment in the response will include two additional fields: - **`comment_feedback_id`** — The feedback ID associated with the comment. - **`expansion_token`** — A token used to paginate through replies. > **Note:** This parameter does not return the replies themselves. To fetch the actual reply content, use the `GET /get_facebook_post_comment_replies` endpoint, passing the `comment_feedback_id` and `expansion_token` returned here.
post_idquerystringoptionalFacebook Post ID. Used only if `link` is not provided. If both are given, `link` is prioritized.
end_cursorquerystringoptional
linkquerystringoptionalDefault: https://www.facebook.com/reel/1884897151992610/

Responses

Successful response

{
  "type": "object"
}

Agent / Developer Schema

Machine-readable formats for integrating this endpoint into AI agents and toolchains.

{
  "operationId": "Get_Facebook_Posts_Comments",
  "method": "get",
  "path": "/get_facebook_post_comments_details",
  "summary": "Get Facebook Posts Comments",
  "description": "**Get the details of comments on the latest Facebook Page posts (up to 10 comments per post)**. Use **end_cursor** to retrieve additional comments beyond the first 10.",
  "parameters": [
    {
      "name": "include_reply_info",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean"
      },
      "description": "### `include_reply_info` *(boolean, optional, default: false)*\n\nWhen set to `true`, each comment in the response will include two additional fields:\n\n- **`comment_feedback_id`** — The feedback ID associated with the comment.\n- **`expansion_token`** — A token used to paginate through replies.\n\n> **Note:** This parameter does not return the replies themselves. To fetch the actual reply content, use the `GET /get_facebook_post_comment_replies` endpoint, passing the `comment_feedback_id` and `expansion_token` returned here."
    },
    {
      "name": "post_id",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "Facebook Post ID. Used only if `link` is not provided. If both are given, `link` is prioritized."
    },
    {
      "name": "end_cursor",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "link",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "https://www.facebook.com/reel/1884897151992610/"
      }
    }
  ],
  "responses": [
    {
      "statusCode": "200",
      "description": "Successful response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object"
          }
        }
      }
    },
    {
      "statusCode": "400",
      "description": "Bad request"
    },
    {
      "statusCode": "401",
      "description": "Unauthorized - invalid API key"
    },
    {
      "statusCode": "429",
      "description": "Rate limit exceeded"
    }
  ]
}

Pricing

$0.01per successful request

Credits are deducted from your agntdata balance on each successful API call. Failed requests (4xx/5xx) are not charged.

Related endpoints

Start using this endpoint

Generate your API key and make your first call in under a minute. Free tier available with transparent pricing.

Facebook APIFacebook data APIget facebook posts comments APIAI agents data APIFacebook APIFacebook data APIFacebook for AI agents