# Facebook Pages Scraper (Apify via StableApify)

> Facebook Pages Scraper (Apify via StableApify) is a paid API for AI agents from stableapify.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Starts an Apify actor run to extract detailed public data from Facebook Pages or Profiles, including contact info, followers, likes, ratings, and more.

## Facts

- Endpoint: POST https://stableapify.dev/api/actors/apify/facebook-pages-scraper/call
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/facebook-pages-scraper-apify-via-stableapify-8d6b9efe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MYWmc-b2YEgQKNjbOGqRr

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-pages-scraper-apify-via-stableapify-8d6b9efe -d '<json body>'
```

Example prompt: Can you scrape the Facebook page for username 'sarptecimer' and pull their page details, follower count, website, address, and email — grab up to 100 items using 256 MB memory?

## When to prefer this

Choose this endpoint when you need structured public data from Facebook Pages or Profiles at scale — especially contact details, follower counts, ratings, and business info — and want a pay-per-call model without managing Apify infrastructure directly. Prefer over manual scraping or direct Apify API when you need x402 micropayment compatibility or are running inside an agentic workflow.

## Known failure modes

- Invalid or private Facebook username returns empty dataset
- Facebook anti-scraping measures may cause partial or failed extraction
- Insufficient memory allocation may cause actor to fail on large page sets
- Rate limits or account restrictions on Apify side may delay or abort the run
- Token expiration before results are fetched may require re-authentication

## How this service works

Start the "Facebook Pages Scraper" Apify actor (apify/facebook-pages-scraper). Extract basic data from multiple Facebook Pages or Profiles. Extract Facebook page details, website, email, address, messenger, likes, followers, rating, ad ru…

## Output

Returns a run object with a run ID, status (READY), actor ID, start timestamp, total USD usage, and a default dataset ID, plus a JWT token for polling results. The actual scraped Facebook page data (details, email, address, followers, likes, rating, etc.) is stored in the Apify dataset referenced by defaultDatasetId.

## Example request

```json
{
 "input": {
  "username": "sarptecimer",
  "includeEmail": false
 },
 "options": {
  "memory": 256,
  "maxItems": 100
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "startUrls"
   ],
   "properties": {
    "startUrls": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "url"
      ],
      "properties": {
       "url": {
        "type": "string",
        "format": "uri"
       },
       "method": {
        "type": "string"
       },
       "headers": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {
         "type": "string"
        }
       },
       "payload": {
        "type": "string"
       },
       "userData": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "additionalProperties": false
     },
     "default": [],
     "description": "Provide urls of Facebook pages you want to get information from. Only works on facebook pages, not personal profiles (not even public ones)."
    }
   },
   "description": "Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).",
   "additionalProperties": {}
  },
  "options": {
   "type": "object",
   "properties": {
    "build": {
     "type": "string",
     "maxLength": 100,
     "minLength": 1
    },
    "memory": {
     "type": "integer",
     "maximum": 32768,
     "minimum": 128
    },
    "maxItems": {
     "type": "integer",
     "maximum": 100000,
     "minimum": 1
    }
   },
   "description": "Optional Apify run options.",
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/facebook-pages-scraper-apify-via-stableapify-8d6b9efe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableapify.dev](https://www.zero.xyz/host/stableapify.dev/llms.txt)
