# Facebook Marketplace Scraper (`saswave/facebook-marketplace-scraper`) Actor

$0.35 / 1000 results. No proxies. Date filters. Extract public listings from Facebook Marketplace sorted by the newest publications.Filter by categories, keywords, custom price ranges, publication date limits, geographic coordinates (latitude/longitude), radius, item condition, and delivery methods.

- **URL**: https://apify.com/saswave/facebook-marketplace-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

Extract public listings from Facebook Marketplace sorted by the newest publications.

Filter by categories, keywords, custom price ranges, publication date limits, geographic coordinates (latitude/longitude), radius, item condition, and delivery methods.

The **Facebook Marketplace Scraper** is a high-speed data extraction tool designed to monitor and collect public listings on **[Facebook Marketplace](https://www.facebook.com/marketplace/)**.

By sorting listings chronologically by creation date, this Actor allows deal hunters, resellers, price intelligence teams, and market researchers to capture newly published items instantly before others do.

### FEATURES

- 🆕 **Newest Listings Priority:** Search and extract items sorted strictly by publication date to discover fresh deals.

- 📍 **Geographic & Radius Targeting:** Target specific cities or coordinates using `location_latitude` and `location_longitude` with customizable search radii (1 km up to 500 km).

- 📅 **Date Limit Controls:** Halt extractions at a specific date threshold (`min_date`) or dynamically cap results to listings posted today (`today_date`).

- 🏷️ **Category & Keyword Filtering:** Search across top categories (*Vehicles*, *Electronics*, *Home Goods*, *Free*, etc.) paired with target keyword search queries.

- 💰 **Price & Condition Filters:** Set minimum/maximum price limits and filter by item condition (*New*, *Used Like New*, *Used Good*, *Used Fair*).

- 🚚 **Delivery & Availability Toggles:** Filter by local pickup, shipping/delivery options, and active vs. sold listing states.

- ⚡ **High-Performance & Anti-Blocking:** Optimized with smart session routing and Apify Proxy support for reliable extraction.

- 📂 **Multi-Format Export:** Download datasets directly in **JSON, CSV, Excel (XLSX), XML, or HTML**.

### USE CASES

- **E-Commerce & Arbitrage Reselling:** Discover undervalued items or freshly listed deals early for local flipping and arbitrage.

- **Automated Price Monitoring & Benchmarking:** Track daily market rates, average selling prices, and regional pricing trends across consumer categories.

- **Vehicle & Inventory Sourcing:** Automate deal discovery for cars, motorcycles, auto parts, or electronics within a local radius.

- **Real-Time Deal Alerts:** Integrate with webhooks or Apify integrations to send real-time alerts whenever targeted keywords match new listings.

### OUTPUT

```json
{
  "id": "1373710318163398",
  "url": "https://www.facebook.com/marketplace/item/1373710318163398/",
  "title": "79bike falcon pro",
  "custom_title": null,
  "creation_time_timestamp": 1788327708,
  "creation_time": "2026-09-02 07:41:48",
  "is_hidden": false,
  "is_live": true,
  "is_pending": false,
  "is_sold": false,
  "listing_category_id": "1658310421102081",
  "created_with_seller_app": false,
  "delivery_types": [
    "IN_PERSON"
  ],
  "query": "Vehicles",
  "category": "546583916084032",
  "image": "https://scontent-iad3-2.xx.fbcdn.net/v/t39.84726-6/792882464_1057403073730211_3607841167237855931_n.jpg?stp=c0.186.526.526a_dst-jpg_p526x395_tt6&_nc_cat=111&ccb=1-7&_nc_sid=92e707&_nc_ohc=tSqfgqngMsoQ7kNvwEm22kb&_nc_oc=AdrcuCHI8RatJnWdM9zL67I0FZ-HL5a9ZGagekjw1e-S8zYGYvwolCHbXrbd5dZzxIw&_nc_zt=14&_nc_ht=scontent-iad3-2.xx&_nc_gid=CneCGZLyzIQtm1wSM4YHEw&_nc_ss=7b289&oh=00_AQL-VulqPHZDgGZEaGoptbaCNR1Q8cpnrdbG_-RDdyPZVQ&oe=6A9E3749",
  "price": "1234.00",
  "price_formatted": "1 234 $US",
  "city": "Clarks Summit",
  "state": "PA",
  "city_page": "Clarks Summit, Pennsylvania",
  "city_page_id": "108225782538164",
}
```

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `category` (type: `string`):

No description

## `queries` (type: `array`):

Text to filter search results

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

Price Filter

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

Price Filter

## `min_date` (type: `string`):

Provide date to limit results from their publication date. ex if 2026-09-02 provided we will extract all newest dates until reaching 2026-09-02 (including)

## `today_date` (type: `boolean`):

Overide min\_date input param

## `radius_km` (type: `string`):

radius location

## `location_latitude` (type: `string`):

Default is set to NYC

## `location_longitude` (type: `string`):

Default is set to NYC

## `local_pickup` (type: `boolean`):

No description

## `delivery` (type: `boolean`):

No description

## `is_available` (type: `boolean`):

false is Sold / true is available

## `conditions` (type: `array`):

Multi select

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

0 or empty = no limit

## Actor input object example

```json
{
  "category": "546583916084032",
  "queries": [
    "Blue"
  ],
  "min_price": 0,
  "max_price": 0,
  "min_date": "",
  "today_date": false,
  "radius_km": "25",
  "location_latitude": "40.7142",
  "location_longitude": "-74.0064",
  "local_pickup": true,
  "delivery": true,
  "is_available": true,
  "conditions": [],
  "max_results": 20
}
```

# Actor output Schema

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

No description

# 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 = {
    "queries": [
        "Blue"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/facebook-marketplace-scraper").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 = { "queries": ["Blue"] }

# Run the Actor and wait for it to finish
run = client.actor("saswave/facebook-marketplace-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "queries": [
    "Blue"
  ]
}' |
apify call saswave/facebook-marketplace-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/facebook-marketplace-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6r4ja9rr7EeAAanFO/builds/7piNxSudUUVLd9RX6/openapi.json
