# Facebook Marketplace Scraper & Monitor (`hydedata/facebook-marketplace-scraper`) Actor

Scrape Facebook Marketplace by keyword and city, or from any search URL. No login or cookies. Monitor mode returns only new listings and price drops, and never bills for listings it has already delivered. Includes price cuts, vehicle mileage and photos.

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

## Pricing

from $0.30 / 1,000 listings

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Facebook Marketplace Scraper & Monitor

Scrape Facebook Marketplace listings by keyword and location, or from any Marketplace search URL. No
Facebook account, login or cookies needed.

Turn on **monitor mode** and schedule it: each run returns only the listings that are new or dropped in
price since the last run, and can post them straight to Discord or Slack. You're never billed for a
listing you've already received, or for listings your filters drop.

### What you get

For every listing:

| Field | Example |
| --- | --- |
| Title | 2008 Honda Civic Sport Sedan 4D |
| Price, and the crossed-out previous price when the seller cut it | 3200, was 3500 |
| Details Facebook shows under the title, like vehicle mileage | 170K miles |
| When it was listed | 2026-09-27T00:45:36Z |
| City and state | Houston, TX |
| Main photo | image link |
| Sold / pending status | false / false |
| Delivery options | in person, public meetup, shipping |
| Link to the listing | facebook.com/marketplace/item/... |

Each row also names the keyword and location it was found with. In monitor mode it says what changed
(`new` or `price-drop`), the last price seen, and when the listing was first seen.

Turn on **Add listing details** to also get the description, condition, currency, every photo, and for
vehicles: year, make, model, trim, exact mileage, transmission, fuel, colors, title status and private
or dealer seller. VIN and number of owners come through only when the seller filled them in, which private
sellers rarely do.

Seller names, profiles and contact details aren't collected.

### How to use it

#### Search by keyword and location

Add one or more keywords and a location. The location can be a city ("Orlando, FL"), a neighborhood or a
ZIP code ("78704"). Add more locations to run the same keywords in several cities.

```json
{
  "searchQueries": ["road bike", "kayak"],
  "location": "Orlando, FL",
  "extraLocations": ["Tampa, FL", "32801"],
  "maxItemsPerSearch": 100
}
```

Facebook searches roughly 40 miles around the location and sometimes mixes in listings from farther out.

#### Cut the noise

Facebook's search is loose. A "honda civic" search also returns other cars and parts. Two filters drop
that before you're charged:

- **Only keep listings whose title matches the keywords**: every keyword word has to be in the title.
- **Exclude listings with these words**: e.g. "parts", "wanted", "for parts".
- **Vehicles only**: keeps Facebook's Vehicles category (cars, trucks, motorcycles, boats, RVs) and drops
  the tires, hardtops and bumpers that mention the model.

```json
{
  "searchQueries": ["honda civic", "ford f-150"],
  "location": "Houston, TX",
  "strictKeywordMatch": true,
  "excludeKeywords": ["parts", "bumper", "wanted"]
}
```

Facebook's own filters are there too: **Listed within** (24 hours, 7 days, 30 days), **Condition** and
**Delivery method** (local pickup or shipping).

#### Get listing details and vehicle specs

Turn on **Add listing details**. Each delivered listing then also carries:

```json
{
  "description": "Clean title, new tires, cold AC.",
  "condition": "USED",
  "currency": "USD",
  "shippingOffered": false,
  "photos": ["https://scontent.xx.fbcdn.net/...", "..."],
  "vehicle": {
    "year": 2013, "make": "Honda", "model": "Civic", "trim": "EX Sedan 4D",
    "mileage": 76000, "mileageUnit": "MILES", "transmission": "AUTOMATIC", "fuelType": "GASOLINE",
    "exteriorColor": "grey", "interiorColor": "black", "titleStatus": "CLEAN",
    "owners": null, "vin": null, "sellerType": "PRIVATE_SELLER", "features": []
  }
}
```

`vehicle` is null for anything that isn't a vehicle, and any spec the seller left out is null. The Output
tab has a **Vehicles** view with the specs as columns. In monitor mode only new listings and price drops
get details, so a scheduled monitor stays cheap.

#### Paste search URLs

For anything else Facebook offers (categories, vehicle filters), run the search on facebook.com/marketplace
in your browser and paste the URL into **Marketplace search URLs**. You can mix URLs and keywords in one
run. Filters already in a pasted URL win over the input's filters.

#### Monitor new listings and price drops

1. Set up your searches and turn on **Monitor mode**.
2. Run it once. The first run returns everything as a baseline.
3. Add a schedule (every hour, every morning, whatever fits). Each later run returns only new listings
   and price drops.

Results come newest first. Use a different **Monitor state store name** for each independent monitor.

#### Get alerts in Discord or Slack

Paste a Discord or Slack incoming webhook URL into **Send new listings to a webhook**. Each run posts what
it found, with photo, price, mileage and link, and price drops marked. Nothing is sent when a run finds
nothing new. Any other URL receives the listings as JSON.

For email, Google Sheets, Zapier or Make, use Apify's integrations on the Actor or your task.

### Pricing

You pay per event. Platform usage is included.

| Event | Price |
| --- | --- |
| Listing delivered | $0.0003 ($0.30 per 1,000) |
| Search checked (once per keyword or URL on each run) | $0.003 |
| Listing details (optional) | $0.002 per listing with details |
| Run start | $0.00005 |

Examples:

- **Pull 1,000 listings once:** $0.30 for the listings plus $0.003 for the search. Extra pages the Actor
  fetches to get past 24 listings aren't charged.
- **Watch one search every hour for a month:** 720 checks x $0.003 = $2.16, plus $0.0003 per new listing.
  A busy search with 30 new listings a day adds about $0.27.
- **Check a search once a day:** 30 checks = $0.09 a month, plus new listings.
- **1,000 car listings with specs:** $0.30 for the listings, $2 for details, $0.003 for the search.

Listings you've already received are never billed in monitor mode, listings your filters drop are never
billed, and a search that fails, gets blocked or comes back empty is never billed. Details are only billed when they
were actually fetched. Set a maximum charge per run in the run options and the Actor stops cleanly when
it's reached.

### Input options

| Option | What it does |
| --- | --- |
| Search keywords | What to search for. Each keyword is its own search. |
| Location | City, neighborhood or ZIP code for keyword searches. |
| More locations | Run the same keywords in more cities or ZIP codes. |
| Marketplace search URLs | Searches to run as-is, with any filters. |
| Only keep listings whose title matches the keywords | Drops loosely related listings before they're charged. Off by default. |
| Exclude listings with these words | Drops listings whose title contains any of these words or phrases. |
| Vehicles only | Keeps only Facebook's Vehicles category (cars, trucks, motorcycles, boats, RVs). |
| Listed within | Last 24 hours, 7 days or 30 days. |
| Condition | New, used like new, used good, used fair. Leave empty for vehicles. |
| Delivery method | Local pickup or shipping. |
| Max listings per search | Upper limit per keyword or URL (default 50). |
| Sort newest first | On by default. Recommended for monitoring. |
| Split into price ranges automatically | Facebook shows 24 listings per search page. When you ask for more, the Actor splits the search into price ranges to reach your limit. The extra pages are free. On by default. |
| Manual price ranges | Your own price ranges instead of automatic ones. Each range counts as a search. |
| Add listing details | Description, condition, currency, every photo, vehicle specs. Charged per listing. |
| Monitor mode | Return only new listings and price drops. |
| Send new listings to a webhook | Discord or Slack webhook URL for alerts, or any URL for JSON. Stored encrypted. |
| Monitor state store name | Keeps each monitor's memory separate. |
| Forget listings after (days) | How long a listing is remembered (default 30). |
| Proxy configuration | Residential proxies, US by default. Datacenter proxies don't work with Facebook. |

### Output example

```json
{
  "id": "1973972330225108",
  "url": "https://www.facebook.com/marketplace/item/1973972330225108/",
  "title": "2004 Harley-Davidson Road King",
  "price": 9500,
  "priceFormatted": "$9,500",
  "strikethroughPrice": 9900,
  "subtitles": ["41K miles"],
  "listedAt": "2026-09-27T00:45:36.000Z",
  "city": "Newark",
  "state": "NJ",
  "photoUrl": "https://scontent.xx.fbcdn.net/...",
  "isSold": false,
  "isPending": false,
  "deliveryTypes": ["IN_PERSON"],
  "searchKeyword": "road bike",
  "searchLocation": "New York, New York",
  "searchUrl": "https://www.facebook.com/marketplace/108424279189115/search?query=road%20bike",
  "scrapedAt": "2026-09-27T01:34:42.709Z",
  "changeType": "price-drop",
  "previousPrice": 9900,
  "firstSeenAt": "2026-09-20T12:26:00.000Z"
}
```

Download results as JSON, CSV, Excel or HTML, or read them through the Apify API.

### Tips

- **Schedule often enough.** Each search page holds the 24 newest listings. If a search gets more than 24
  new listings between runs, run more often or let automatic price ranges catch the rest.
- **Photo links expire.** Facebook's image links stop working after a few days. Save the images if you
  need them longer.
- **Location not found?** Try "City, ST" or a ZIP code, or paste a search URL from your browser.

### FAQ

**Do I need a Facebook account?**
No. The Actor only reads what anyone can see on Marketplace without logging in.

**Why 24 listings per search page?**
That's what Facebook shows logged-out visitors per search. Automatic price ranges get you past it by
running more narrowly priced searches.

**Can I set a search radius?**
Not yet. Facebook ignores the radius for logged-out searches, so the Actor uses its default area of
about 40 miles.

**Is it legal to scrape Facebook Marketplace?**
The Actor collects only publicly visible listing data and no personal profiles. How you use the data is
up to you; check the rules that apply where you are.

**Something broke?**
Open an issue on the Actor's Issues tab. The Actor is tested against live Facebook every day.

# Changelog

This Actor's version history is a separate document: https://apify.com/hydedata/facebook-marketplace-scraper/changelog.md

# Actor input Schema

## `searchQueries` (type: `array`):

What to search for. Each keyword is a separate search in the location below.

## `location` (type: `string`):

City, neighborhood or ZIP code, e.g. "Orlando, FL" or "78704". Facebook searches roughly 40 miles around it. Required with search keywords.

## `extraLocations` (type: `array`):

Run the same keywords in more cities or ZIP codes. Each keyword and location pair is its own search.

## `searchUrls` (type: `array`):

Optional. Run a search on facebook.com/marketplace in your browser with any filters (category, condition, etc.) and paste the URL. Can be used with or instead of keywords.

## `strictKeywordMatch` (type: `boolean`):

Facebook mixes loosely related listings into searches (a "honda civic" search also returns other cars and parts). When on, a listing is kept only if its title contains every keyword word ("bike" also matches "bikes"). Dropped listings aren't charged. May drop relevant listings with unusual titles.

## `excludeKeywords` (type: `array`):

Drop listings whose title contains any of these words or phrases, e.g. "parts", "wanted", "for parts". Dropped listings aren't charged.

## `vehiclesOnly` (type: `boolean`):

Keep only listings in Facebook's Vehicles category: cars, trucks, motorcycles, boats and RVs. Drops the parts and accessories that mention the model (tires, hardtops, bumpers). Dropped listings aren't charged. A vehicle the seller filed in another category is dropped too.

## `daysSinceListed` (type: `string`):

Only listings posted in this window.

## `itemCondition` (type: `array`):

Only listings in these conditions. Leave empty for any condition. Vehicles usually have no condition set, so leave this empty for car searches.

## `deliveryMethod` (type: `string`):

Only listings offering local pickup, or only listings that ship.

## `maxItemsPerSearch` (type: `integer`):

Upper limit of listings delivered per keyword or search URL. Facebook shows 24 listings per search page; above that, the Actor splits the search into price ranges to reach this number.

## `sortNewestFirst` (type: `boolean`):

Adds the newest-first sort to each search. Recommended for monitoring.

## `autoPriceBands` (type: `boolean`):

When a search has more listings than one page (24), split it into narrower price ranges until Max listings per search is reached. The extra pages aren't charged; you pay for the listings they find. In monitor mode, a search only splits while every listing on the page is new.

## `priceBands` (type: `array`):

Set your own price ranges instead of automatic ones, e.g. \[{"min":0,"max":200},{"min":201,"max":1000}]. Each range is one search page.

## `includeDetails` (type: `boolean`):

For each delivered listing, also get its description, condition, currency, every photo, and for vehicles: year, make, model, trim, mileage, transmission, fuel, colors, title status, private or dealer seller, and VIN and owners when the seller filled them in. Charged per listing that gets details. In monitor mode only new listings and price drops are fetched. Seller names and contact details are never collected.

## `monitorMode` (type: `boolean`):

Remembers what previous runs returned and only outputs new listings or price drops. Use with a Schedule. The first run returns everything as the baseline.

## `notifyWebhookUrl` (type: `string`):

Paste a Discord or Slack incoming webhook URL to get each run's listings as a message, with photo, price and link. Any other URL gets the listings as JSON. Only sent when the run delivers something, so quiet monitor runs stay silent.

## `stateStoreName` (type: `string`):

Named key-value store that keeps monitor memory between runs. Use different names to run independent monitors.

## `stateRetentionDays` (type: `integer`):

Listings not seen for this many days are dropped from monitor memory.

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

Use residential proxies. Facebook redirects datacenter IPs to its login page.

## Actor input object example

```json
{
  "searchQueries": [
    "road bike"
  ],
  "location": "Orlando, FL",
  "strictKeywordMatch": false,
  "vehiclesOnly": false,
  "maxItemsPerSearch": 50,
  "sortNewestFirst": true,
  "autoPriceBands": true,
  "priceBands": [],
  "includeDetails": false,
  "monitorMode": false,
  "stateStoreName": "fb-marketplace-monitor-state",
  "stateRetentionDays": 30,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset items, one per delivered listing. Field meanings are in the dataset schema.

# 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 = {
    "searchQueries": [
        "road bike"
    ],
    "location": "Orlando, FL",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydedata/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 = {
    "searchQueries": ["road bike"],
    "location": "Orlando, FL",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hydedata/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 '{
  "searchQueries": [
    "road bike"
  ],
  "location": "Orlando, FL",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call hydedata/facebook-marketplace-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydedata/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/38JFJQZJscM9BmoZE/builds/I0uW1MiLKisfMfmmV/openapi.json
