# Facebook Marketplace Scraper

> Facebook Marketplace 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 structured listing data from Facebook Marketplace given location, category, search, or item URLs

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/facebook-marketplace?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-marketplace-scraper-6fd3c9da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fUyTUl-lS56Gx0ZCXW_5-

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-marketplace-scraper-6fd3c9da -d '<json body>'
```

Example prompt: Can you scrape Facebook Marketplace for used mountain bikes listed in Denver — give me up to 30 listings with their titles, prices, and URLs?

## When to prefer this

Choose this endpoint when you need structured, machine-readable data from Facebook Marketplace listings — such as prices, titles, and URLs — without building your own scraper. It is especially useful for price comparison, market research, inventory monitoring, or aggregating local classifieds data. The pay-per-call model with no charge for failed or empty runs makes it low-risk for exploratory queries.

## Known failure modes

- Invalid or inaccessible Facebook Marketplace URL returns empty results (not charged)
- Facebook anti-bot measures may block scraping, returning empty or partial results
- Rate limits or session issues may reduce the number of listings returned
- Non-Facebook Marketplace URLs passed in startUrls will yield no relevant results
- resultsLimit set too low may truncate meaningful data sets

## 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 listing items, each with fields for id, price, title, currency, minPrice, priceText, sourceUrl, and listingUrl, plus a product identifier ('facebook-marketplace').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "startUrls": {
   "type": "array",
   "description": "Location, category, search, or item URLs to collect."
  },
  "resultsLimit": {
   "type": "integer",
   "default": 50,
   "minimum": 1,
   "description": "Maximum number of unique listings across all starting pages."
  },
  "includeListingDetails": {
   "type": "boolean",
   "default": false,
   "description": "Visit each item page for any additional public details."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "price": null,
    "title": null,
    "currency": null,
    "minPrice": null,
    "priceText": null,
    "sourceUrl": null,
    "listingUrl": null
   }
  ],
  "product": "facebook-marketplace"
 }
}
```

## More

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