/get_facebook_page_posts_details_from_idGet Facebook Pages Posts
$0.01
JSON
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
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| fields | query | string | optional | 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. |
| end_cursor | query | string | optional | — |
| before_time | query | string | optional | — |
| after_time | query | string | optional | — |
| profile_id | query | string | required | —Default: 100064606995009 |
| timezone | query | string | optional | —Default: 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
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.