# FacebookMarketplaceScraper (`scraperpro/facebookmarketplacescraper`) Actor

The most data-rich Facebook Marketplace scraper on Apify. Extracts 40+ fields per listing — including seller intelligence, item details, vehicle specs, and HD images — for any category. No login required.

- **URL**: https://apify.com/scraperpro/facebookmarketplacescraper.md
- **Developed by:** [ScraperPro](https://apify.com/scraperpro) (community)
- **Categories:** E-commerce, Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 75.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Facebook Marketplace Scraper

The most data-rich Facebook Marketplace scraper on Apify. Extracts **40+ fields** per listing — including seller intelligence, item details, vehicle specs, and HD images — for **any category**. No login required.

### What is Facebook Marketplace Scraper?

Facebook Marketplace Scraper is a tool that allows you to extract rich listing data from Facebook Marketplace without needing to log in. Whether you are looking for vehicles, electronics, furniture, or clothing, this scraper can collect up to 40+ fields per listing, including seller ratings, vehicle specs, and HD images.

### What can this Facebook Marketplace Scraper do?

- Extract data from **any category** (Vehicles, furniture, electronics, clothing...)
- Collect **Seller Intelligence** (⭐ Ratings, reviews, join date)
- Retrieve **Vehicle Specs** (VIN, mileage, transmission, engine)
- Use **Concurrent Processing** (⚡ Up to 10x parallel scraping)
- Scrape without a Facebook account (**No Login Required**)

### ✨ What Makes This Different

| Feature | This Actor | Typical Scrapers |
|---|---|---|
| **Data Fields** | 40+ per listing | 5-10 |
| **Seller Intelligence** | ⭐ Ratings, reviews, join date | ❌ Name only |
| **Vehicle Specs** | VIN, mileage, transmission, engine | ❌ None |
| **Concurrent Processing** | ⚡ Up to 10x parallel | Sequential |
| **Any Category** | Vehicles, furniture, electronics, clothing... | Usually one |
| **Login Required** | 🔒 No | Often yes |

### What data can Facebook Marketplace Scraper extract?

#### General Listing (Furniture, Electronics, etc.)
```json
{
  "url": "https://www.facebook.com/marketplace/item/123456789/",
  "title": "IKEA Malm Dresser - Like New",
  "price": "$150",
  "city_slug": "sanfrancisco",
  "seller_name": "Sarah M.",
  "seller_join_year": "Joined Facebook in 2015",
  "seller_location": "San Francisco, CA",
  "seller_rating": 4.8,
  "seller_review_count": 12,
  "pseudo_seller_id": "anon_a3f2b1c9d8e7f6a5",
  "listing_age": "12 hours ago",
  "category": "Home & Garden",
  "description": "Selling my IKEA Malm 6-drawer dresser...",
  "condition": "PC_USED_LIKE_NEW",
  "brand": "IKEA",
  "images": ["https://scontent...jpg", "..."],
  "attributes": ["White", "6 drawers"]
}
````

#### Vehicle Listing (Auto-Enriched)

```json
{
  "url": "https://www.facebook.com/marketplace/item/982185697762732/",
  "title": "2019 Honda Civic EX",
  "price": "$8,500",
  "city_slug": "sanfrancisco",
  "seller_name": "Lawrence",
  "seller_join_year": "Joined Facebook in 2011",
  "seller_location": "San Francisco, CA",
  "seller_rating": 4.6,
  "seller_review_count": 9,
  "listing_age": "on Thursday",
  "category": "Vehicles",
  "description": "Clean title, no accidents...",
  "condition": "PC_USED_GOOD",
  "make": "Honda",
  "model": "Civic",
  "trim": "EX",
  "year": 2019,
  "mileage": "45000",
  "transmission": "AUTOMATIC",
  "fuel_type": "GASOLINE",
  "vin": "2HGFC2F5XKH...",
  "exterior_color": "Crystal Black Pearl",
  "interior_color": "Black",
  "title_status": "CLEAN",
  "body_type": "Sedan",
  "engine": "1.5L Turbo",
  "drivetrain": "FWD",
  "vehicle_details": {
    "mileage_text": "Driven 45,000 miles",
    "transmission": "Automatic"
  },
  "images": ["https://scontent...jpg", "..."],
  "state": "California",
  "city": "San Francisco"
}
```

### 📥 Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `search_query` | string | `"vehicles"` | What to search for — works with any category |
| `city_slug` | string | `"sanfrancisco"` | Facebook city identifier |
| `min_price` | int | `1000` | Minimum price filter ($) |
| `max_price` | int | `10000` | Maximum price filter ($) |
| `max_results` | int | `100` | Maximum listings to scrape |
| `concurrency` | int | `5` | Parallel scraping threads (1-10) |
| `days_since_listed` | int | `1` | Recency filter (1 = last 24h) |
| `item_condition` | string | `"used"` | `"all"`, `"new"`, or `"used"` |
| `radius` | int | `500` | Search radius in km |

### How do I use Facebook Marketplace Scraper?

1. Set your search parameters in the Apify UI
2. Choose your proxy configuration (residential proxies recommended)
3. Run the actor
4. Download your results from the Dataset tab

### ❓ FAQ

**Q: Does this work for non-vehicle categories?**
A: Yes! Search for anything — furniture, electronics, clothing, collectibles, etc. Vehicle-specific fields (VIN, mileage, etc.) will automatically appear when applicable.

**Q: Do I need a Facebook account?**
A: No. The scraper works without any login or authentication.

**Q: What proxies should I use?**
A: Residential proxies give the best results. Apify's built-in proxy works out of the box.

**Q: How fast is it?**
A: With concurrency set to 5, expect ~100 listings in 3-5 minutes depending on proxy speed.

# Actor input Schema

## `search_query` (type: `string`):

What to search for (e.g. 'vehicles', 'iphone', 'furniture', 'honda civic').

## `city_slug` (type: `string`):

The marketplace city slug (e.g. sanfrancisco, newyork, losangeles, chicago, houston).

## `min_price` (type: `integer`):

Minimum listing price in dollars.

## `max_price` (type: `integer`):

Maximum listing price in dollars.

## `max_results` (type: `integer`):

Maximum number of listings to scrape.

## `concurrency` (type: `integer`):

Number of listings to scrape in parallel (higher = faster, but more proxy usage). Recommended: 3-5 for residential proxies.

## `days_since_listed` (type: `integer`):

Only scrape listings posted within this many days (1 = last 24h, 7 = last week, 30 = last month).

## `item_condition` (type: `string`):

Filter by item condition.

## `radius` (type: `integer`):

Search radius in kilometers. Max 500 for unauthenticated scraping.

## `proxyConfiguration` (type: `object`):

Select proxies to be used by the scraper. Residential proxies recommended for best results.

## Actor input object example

```json
{
  "search_query": "vehicles",
  "city_slug": "sanfrancisco",
  "min_price": 1000,
  "max_price": 10000,
  "max_results": 100,
  "concurrency": 5,
  "days_since_listed": 1,
  "item_condition": "used",
  "radius": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Structured data for the scraped Facebook Marketplace listings, including seller intelligence and vehicle specs.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "search_query": "vehicles",
    "city_slug": "sanfrancisco",
    "min_price": 1000,
    "max_price": 10000,
    "max_results": 100,
    "concurrency": 5,
    "days_since_listed": 1,
    "item_condition": "used",
    "radius": 500,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraperpro/facebookmarketplacescraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "search_query": "vehicles",
    "city_slug": "sanfrancisco",
    "min_price": 1000,
    "max_price": 10000,
    "max_results": 100,
    "concurrency": 5,
    "days_since_listed": 1,
    "item_condition": "used",
    "radius": 500,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scraperpro/facebookmarketplacescraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search_query": "vehicles",
  "city_slug": "sanfrancisco",
  "min_price": 1000,
  "max_price": 10000,
  "max_results": 100,
  "concurrency": 5,
  "days_since_listed": 1,
  "item_condition": "used",
  "radius": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scraperpro/facebookmarketplacescraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraperpro/facebookmarketplacescraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "FacebookMarketplaceScraper",
        "description": "The most data-rich Facebook Marketplace scraper on Apify. Extracts 40+ fields per listing — including seller intelligence, item details, vehicle specs, and HD images — for any category. No login required.",
        "version": "0.0",
        "x-build-id": "1IppWbSbzBnnCPY0F"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraperpro~facebookmarketplacescraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraperpro-facebookmarketplacescraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scraperpro~facebookmarketplacescraper/runs": {
            "post": {
                "operationId": "runs-sync-scraperpro-facebookmarketplacescraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scraperpro~facebookmarketplacescraper/run-sync": {
            "post": {
                "operationId": "run-sync-scraperpro-facebookmarketplacescraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "search_query",
                    "city_slug",
                    "max_results"
                ],
                "properties": {
                    "search_query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "What to search for (e.g. 'vehicles', 'iphone', 'furniture', 'honda civic').",
                        "default": "vehicles"
                    },
                    "city_slug": {
                        "title": "City Slug",
                        "type": "string",
                        "description": "The marketplace city slug (e.g. sanfrancisco, newyork, losangeles, chicago, houston).",
                        "default": "sanfrancisco"
                    },
                    "min_price": {
                        "title": "Minimum Price ($)",
                        "type": "integer",
                        "description": "Minimum listing price in dollars.",
                        "default": 1000
                    },
                    "max_price": {
                        "title": "Maximum Price ($)",
                        "type": "integer",
                        "description": "Maximum listing price in dollars.",
                        "default": 10000
                    },
                    "max_results": {
                        "title": "Max Results",
                        "type": "integer",
                        "description": "Maximum number of listings to scrape.",
                        "default": 100
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Number of listings to scrape in parallel (higher = faster, but more proxy usage). Recommended: 3-5 for residential proxies.",
                        "default": 5
                    },
                    "days_since_listed": {
                        "title": "Days Since Listed",
                        "type": "integer",
                        "description": "Only scrape listings posted within this many days (1 = last 24h, 7 = last week, 30 = last month).",
                        "default": 1
                    },
                    "item_condition": {
                        "title": "Item Condition",
                        "enum": [
                            "all",
                            "new",
                            "used"
                        ],
                        "type": "string",
                        "description": "Filter by item condition.",
                        "default": "used"
                    },
                    "radius": {
                        "title": "Search Radius (km)",
                        "type": "integer",
                        "description": "Search radius in kilometers. Max 500 for unauthenticated scraping.",
                        "default": 500
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used by the scraper. Residential proxies recommended for best results.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
