Facebook page posts by URL or page id
scrapecreators.x.v1-facebook-profile-postsReturns publicly visible Facebook profile posts, limited to 3 posts per page due to API limitations.
- Price
- $0.00188/callAt provider cost
- Success rate
- 99.7%Last 30 days · 50,741 calls
- Latency p50
- 2.8 sp95 6.5 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-profile-posts?url=https%3A%2F%2Fwww.facebook.com%2FpacemorbyPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Optional | Facebook profile URL | https://www.facebook.com/pacemorby |
cursor | string | Optional | To paginate through the posts | Cg8Ob3JnYW5pY19jdXJzb3IJA... |
pageId | string | Optional | Facebook profile page id | 100063669491743 |
- Query parameters
urlstringOptionalFacebook profile URL
Example:
https://www.facebook.com/pacemorbycursorstringOptionalTo paginate through the posts
Example:
Cg8Ob3JnYW5pY19jdXJzb3IJA...pageIdstringOptionalFacebook profile page id
Example:
100063669491743
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-profile-posts?url=https%3A%2F%2Fwww.facebook.com%2Fpacemorby' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-profile-posts?url=https%3A%2F%2Fwww.facebook.com%2Fpacemorby",
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-profile-posts?url=https%3A%2F%2Fwww.facebook.com%2Fpacemorby", {
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.