Facebook group posts by URL or group id
scrapecreators.x.v1-facebook-group-postsFetches posts from a public Facebook group, limited to 3 posts per page due to API limitations.
- Price
- $0.00188/callAt provider cost
- Success rate
- 98.3%Last 30 days · 5,284 calls
- Latency p50
- 3.9 sp95 13 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2FPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Optional | The URL of the group | https://www.facebook.com/groups/1270525996445602/ |
cursor | string | Optional | The cursor to paginate to the next page | AQHRBjJCelNvdGRjH8s2j-6... |
sort_by | string | Optional | How to sort the posts | TOP_POSTS |
group_id | string | Optional | The ID of the group | 742354120555345 |
- Query parameters
urlstringOptionalThe URL of the group
Example:
https://www.facebook.com/groups/1270525996445602/cursorstringOptionalThe cursor to paginate to the next page
Example:
AQHRBjJCelNvdGRjH8s2j-6...sort_bystringOptionalHow to sort the posts
Example:
TOP_POSTSgroup_idstringOptionalThe ID of the group
Example:
742354120555345
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2F' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2F",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2F", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.