Facebookget/get_facebook_page_posts_details_from_id

Get Facebook Pages Posts

Facebook Pages Details/Posts
Cost / request

$0.01

Response format

JSON

Protocol

REST

About this endpoint

Access Facebook data through agntdata: Get Facebook Pages Posts. Get the latest Facebook Page posts (up to 3 posts per request). Use end_cursor to retrieve more posts. 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
fieldsquerystringoptionalComma-separated keys to filter the response. Supports dot notation and nested keys (e.g. `posts.details.post_id,posts.details.post_link,page_info.end_cursor`). Invalid keys are ignored. If omitted, the full response is returned.
end_cursorquerystringoptional
before_timequerystringoptional
after_timequerystringoptional
profile_idquerystringrequiredDefault: 100064606995009
timezonequerystringoptionalDefault: UTC

Responses

Successful response

{
  "type": "object"
}

Agent / Developer Schema

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

{
  "operationId": "Get_Facebook_Pages_Posts",
  "method": "get",
  "path": "/get_facebook_page_posts_details_from_id",
  "summary": "Get Facebook Pages Posts",
  "description": "Get the latest Facebook Page posts (up to 3 posts per request). Use end_cursor to retrieve more posts.",
  "parameters": [
    {
      "name": "fields",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "Comma-separated keys to filter the response. Supports dot notation and nested keys (e.g. `posts.details.post_id,posts.details.post_link,page_info.end_cursor`). Invalid keys are ignored. If omitted, the full response is returned."
    },
    {
      "name": "end_cursor",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "before_time",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "after_time",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "profile_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "default": "100064606995009"
      }
    },
    {
      "name": "timezone",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "UTC"
      }
    }
  ],
  "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 pages posts APIAI agents data APIFacebook APIFacebook data APIFacebook for AI agents