Get a public Facebook page's photos
curl --request GET \
--url https://api.scraperize.com/v1/facebook/profile/photos \
--header 'x-api-key: <api-key>'import requests
url = "https://api.scraperize.com/v1/facebook/profile/photos"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.scraperize.com/v1/facebook/profile/photos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scraperize.com/v1/facebook/profile/photos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scraperize.com/v1/facebook/profile/photos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scraperize.com/v1/facebook/profile/photos")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scraperize.com/v1/facebook/profile/photos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"photos": [
{
"photoId": "1741207304032469",
"id": "YXBwX2l0ZW06MTAwMDQ0Mjk2NDg2MzgyOjIzMDUyNzI3MzI6NTo6MTc0MTIwNzMwNDAzMjQ2OQ==",
"url": "https://www.facebook.com/photo.php?fbid=1741207304032469&set=pb.100044296486382.-2207520000&type=3",
"imageUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/808322075_18772642810056421_8186953556932778401_n.jpg?stp=dst-jpg_tt6&cstp=mx2457x3072&ctp=s2457x3072&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=kZJeAc46Ju4Q7kNvwHkk7HA&_nc_oc=Ado4KSTkr7MXa0mD2xkvqml5eaUgLaUe_QfyBReRtqnouq7mIq-upNVVNVyfJYm2x4Q&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQJXlVCqyHpFEUcoPcpdz8rwMgex2d3BpxATJpMmrguvvw&oe=6AADBA8E",
"thumbnailUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/808322075_18772642810056421_8186953556932778401_n.jpg?stp=c0.203.2457.2457a_dst-jpg_tt6&cstp=mx2457x2457&ctp=s552x414&_nc_cat=1&ccb=1-7&_nc_sid=714c7a&_nc_ohc=kZJeAc46Ju4Q7kNvwHkk7HA&_nc_oc=Ado4KSTkr7MXa0mD2xkvqml5eaUgLaUe_QfyBReRtqnouq7mIq-upNVVNVyfJYm2x4Q&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQIqlGdGfvB49EPg8uHAXBfBC1RhqEUW7DmNglj5xLLrNQ&oe=6AADBA8E",
"caption": "May be an image of football, American football and text that says \"ALKHAIBARI 17 ANGELO ANGEL 2u TO وده AAL ญ MgiN GUE AGUI\"",
"width": 2457,
"height": 3072,
"immersivePhotoEncodings": []
},
{
"photoId": "1739600907526442",
"id": "YXBwX2l0ZW06MTAwMDQ0Mjk2NDg2MzgyOjIzMDUyNzI3MzI6NTo6MTczOTYwMDkwNzUyNjQ0Mg==",
"url": "https://www.facebook.com/photo.php?fbid=1739600907526442&set=pb.100044296486382.-2207520000&type=3",
"imageUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t39.99422-6/804648218_1079705651317787_7129949489923928016_n.png?stp=dst-jpg_tt6&cstp=mx3111x3889&ctp=s3111x3889&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=3efddKgUtAsQ7kNvwFkuQQQ&_nc_oc=AdpBhM9TxZn0ZsSds9FlUgA5quf9eTm1H07hsn4Z-3XgCfscrdur7nef7SRMcQHHH5Q&_nc_zt=14&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQKHqH84VhCIezq-9wB3krur2dXFwnFBt9NmiDuFQMQFGA&oe=6AADAA71",
"thumbnailUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t39.99422-6/804648218_1079705651317787_7129949489923928016_n.png?stp=c0.257.3111.3111a_dst-jpg_tt6&cstp=mx3111x3111&ctp=s552x414&_nc_cat=1&ccb=1-7&_nc_sid=714c7a&_nc_ohc=3efddKgUtAsQ7kNvwFkuQQQ&_nc_oc=AdpBhM9TxZn0ZsSds9FlUgA5quf9eTm1H07hsn4Z-3XgCfscrdur7nef7SRMcQHHH5Q&_nc_zt=14&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQIV6-x79eD1P4pYEww7tphXenzdbKzVh7fXDfFy84d6hA&oe=6AADAA71",
"caption": "May be an image of football, eyewear and text",
"width": 3111,
"height": 3889,
"immersivePhotoEncodings": []
},
{
"photoId": "1738083467678186",
"id": "YXBwX2l0ZW06MTAwMDQ0Mjk2NDg2MzgyOjIzMDUyNzI3MzI6NTo6MTczODA4MzQ2NzY3ODE4Ng==",
"url": "https://www.facebook.com/photo.php?fbid=1738083467678186&set=pb.100044296486382.-2207520000&type=3",
"imageUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/802307878_18771362611056421_7211335494025570908_n.jpg?stp=dst-jpg_tt6&cstp=mx3200x4000&ctp=s3200x4000&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=Q8raVkIDxa0Q7kNvwFbRanQ&_nc_oc=Ado4gwr_7tlKSzBwCEHLq-_ZExbG5M_P2iO-fFK-C0dnmTkCgfelCUATcuHNcPGkIDU&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQIr2rxnuxkIt_vvx3E_afvnCGdlo7lK9N-pvUi8KaqEpQ&oe=6AADAAD4",
"thumbnailUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/802307878_18771362611056421_7211335494025570908_n.jpg?stp=c0.264.3200.3200a_dst-jpg_tt6&cstp=mx3200x3200&ctp=s552x414&_nc_cat=1&ccb=1-7&_nc_sid=714c7a&_nc_ohc=Q8raVkIDxa0Q7kNvwFbRanQ&_nc_oc=Ado4gwr_7tlKSzBwCEHLq-_ZExbG5M_P2iO-fFK-C0dnmTkCgfelCUATcuHNcPGkIDU&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQLTiVwYg2KwLiirLs6bthjJYOBC8PyOme7sBUXQ8lvi_g&oe=6AADAAD4",
"caption": "May be an image of American football, football and text",
"width": 3200,
"height": 4000,
"immersivePhotoEncodings": []
}
],
"photoCount": 8,
"paging": {
"cursor": "AQHTRuloCPk8YvaD8BXzSXeixP5dpn7AxKgmHemmiF_CF0BHfj3Nu_1PP7RsOeiFZtFX740aS2BZwYee5wrVmFt2dA",
"hasNextPage": true
},
"fetchedAt": "2026-09-14T12:13:31.061Z"
},
"meta": {
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"creditsCharged": 1,
"creditsRemaining": 4999,
"cached": false
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "API key required — pass it in the `x-api-key` header.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 1 credit, but your balance is 0. Top up to continue.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The requested content was not found (it may not exist, be deleted, or be private).",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"details": [
{
"path": "url",
"message": "Required"
}
]
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The source was temporarily unavailable. Please try again shortly.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}Facebook
Get a public Facebook page's photos
Fetches a public Facebook page’s photos (from its /photos tab, logged-out). Returns the batch on the initial page load plus a paging.cursor / paging.hasNextPage for the next page.
GET
/
v1
/
facebook
/
profile
/
photos
Get a public Facebook page's photos
curl --request GET \
--url https://api.scraperize.com/v1/facebook/profile/photos \
--header 'x-api-key: <api-key>'import requests
url = "https://api.scraperize.com/v1/facebook/profile/photos"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.scraperize.com/v1/facebook/profile/photos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scraperize.com/v1/facebook/profile/photos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.scraperize.com/v1/facebook/profile/photos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.scraperize.com/v1/facebook/profile/photos")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scraperize.com/v1/facebook/profile/photos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"photos": [
{
"photoId": "1741207304032469",
"id": "YXBwX2l0ZW06MTAwMDQ0Mjk2NDg2MzgyOjIzMDUyNzI3MzI6NTo6MTc0MTIwNzMwNDAzMjQ2OQ==",
"url": "https://www.facebook.com/photo.php?fbid=1741207304032469&set=pb.100044296486382.-2207520000&type=3",
"imageUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/808322075_18772642810056421_8186953556932778401_n.jpg?stp=dst-jpg_tt6&cstp=mx2457x3072&ctp=s2457x3072&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=kZJeAc46Ju4Q7kNvwHkk7HA&_nc_oc=Ado4KSTkr7MXa0mD2xkvqml5eaUgLaUe_QfyBReRtqnouq7mIq-upNVVNVyfJYm2x4Q&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQJXlVCqyHpFEUcoPcpdz8rwMgex2d3BpxATJpMmrguvvw&oe=6AADBA8E",
"thumbnailUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/808322075_18772642810056421_8186953556932778401_n.jpg?stp=c0.203.2457.2457a_dst-jpg_tt6&cstp=mx2457x2457&ctp=s552x414&_nc_cat=1&ccb=1-7&_nc_sid=714c7a&_nc_ohc=kZJeAc46Ju4Q7kNvwHkk7HA&_nc_oc=Ado4KSTkr7MXa0mD2xkvqml5eaUgLaUe_QfyBReRtqnouq7mIq-upNVVNVyfJYm2x4Q&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQIqlGdGfvB49EPg8uHAXBfBC1RhqEUW7DmNglj5xLLrNQ&oe=6AADBA8E",
"caption": "May be an image of football, American football and text that says \"ALKHAIBARI 17 ANGELO ANGEL 2u TO وده AAL ญ MgiN GUE AGUI\"",
"width": 2457,
"height": 3072,
"immersivePhotoEncodings": []
},
{
"photoId": "1739600907526442",
"id": "YXBwX2l0ZW06MTAwMDQ0Mjk2NDg2MzgyOjIzMDUyNzI3MzI6NTo6MTczOTYwMDkwNzUyNjQ0Mg==",
"url": "https://www.facebook.com/photo.php?fbid=1739600907526442&set=pb.100044296486382.-2207520000&type=3",
"imageUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t39.99422-6/804648218_1079705651317787_7129949489923928016_n.png?stp=dst-jpg_tt6&cstp=mx3111x3889&ctp=s3111x3889&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=3efddKgUtAsQ7kNvwFkuQQQ&_nc_oc=AdpBhM9TxZn0ZsSds9FlUgA5quf9eTm1H07hsn4Z-3XgCfscrdur7nef7SRMcQHHH5Q&_nc_zt=14&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQKHqH84VhCIezq-9wB3krur2dXFwnFBt9NmiDuFQMQFGA&oe=6AADAA71",
"thumbnailUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t39.99422-6/804648218_1079705651317787_7129949489923928016_n.png?stp=c0.257.3111.3111a_dst-jpg_tt6&cstp=mx3111x3111&ctp=s552x414&_nc_cat=1&ccb=1-7&_nc_sid=714c7a&_nc_ohc=3efddKgUtAsQ7kNvwFkuQQQ&_nc_oc=AdpBhM9TxZn0ZsSds9FlUgA5quf9eTm1H07hsn4Z-3XgCfscrdur7nef7SRMcQHHH5Q&_nc_zt=14&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQIV6-x79eD1P4pYEww7tphXenzdbKzVh7fXDfFy84d6hA&oe=6AADAA71",
"caption": "May be an image of football, eyewear and text",
"width": 3111,
"height": 3889,
"immersivePhotoEncodings": []
},
{
"photoId": "1738083467678186",
"id": "YXBwX2l0ZW06MTAwMDQ0Mjk2NDg2MzgyOjIzMDUyNzI3MzI6NTo6MTczODA4MzQ2NzY3ODE4Ng==",
"url": "https://www.facebook.com/photo.php?fbid=1738083467678186&set=pb.100044296486382.-2207520000&type=3",
"imageUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/802307878_18771362611056421_7211335494025570908_n.jpg?stp=dst-jpg_tt6&cstp=mx3200x4000&ctp=s3200x4000&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=Q8raVkIDxa0Q7kNvwFbRanQ&_nc_oc=Ado4gwr_7tlKSzBwCEHLq-_ZExbG5M_P2iO-fFK-C0dnmTkCgfelCUATcuHNcPGkIDU&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQIr2rxnuxkIt_vvx3E_afvnCGdlo7lK9N-pvUi8KaqEpQ&oe=6AADAAD4",
"thumbnailUrl": "https://scontent-los4-1.xx.fbcdn.net/v/t51.82787-15/802307878_18771362611056421_7211335494025570908_n.jpg?stp=c0.264.3200.3200a_dst-jpg_tt6&cstp=mx3200x3200&ctp=s552x414&_nc_cat=1&ccb=1-7&_nc_sid=714c7a&_nc_ohc=Q8raVkIDxa0Q7kNvwFbRanQ&_nc_oc=Ado4gwr_7tlKSzBwCEHLq-_ZExbG5M_P2iO-fFK-C0dnmTkCgfelCUATcuHNcPGkIDU&_nc_zt=23&_nc_ht=scontent-los4-1.xx&_nc_gid=eF4oFo1cYPx3i9RqH5pSow&_nc_ss=7f289&oh=00_AQLTiVwYg2KwLiirLs6bthjJYOBC8PyOme7sBUXQ8lvi_g&oe=6AADAAD4",
"caption": "May be an image of American football, football and text",
"width": 3200,
"height": 4000,
"immersivePhotoEncodings": []
}
],
"photoCount": 8,
"paging": {
"cursor": "AQHTRuloCPk8YvaD8BXzSXeixP5dpn7AxKgmHemmiF_CF0BHfj3Nu_1PP7RsOeiFZtFX740aS2BZwYee5wrVmFt2dA",
"hasNextPage": true
},
"fetchedAt": "2026-09-14T12:13:31.061Z"
},
"meta": {
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"creditsCharged": 1,
"creditsRemaining": 4999,
"cached": false
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "API key required — pass it in the `x-api-key` header.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 1 credit, but your balance is 0. Top up to continue.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The requested content was not found (it may not exist, be deleted, or be private).",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"details": [
{
"path": "url",
"message": "Required"
}
]
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The source was temporarily unavailable. Please try again shortly.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}Authorizations
Your API key. Send it in the x-api-key header (or Authorization: Bearer <key>). Create and manage keys from your dashboard.
Query Parameters
Public Facebook page URL, e.g. https://www.facebook.com/Cristiano
The paging.cursor from a previous call, to fetch the next page. (Facebook uses a single pagination token — there is no separate next_page_id.)
Optional. Return a cached result if one this age or newer exists — served for 0 credits with meta.cached=true and meta.cachedAt. Otherwise a fresh scrape runs (1 credit) and refreshes the cache. Omit to always scrape fresh.
Available options:
1d, 3d, 7d, 14d, 30d