FACEBOOK SCRAPER API

Facebook Photos API

List the photos a Facebook profile or Page posted, in the order its Photos tab shows them, with each photo's link, full size image URL, dimensions and description. Page through the list with `cursor`.

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

What does the Facebook Photos API return?

List the photos a Facebook profile or Page posted, as JSON: full size image URL, dimensions, photo link and the image description, page after page. 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–8 · default 8
Number of results to return (1–8). Defaults to 8.
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",
"photos": [
{
"id": "string",
"url": "string",
"imageUrl": "string",
"width": 0,
"height": 0,
"altText": "string"
}
]
}
}
[ USE CASES ]

What can you build with the Facebook Photos API?

Build image datasets

Collect a brand’s published images with their descriptions.

Audit visual content

Review what a Page has published over time.

Moderate

Feed published images into your own review or classification pipeline.

[ FAQ ]

Facebook Photos API questions

What is altText?

The description of the image, written by its owner or generated by Facebook, useful for search and accessibility.

How do I use the Facebook Photos API?

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

How much does the Facebook Photos 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 Photos 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