Facebook Group posts API
Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"data": {
"nextCursor": "example",
"posts": [
{
"authorId": "Alex Rivera",
"authorName": "Alex Rivera",
"commentCount": 12500,
"id": "a1b2c3d4",
"publishTime": 42,
"reactionCount": 12500,
"text": "A short example description of this item.",
"url": "https://example.com/page"
}
]
},
"found": true
}interface FacebookGroupPostsResponse {
data: {
nextCursor: string | null;
posts: {
authorId: string;
authorName: string;
commentCount: number;
id: string;
publishTime: number;
reactionCount: number;
text: string;
url: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.group_posts \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/groups/instantpotcommunity/"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://www.facebook.com/groups/instantpotcommunity/"The URL of a public Facebook group to fetch posts from (e.g. https://www.facebook.com/groups/instantpotcommunity/). |
| cursor | string | Pagination cursor from a previous response to fetch the next page. |
| sort | enum | Ordering for the returned posts (e.g. TOP_POSTS). |
| Response | ||
| data | object | |
| data.nextCursor | string | Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue. |
| data.posts | object[] | Populated whenever the provider has data for the entity. |
| data.posts[].authorId | string | Populated whenever the provider has data for the entity. |
| data.posts[].authorName | string | Populated whenever the provider has data for the entity. |
| data.posts[].commentCount | integer | |
| data.posts[].id | string | Populated whenever the provider has data for the entity. |
| data.posts[].publishTime | integer | Populated whenever the provider has data for the entity. |
| data.posts[].reactionCount | integer | |
| data.posts[].text | string | Populated whenever the provider has data for the entity. |
| data.posts[].url | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the Facebook Group posts API
The AnyAPI Facebook Group posts API returns Facebook group posts data as normalized JSON from one POST call to /v1/run/facebook.group_posts. Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 98.7% of Facebook group posts calls through AnyAPI succeeded, with a median response time of 5.0 seconds across 2,052 measured calls.