# Facebook Comments Scraper (x402)

> Facebook Comments 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 and returns structured public comments from one or more Facebook post URLs, with optional filtering by date and nesting depth.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/facebook-comments?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-comments-scraper-x402-23563f1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KYobL-gpGMU4UBC4xzxqo

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-comments-scraper-x402-23563f1d -d '<json body>'
```

Example prompt: Scrape the public comments from this Facebook post — https://www.facebook.com/somepost/123456 — and give me up to 100 comments, including any nested replies, posted in the last 30 days.

## When to prefer this

Use this endpoint when you need structured, machine-readable comments from specific public Facebook posts without building or maintaining your own scraper. Prefer it over general-purpose browser automation when you want pay-per-successful-call pricing (failed/empty runs are free), when you need date-filtered comment extraction, or when you are operating at scale across multiple Facebook post URLs in a single call.

## Known failure modes

- Private or login-gated posts return no comments and are not charged
- Posts with zero public comments return an empty items array
- Facebook rate limiting or anti-scraping measures may reduce yield
- Only initial page comments are available — replies behind 'load more' are inaccessible
- Invalid or malformed Facebook URLs return an error
- resultsLimit below actual available comments silently truncates output

## How this service works

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

## Output

Returns a JSON object containing a count of items and an array of comment records, each with fields for comment text, comment ID, comment URL, profile URL, Facebook post URL, feedback ID, and timestamp. Only publicly visible comments accessible without login are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "startUrls": {
   "type": "array",
   "description": "One or more public Facebook post URLs. Private posts and pages that require login cannot be collected."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 50,
   "minimum": 1,
   "description": "Hard maximum number of dataset rows across all URLs. Each post usually exposes only its initial 10 comments to anonymous visitors."
  },
  "includeNestedComments": {
   "type": "boolean",
   "default": false,
   "description": "Include replies when they are embedded in the initial public page. Replies behind a load-more control are unavailable."
  },
  "onlyCommentsNewerThan": {
   "type": "string",
   "description": "Optional UTC cutoff: YYYY-MM-DD, an ISO timestamp, or a relative period such as 7 days or 2 months."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "date": null,
    "text": null,
    "commentId": null,
    "commentUrl": null,
    "feedbackId": null,
    "profileUrl": null,
    "facebookUrl": null
   }
  ],
  "product": "facebook-comments"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/facebook-comments-scraper-x402-23563f1d/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)
