# Facebook Marketplace Scraper — Vehicles, Rentals & Alerts (`valev-lab/facebook-marketplace-scraper`) Actor

Scrape Facebook Marketplace listings by keyword, city, coordinates, category, URL or ID. Get prices, descriptions, all photos, vehicle and rental fields, and monitor new listings and price drops. No login or cookies; full details included.

- **URL**: https://apify.com/valev-lab/facebook-marketplace-scraper.md
- **Developed by:** [Daniel Valev](https://apify.com/valev-lab) (community)
- **Categories:** E-commerce, Social media, Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listing scrapeds

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?

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

Search **public [Facebook Marketplace](https://www.facebook.com/marketplace/) listings** by keyword, city, coordinates, category, listing URL or ID. Extract prices, descriptions, all public photos, vehicle and rental attributes, then monitor **new listings and price drops**. No Facebook account, login cookies, browser, Meta app or paid data API.

Pay **$1.50 per 1,000 delivered listings on Apify Free**, tiered down to **$1.00 on Gold and higher**. Full listing details are included in that price. Errors, removed listings, duplicates and unchanged monitor results are free.

| At a glance | Included |
| --- | --- |
| Search | Keywords × locations, city slugs, latitude/longitude, radius, categories, listing URLs and IDs |
| Filters | Price, condition, listed age, sort order, pickup/shipping, vehicle and rental filters |
| Details | Description, all public photos, status, delivery, location and structured attributes |
| Monitoring | Only new listings and price drops, with previous price and percentage change |
| Delivery | Dataset, JSON/CSV/Excel, Apify API, schedules and JSON webhooks |
| Privacy | No Facebook login, user cookies, seller contacts or private data |

### What does Facebook Marketplace Scraper do?

This Actor is a **Facebook Marketplace scraper API** for public logged-out data. It combines Marketplace search, category feeds and `/marketplace/item/{id}` pages into one stable listing record. Use it as a no-code tool in Apify Console or call it programmatically from JavaScript, Python, Make, Zapier or any HTTP client.

The Actor reuses fresh anonymous Facebook sessions, discovers the current public Relay query IDs, follows cursor pagination, retries transient failures and moves from direct HTTP to a country-matched Residential proxy when needed. One failed query returns a free error row and does not stop other queries.

### Who uses this Facebook Marketplace scraper?

| Use case | Example |
| --- | --- |
| **Resellers and flippers** | Alert on underpriced phones, consoles, furniture or collectibles within pickup distance |
| **Car dealers** | Export vehicles by make, model, year, mileage, transmission and fuel |
| **Price monitoring** | Keep the last delivered price and emit only price drops with `previousPrice` and `priceDropPct` |
| **Rental research** | Compare asking rents, bedrooms, bathrooms and floor area across cities |
| **Real-time deal alerts** | Run every 5–15 minutes and POST new listings or price drops to Make, Zapier, Slack or Discord |
| **Developers and data teams** | Use the Apify API as a structured Facebook Marketplace API alternative |

For multi-market research, pair the results with our [eBay Search Scraper](https://apify.com/valev-lab/ebay-search-scraper). For public Facebook content, see [Facebook Page Posts](https://apify.com/valev-lab/facebook-page-posts-scraper), [Facebook Comments](https://apify.com/valev-lab/facebook-comments-scraper), [Facebook Events](https://apify.com/valev-lab/facebook-events-scraper), [Facebook Reviews](https://apify.com/valev-lab/facebook-reviews-scraper), and [Facebook Ads Library](https://apify.com/valev-lab/facebook-ads-library).

### Why choose this Facebook Marketplace scraper?

- **No login or cookies** — it never accepts Facebook credentials.
- **Search and categories** — keywords, city slugs, coordinates, radius, prices, condition, age, sort and delivery.
- **Vehicles and rentals** — structured vehicle and rental objects instead of title-only guesses.
- **Full details included** — description, all public photos, coordinates and attributes do not add a second price event.
- **Incremental monitoring** — a named KeyValueStore tracks first-seen IDs and last prices.
- **Run-wide deduplication** — one `listingId` is returned and charged once even when several searches find it.
- **Free failures** — removed/restricted listings and bad queries are output without a charging event.
- **Apify platform** — schedules, API, datasets, webhooks and integrations.

### What Facebook Marketplace data can you extract?

| Field | Description |
| --- | --- |
| `listingId`, `url`, `title` | Canonical listing identity and title |
| `price`, `currency`, `originalPrice`, `priceText`, `isFree` | Current and crossed-out pricing |
| `condition`, `category`, `description` | Public detail-page content |
| `location`, `distanceKm` | City/state/country, coordinates and distance from coordinate search |
| `photos`, `primaryPhoto` | All public detail photos and primary photo |
| `listedAt`, `isSold`, `isPending` | Public time and availability state |
| `deliveryTypes`, `shippingPrice` | Pickup/shipping options when Facebook exposes them |
| `seller` | Public name/profile/join year/rating only when Facebook returns it anonymously; no contact data |
| `vehicle`, `rental` | Structured vertical attributes where supplied |
| `isNew`, `previousPrice`, `priceDropPct` | Monitoring result and prior delivered price |

### How to scrape Facebook Marketplace

1. Choose **Keyword search**, **Category**, or **Listing URLs or IDs**.
2. Add queries and locations. Use Marketplace city slugs such as `sofia`, `berlin`, `lisbon`, or `nyc`, or `{ "lat": 42.6977, "lng": 23.3219, "name": "Sofia center" }`.
3. Set radius, price, condition, listed age, sort and delivery filters.
4. Keep **Include listing details** on for descriptions, photos, precise coordinates and vertical attributes.
5. Set the maximum listings per query and click **Start**.
6. Download JSON, CSV, Excel or HTML, or read the dataset through the Apify API.

#### Search input example

```json
{
  "mode": "search",
  "queries": ["iphone", "ps5"],
  "locations": ["sofia", "New York"],
  "radiusKm": 40,
  "condition": "good",
  "sortBy": "newest",
  "maxListingsPerQuery": 100,
  "includeDetails": true,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

#### Vehicle category example

```json
{
  "mode": "category",
  "category": "vehicles",
  "locations": ["berlin"],
  "vehicle": { "make": "BMW", "minYear": 2015, "maxMileage": 100000 },
  "maxListingsPerQuery": 100,
  "includeDetails": true
}
```

#### Rental category example

```json
{
  "mode": "category",
  "category": "propertyrentals",
  "locations": ["lisbon"],
  "rental": { "bedrooms": 2 },
  "maxListingsPerQuery": 100
}
```

See the **Input** tab for every option.

### How to get Facebook Marketplace new-listing and price-drop alerts

1. Create a task with a fixed `monitorStoreName` and `monitorMode: true`.
2. Run it once to establish the baseline. First-seen listings are returned on that first run.
3. Add an Apify schedule every 5–15 minutes. Do not overlap runs that write the same store.
4. Optionally set `webhookUrl` to an HTTPS Make or Zapier custom-webhook URL. The Actor sends one JSON batch with `event`, `count`, and `items` after the dataset is saved.
5. In Make/Zapier, route `isNew: true` and `priceDropPct != null` to Slack, Discord, email or a database.

Direct Slack and Discord incoming webhooks expect their own message envelope. Use Make/Zapier as the adapter, or accept the Actor's JSON batch in your own endpoint.

### Facebook Marketplace scraper output

The default dataset contains one row per unique delivered listing plus free error rows. The Output tab provides **Listings**, **New & price drops**, and **Vehicles** views. In monitor mode every listing row in the alert view is new or has a lower price; dataset views cannot filter ordinary non-monitor runs automatically.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
{
  "listingId": "1911323763185993",
  "url": "https://www.facebook.com/marketplace/item/1911323763185993/",
  "title": "2018 BMW 320d",
  "price": 12500,
  "currency": "EUR",
  "condition": "Used - good",
  "location": { "city": "Berlin", "country": "Germany", "lat": 52.52, "lng": 13.405 },
  "photos": ["https://scontent.xx.fbcdn.net/..."],
  "isSold": false,
  "vehicle": { "make": "BMW", "model": "320d", "year": 2018, "mileage": 95000, "transmission": "Automatic", "fuel": "Diesel" },
  "query": null,
  "locationSearched": "berlin",
  "isNew": true,
  "previousPrice": null,
  "priceDropPct": null,
  "scrapedAt": "2026-11-18T10:00:00.000Z"
}
```

`SUMMARY` in the default KeyValueStore reports per-source stop reasons, listing success rate, requests and response bytes by route, proxy bytes and local price estimates.

### How much does it cost to scrape Facebook Marketplace?

This Actor uses pay-per-event pricing. You pay for unique listings delivered to the dataset; listing details are included.

| Event | Free | Bronze | Silver | Gold+ | Charged when |
| --- | ---: | ---: | ---: | ---: | --- |
| `listing-scraped` per 1,000 | **$1.50** | $1.35 | $1.20 | **$1.00** | A unique listing is delivered; details included |
| `apify-actor-start` | $0.0005 | $0.0005 | $0.0005 | $0.0005 | Once per run |

Never charged: error rows, removed listings, duplicates across queries, or unchanged monitor listings. A run's **maximum total charge** is checked before another charged listing is delivered.

#### Price and feature comparison

Public pay-per-event configurations checked on 2026-11-18. Prices can change; verify each Actor's **Pricing** tab before a large run.

| Actor, Apify Free plan | Basic listing / 1K | Full details / 1K | Monitoring charges | Start |
| --- | ---: | ---: | --- | ---: |
| **This Actor** | **$1.50** | **$1.50 total — included** | Only new listings and price drops delivered | **$0.0005** |
| [Apify Facebook Marketplace Scraper](https://apify.com/apify/facebook-marketplace-scraper) | $6.20 | $12.40 total | See current input/pricing | No separate start event shown |
| [curious_coder Facebook Marketplace](https://apify.com/curious_coder/facebook-marketplace) | $0.50 | $1.50 total | New-only mode; see current pricing | $0.00005 |
| [memo23 Marketplace PPE](https://apify.com/memo23/facebook-marketplace-scraper-ppe) | $1.50 | $2.50 total | $1.00/1K additional monitoring checks | $0.005 |

The cheapest basic row is not always the cheapest usable result. Compare the total for descriptions, all photos, vehicle/rental attributes, monitoring checks and Actor starts. This Actor keeps those listing details inside one delivered-listing event.

Price alone does not establish reliability. The 99% target must be measured across scheduled cloud runs before making a Store claim.

### Tips and limitations

- Leave proxy enabled. The Actor starts direct and pays for Residential transfer only after a block; a country code should match the searched country when possible.
- Start with 20 listings while checking a new city/category, then raise the cap.
- Facebook city names are URL slugs, not a public geocoding API. `New York` and `Los Angeles` have explicit aliases; for ambiguous places use the actual Marketplace slug or coordinates.
- Search feeds are ranked, not complete inventories. A returned maximum is a cap, not a completeness guarantee.
- Seller identity was `null` in the anonymous detail response reproduced during development. The output remains stable and maps it only if Facebook exposes it publicly.
- Photo URLs are signed and expire. Download needed media promptly.
- Anonymous Relay operation names, IDs and response shapes can change. The Actor refreshes them, but no undocumented scraper can guarantee future 99% availability.

### FAQ

#### Do I need a Facebook account or cookies?

No. The Actor never logs in, accepts user cookies or reads private Marketplace content.

#### Can it scrape seller phone numbers or messages?

No. It returns only a public seller name/profile link when Facebook exposes those fields anonymously. Contact scraping and seller messaging are out of scope.

#### How do I return only new listings?

Turn on `monitorMode`, keep the same `monitorStoreName`, and schedule the task. Unchanged listings are skipped and free. A lower current price returns `previousPrice` and `priceDropPct`.

#### Why is seller null?

Facebook currently omits seller identity in many logged-out detail responses. The Actor will not bypass that with cookies.

#### What happens to a removed listing?

It produces an error row with `errorCode: removed-or-unavailable`. Error rows have no charging event.

#### Can I search latitude/longitude and radius?

Yes. Supply a location object with `lat` and `lng`. The Actor discards the IP-based initial result page and requests the public Relay feed using those coordinates and your radius.

#### Does the webhook work with Slack and Discord directly?

The Actor sends a general JSON batch. Use Make, Zapier or a small endpoint to transform it to Slack's or Discord's message format.

#### Is there an official Facebook Marketplace API for listings?

Meta does not provide a public API for searching and exporting Marketplace listings. This Actor is an independent scraper API for public logged-out web data; it is not affiliated with or endorsed by Meta. Current logged-out-data limitations are documented in **Tips and limitations** above.

#### Can I use this Facebook Marketplace scraper through an API?

Yes. Open the **API** tab for ready-to-use JavaScript, Python and HTTP examples. Results are stored as structured dataset rows and can be downloaded as JSON, CSV, Excel or HTML.

#### How often should I check for new Facebook Marketplace listings?

For deal alerts, schedule the same monitor task every 5–15 minutes. Keep one stable `monitorStoreName` and avoid overlapping runs that write to the same store.

### Legal and ethical use

> This Actor collects only content visible publicly without logging in. Listing descriptions and public seller fields can contain personal data. Personal data is protected by the GDPR in the European Union and other laws worldwide. Do not scrape personal data without a legitimate reason. If unsure, consult your lawyers. Respect Facebook's terms, rate limits and applicable law.

### Support

Use the **Issues** tab for bugs and feature requests. Use the **API** tab for programmatic runs and the Apify scheduler/integrations for monitoring workflows.

# Actor input Schema

## `mode` (type: `string`):

Search by keyword and location, browse one category, or read exact listing URLs/IDs.

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

Each query is combined with each location.

## `locations` (type: `array`):

Marketplace city slugs/names (sofia, berlin, New York) or objects such as {"lat":42.6977,"lng":23.3219,"name":"Sofia center"}.

## `radiusKm` (type: `integer`):

Search radius around Facebook's city center or supplied coordinates.

## `minPrice` (type: `number`):

Minimum listing price in the searched Marketplace currency.

## `maxPrice` (type: `number`):

Maximum listing price in the searched Marketplace currency.

## `condition` (type: `string`):

Facebook Marketplace condition filter.

## `daysSinceListed` (type: `integer`):

Keep listings Facebook marks as posted within 1, 7 or 30 days.

## `sortBy` (type: `string`):

Facebook's server-side result order.

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

Require local pickup or shipping where Facebook supports the option.

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

Examples: vehicles, propertyrentals, electronics, apparel, classifiedsgroups.

## `vehicle` (type: `object`):

Optional make, model, minYear, maxYear and maxMileage. Make/model names resolve against Facebook's public taxonomy.

## `rental` (type: `object`):

Optional bedrooms, minPrice and maxPrice.

## `listingUrls` (type: `array`):

Exact /marketplace/item/ links or numeric listing IDs for listingUrls mode.

## `maxListingsPerQuery` (type: `integer`):

Maximum unique candidates read for each query/location or category/location pair.

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

Open each listing for description, all photos, coordinates and structured vehicle/rental fields. Included in the listing price.

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

Return only first-seen listings and lower prices; unchanged rows are free.

## `monitorStoreName` (type: `string`):

Use a stable named KeyValueStore for one schedule.

## `webhookUrl` (type: `string`):

HTTPS endpoint receiving one JSON batch of delivered new listings and price drops. Slack/Discord usually need a Make/Zapier adapter.

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

Direct anonymous HTTP first, then country-matched Apify Residential or custom proxy URLs after a block.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "iphone"
  ],
  "locations": [
    "sofia"
  ],
  "radiusKm": 65,
  "category": "vehicles",
  "vehicle": {},
  "rental": {},
  "maxListingsPerQuery": 100,
  "includeDetails": true,
  "monitorMode": false,
  "monitorStoreName": "facebook-marketplace-scraper-monitor",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `alerts` (type: `string`):

No description

## `vehicles` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `failedRequests` (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 = {
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("valev-lab/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 = { "proxyConfiguration": { "useApifyProxy": True } }

# Run the Actor and wait for it to finish
run = client.actor("valev-lab/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 '{
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call valev-lab/facebook-marketplace-scraper --silent --output-dataset

```

## MCP server setup

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