# Facebook Posts Scraper (x402)

> Facebook Posts Scraper (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured post data from public Facebook pages or individual post URLs, returning post metadata and content.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/facebook-posts?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-posts-scraper-x402-8603a129
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vEXlSQqvpSsnShL44u8Xn

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-posts-scraper-x402-8603a129 -d '<json body>'
```

Example prompt: Can you pull the last 30 posts from the Coca-Cola Facebook page (facebook.com/cocacola) — only ones posted in the past 14 days — and give me the structured data including post IDs, timestamps, and URLs?

## When to prefer this

Use this endpoint when you need structured, machine-readable post data from public Facebook pages at a low per-call cost with no charge for failed runs. Prefer this over browser automation or manual scraping when you need timestamped post metadata from one or multiple Facebook URLs, especially with date filtering. Ideal for agent workflows that monitor brand activity, competitive intelligence, or social content pipelines.

## Known failure modes

- Private or restricted Facebook pages return no results (not charged)
- Rate limiting or bot detection by Facebook results in empty response
- Invalid or malformed Facebook URL causes empty result set
- Date filters that exclude all available posts return count:0
- Pages with very limited post history may return fewer items than resultsLimit

## How this service works

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

## Output

A JSON object containing a count of results and an array of post items, each with fields: post URL, timestamp, post ID, input URL, page name, Facebook ID, Facebook URL, and top-level URL. Failed or empty runs are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Stop after this many posts across all URLs. Zero means no total cap."
  },
  "startUrls": {
   "type": "array",
   "description": "Public Facebook page URLs or direct public post URLs."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 20,
   "minimum": 1,
   "description": "Maximum posts to retrieve per page. The run stops after 30 feed batches per page, and some pages expose fewer posts. A direct post URL yields one post."
  },
  "onlyPostsNewerThan": {
   "type": "string",
   "description": "Optional lower date bound in YYYY-MM-DD or relative form such as 7 days. Dates use UTC."
  },
  "onlyPostsOlderThan": {
   "type": "string",
   "description": "Optional upper date bound in YYYY-MM-DD or relative form such as 1 month. Dates use UTC."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "url": null,
    "time": null,
    "postId": null,
    "inputUrl": null,
    "pageName": null,
    "facebookId": null,
    "facebookUrl": null,
    "topLevelUrl": null
   }
  ],
  "product": "facebook-posts"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/facebook-posts-scraper-x402-8603a129/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
