FACEBOOK SCRAPER API

Facebook Posts API

List the posts of a Facebook profile or Page, newest first. Each post includes its text, author, date, photos and videos, shared link or post, reactions by type, and comment and share counts. Page through older posts with `cursor`.

Endpoint
POST /facebook/get-profile-posts
Price
1 credit per request
SDK
client.facebook.getProfilePosts()
MCP tool
facebook_get_profile_posts
Terminal
curl -X POST "https://api.bridgly.app/facebook/get-profile-posts" \
-H "Authorization: Bearer $BRIDGLY_KEY" \
-H "Content-Type: application/json" \
-d '{
"profile": "NASA",
"count": 3
}'
[ REQUEST AND RESPONSE ]

What does the Facebook Posts API return?

List the posts of any public Facebook profile or Page as JSON, newest first: text, photos, videos, links, reactions by type, comment and share counts. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.

Request body

cursorstring
The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired
The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
countinteger · 1–3 · default 3
Number of results to return (1–3). Defaults to 3.
cacheMaxAgeHoursinteger
Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean
Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.

Example response

200 OK · application/json
{
"timeMs": 1840,
"creditsCost": 1,
"cachedAt": "2026-01-15T09:30:00.000Z",
"data": {
"nextCursor": "string",
"posts": [
{
"id": "string",
"url": "string",
"text": "string",
"entities": [
{
"type": "string",
"id": "string",
"name": "string",
"url": "string"
}
],
"headline": "string",
"tagged": [
{
"type": "string",
"id": "string",
"name": "string",
"url": "string"
}
],
"place": {
"type": "string",
"id": "string",
"name": "string",
"url": "string"
},
"createdAt": "string",
"privacy": "string",
"author": {
"id": "string",
"name": "string",
"url": "string",
"profilePictureUrl": "string"
},
"group": {
"id": "string",
"name": "string",
"url": "string"
},
"reactionCount": 0,
"reactions": [
{
"reaction": "string",
"count": 0
}
],
"commentCount": 0,
"shareCount": 0,
"media": [
{
"type": "photo",
"id": "string",
"url": "string",
"imageUrl": "string",
"width": 0,
"height": 0,
"altText": "string"
}
],
"link": {
"url": "string",
"title": "string",
"description": "string",
"domain": "string",
"imageUrl": "string"
},
"sharedPost": {
"id": "string",
"url": "string",
"text": "string",
"createdAt": "string",
"author": {
"id": "string",
"name": "string",
"url": "string",
"profilePictureUrl": "string"
}
},
"poll": {
"id": "string",
"question": "string",
"responseMethod": "string",
"state": "string",
"options": [
{
"id": "string",
"text": "string",
"voteCount": 0
}
]
},
"music": {
"id": "string",
"title": "string",
"artist": "string"
}
}
]
}
}
[ USE CASES ]

What can you build with the Facebook Posts API?

Track competitors

Follow what competing Pages post and how their audience reacts.

Measure engagement

Compare reactions, comments and shares across a Page’s recent posts.

Archive content

Keep a copy of a Page’s posts with their media links.

[ FAQ ]

Facebook Posts API questions

How do I get older posts?

Each response returns a nextCursor. Pass it as cursor to get the next, older page, until nextCursor is null.

Are reshared posts included?

Yes. A reshare includes the post it shares under sharedPost, with its author, link and date.

Does it return mentions and hashtags?

Yes. entities lists the profiles, Pages, groups, hashtags and links in the post text with their IDs, and tagged lists the people and places the post tags, such as where the author checked in.

How do I use the Facebook Posts API?

Send a POST request to https://api.bridgly.app/facebook/get-profile-posts with profile in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.facebook.getProfilePosts(). AI agents connected to Bridgly over MCP can call the facebook_get_profile_posts tool.

How much does the Facebook Posts API cost?

Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.

Try the Facebook Posts API

100 free credits on business email, no card. Your first call takes a minute.

APIMCPSDKCLI
free credits

On business email signup. No credit card required.

Start free with 100 credits