# Facebook Photos Scraper

> Facebook Photos Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes and returns structured photo data (URLs, dimensions, IDs) from public Facebook pages

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/facebook-photos?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/facebook-photos-scraper-a3294767
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RXtjByRrICGulyKaoR9Ln

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability facebook-photos-scraper-a3294767 -d '<json body>'
```

Example prompt: Can you scrape all the photos from the public Facebook page facebook.com/NationalGeographic and give me their image URLs, dimensions, and thumbnail links — grab up to 200 photos?

## When to prefer this

Choose this endpoint when you need structured photo metadata (URLs, dimensions, IDs) from public Facebook pages in bulk, especially when you want to avoid building and maintaining your own Facebook scraping infrastructure. It is pay-per-call with no charge for failed or empty runs, making it low-risk for exploratory use.

## Known failure modes

- Private or restricted Facebook pages return empty results (not charged)
- Invalid or malformed Facebook URLs cause failed runs (not charged)
- Facebook rate limiting or anti-scraping measures may yield partial results
- Pages with no public photos return empty items array
- Network timeouts on large galleries may truncate results

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of photos found and an items array, where each item contains the photo URL, full image URL, thumbnail URL, photo ID, data type, image width, and image height.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "startUrls": {
   "type": "array",
   "description": "Public Facebook page URLs. Add several pages to collect more photos when a single public gallery stops after its first batch."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 100,
   "minimum": 0,
   "description": "Stop after this many unique photos across all pages. Set 0 to collect all publicly available photos."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "url": null,
    "image": null,
    "photoId": null,
    "dataType": null,
    "imageWidth": null,
    "imageHeight": null,
    "thumbnailUrl": null
   }
  ],
  "product": "facebook-photos"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/facebook-photos-scraper-a3294767/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
