# Facebook Marketplace Scraper API (x402)

> Facebook Marketplace Scraper API (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 listing data from Facebook Marketplace given location, category, or search URLs, returning titles, prices, and listing URLs.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/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-api-x402-343eca78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sSfwl_VpK9h_GgBey9U36

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-api-x402-343eca78 -d '<json body>'
```

Example prompt: Search Facebook Marketplace for used road bikes in Austin, TX — scrape up to 30 listings and include the details from each item page so I can compare prices.

## When to prefer this

Use this endpoint when you need structured, machine-readable listing data from Facebook Marketplace without managing browser automation or anti-bot infrastructure yourself. It is especially useful for price comparison, inventory research, reseller arbitrage, or local market analysis. Its pay-per-successful-call model makes it low-risk for exploratory scraping. Prefer it over general web scrapers when you specifically need Facebook Marketplace listing schema (price, currency, listing URL) returned in a predictable format.

## Known failure modes

- Empty result set (no listings found for given URLs) — not charged
- Invalid or inaccessible Facebook Marketplace URL — likely returns empty items array
- Facebook anti-bot blocks causing failed scrape — not charged per policy
- resultsLimit below minimum (1) rejected at input validation
- Network timeout on item detail pages when includeListingDetails is true

## 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 listings found, the product identifier ('facebook-marketplace'), and an array of items each containing the listing ID, title, price (numeric), currency, priceText (formatted string), minPrice, sourceUrl, and listingUrl. Only non-empty successful runs are charged.

## 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-api-x402-343eca78/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)
