# Facebook Groups Post Scraper

> Facebook Groups Post 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 data from public Facebook group posts given direct post URLs

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/facebook-groups?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-groups-post-scraper-ec9d8a0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hMhylg778YRpBepsn0kyu

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-groups-post-scraper-ec9d8a0d -d '<json body>'
```

Example prompt: Scrape up to 15 public posts from this Facebook group using these post URLs — https://www.facebook.com/groups/example/posts/123456/ and https://www.facebook.com/groups/example/permalink/789012/ — and only include posts from the last 7 days.

## When to prefer this

Choose this endpoint when you need structured JSON data from specific public Facebook group posts and have direct post permalink URLs. It is pay-per-result so failed or empty runs incur no cost, making it low-risk for uncertain URLs. Prefer this over general-purpose scrapers when you specifically need Facebook group post fields like feedbackId, legacyId, and userId in a normalized format.

## Known failure modes

- Private or restricted group URLs return empty results (not charged)
- Group homepage URLs (without specific post IDs) cannot return post content anonymously
- Invalid or malformed Facebook URLs result in empty or failed runs
- Posts older than the specified date filter are excluded
- Facebook anti-scraping measures may cause intermittent failures or empty responses

## 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 results and an array of post items, each containing post ID, URL, text content, timestamp, user ID, user name, legacy ID, and feedback ID. Fields may be null if not publicly available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "startUrls": {
   "type": "array",
   "description": "Direct public post URLs under /groups/{group}/posts/{postId}/ or /permalink/{postId}/. A group homepage URL alone cannot provide posts anonymously."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 20,
   "minimum": 1,
   "description": "Stop after this many unique public posts. One input permalink yields at most one post."
  },
  "onlyPostsNewerThan": {
   "type": "string",
   "description": "Optional lower date bound in YYYY-MM-DD, ISO timestamp, or relative form such as 7 days."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "url": null,
    "text": null,
    "time": null,
    "userId": null,
    "legacyId": null,
    "userName": null,
    "feedbackId": null
   }
  ],
  "product": "facebook-groups"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/facebook-groups-post-scraper-ec9d8a0d/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)
