# Facebook Marketplace Scraper - Listings & Prices, No Login (`headply/facebook-marketplace-scraper`) Actor

Scrape Facebook Marketplace listings by keyword, category (vehicles, electronics, furniture, rentals) and city: title, price, original price, location, photo and time. Filter price range, condition, recently listed. Goes past the 24-result page limit. New-listing alerts. No login. JSON, CSV export.

- **URL**: https://apify.com/headply/facebook-marketplace-scraper.md
- **Developed by:** [Mayowa Ogedengbe](https://apify.com/headply) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 4 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 marketplace 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

## Facebook Marketplace Scraper - Listings & Prices, No Login

Export **Facebook Marketplace listings** by keyword, category and city: title, price, original price, location, sold
flag, photo and listing time. It goes **past the 24-listing page limit**, and on a schedule it alerts you to
**new listings only**, for resellers, deal hunters and price research.

### Why people use it

- ✅ **No Facebook account, no login, no cookies.**
- 📈 **Past the 24-result limit.** Logged-out Marketplace shows one page of 24. This Actor combines sort orders and
  automatically narrowing price ranges to collect hundreds of distinct listings per search.
- 🔔 **New-listing alerts.** On a schedule it returns only listings posted since the last run.
- 🏷️ **Price and discount**: current price plus the crossed-out original price when there is one.
- 💸 **From $1.00 per 1,000 listings.**

### Quick start

1. Add search words to **Keywords**, for example `bicycle`, `iphone 15` or `dining table`.
2. Set **Marketplace location** to the city as it appears in Marketplace links: `facebook.com/marketplace/`**`nyc`**`/…`
   (open Marketplace in a browser, choose a city and copy that part).
3. Optional: price range, condition, *Listed within*, or a **category** (vehicles, electronics…) instead of keywords.
4. Press **Start**.

You can also paste Marketplace links from your browser into **Marketplace links**; their filters are kept.

### What you get for each listing

| Field | Example |
|---|---|
| `title` | "TREK Hybrid bicycle with leather bike bag & pump" |
| `price`, `priceText` | `350`, `$350` |
| `strikethroughPriceText` | `$375` (original price, if discounted) |
| `location` | `Astoria, NY` |
| `isSold` | `false` |
| `createdAt` | `2026-09-26T19:30:18.000Z` |
| `thumbnailUrl` | listing photo |
| `url` | `https://web.facebook.com/marketplace/item/1066138159345646` |
| `source` | `{ "kind": "marketplace", "target": "bicycle @ nyc" }` |

Browse the **Marketplace listings** table (with photos) or download JSON, CSV or Excel.

### Pricing

Prices drop on higher Apify plans.

| What | Price per 1,000 (Free plan → Gold and above) |
|---|---|
| Listing | **$1.50** → $1.00 |
| New listing since your last run (alerts) | $1.00 → $0.70 |
| Each page, group or search checked on a repeat monitoring run | $0.002 per check |
| Each run | $0.001 |

1,000 listings ≈ **$1.50**. One search checked every hour with ~30 new listings a day ≈ **$0.90 a month for new
listings plus $1.44 for checks and $0.72 for runs**.

### Set up a new-listing alert

1. Add your keywords, location and price range, then switch on **Only new since last run**.
2. Click **Schedule** and pick a frequency (every 30–60 minutes works well for deals).
3. Send each new listing to Telegram, Discord, Slack or email with n8n, Make or Zapier (Apify node → *Run an Actor
   and get dataset*). The *API* tab has code examples.

### Good to know

- **How many listings?** For broad searches it typically collects a few hundred distinct listings per city, more with
  a wider price range. Very large categories can hold more than any logged-out view reveals.
- Prices are in the location's own currency, as Facebook shows them.
- **Seller names, descriptions and messages** are not part of the search results and are not collected.
- Alerts treat a listing as new by its listing time, so older listings that Facebook rotates into the results are not
  sent as new.

### More Facebook tools

- [Facebook Posts Scraper](https://apify.com/headply/facebook-posts-scraper): posts from public pages.
- [Facebook Groups Scraper](https://apify.com/headply/facebook-groups-scraper): buy/sell and community groups.
- [Facebook Reels Scraper](https://apify.com/headply/facebook-reels-scraper): reels of any page.
- [Facebook Video Search Scraper](https://apify.com/headply/facebook-video-search-scraper): videos and reels by keyword.

Something not working as expected? Open the **Issues** tab and we'll take a look.

# Actor input Schema

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

One search per line. In "Marketplace listings" mode each keyword is a Marketplace search in the location below; otherwise each is a video & reel search across Facebook.

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

City as it appears in Marketplace links: facebook.com/marketplace/<this>/… (e.g. nyc, la, chicago, london, sydney, or a numeric location id). Open Marketplace in a browser, pick the city, and copy that part of the link.

## `maxItemsPerTarget` (type: `integer`):

Upper bound for each page, group, Marketplace search or keyword. Results are fetched newest first until this is reached or nothing more is available.

## `minPrice` (type: `integer`):

Marketplace only. Lowest price, in the location's currency.

## `maxPrice` (type: `integer`):

Marketplace only. Highest price, in the location's currency.

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

Marketplace only. Keep listings posted within this window.

## `itemCondition` (type: `string`):

Marketplace only.

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

Optional. Browse a whole category instead of searching, e.g. vehicles, electronics, furniture, propertyrentals. Used only when no keywords are given.

## `onlyNewSinceLastRun` (type: `boolean`):

For schedules. Returns and bills only items not delivered by an earlier run with the same monitor name. The first run delivers the latest items at the standard price; later runs return only new items, at the lower new-item price. For Marketplace, "new" means listed after the previous run. Repeat runs also bill a small fee per page, group or search checked, because the check costs the same whether or not anything is new.

## `monitorName` (type: `string`):

Label for this schedule's memory. Runs with the same name share memory; use one name per schedule or client. Change it to start fresh.

## `startUrls` (type: `array`):

Any mix of Facebook links, one per line: pages (https://www.facebook.com/nasa), public groups (https://www.facebook.com/groups/ReactJSDevelopers), Marketplace searches (https://www.facebook.com/marketplace/nyc/search?query=bike\&maxPrice=300) and video searches (https://www.facebook.com/search/videos/?q=spacex). Each link is detected and scraped the right way. Marketplace links keep their own filters (price, condition, days).

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

Decides how keywords are used and what an empty run returns. "Page reels" keeps only reels from the pages. "Marketplace listings" turns keywords into Marketplace searches in the chosen location; every other mode turns keywords into video & reel searches. Links in "Facebook URLs" are always recognized automatically.

## `pages` (type: `array`):

Page or public profile names or links: nasa, @nasa, https://www.facebook.com/nasa or profile.php?id=… links. Returns the newest posts first.

## `groups` (type: `array`):

Public group names, ids or links (ReactJSDevelopers or https://www.facebook.com/groups/ReactJSDevelopers). Private groups cannot be read without login and return nothing.

## `contentType` (type: `string`):

Filter page and group posts by type. Filtered-out posts are never charged. ("Page reels" mode always keeps reels only.)

## `enrichReels` (type: `boolean`):

Open each reel to add its duration, a direct video file URL and the comment count when the feed lacks them. One extra request per reel; no extra charge.

## `maxConcurrency` (type: `integer`):

Pages, groups and searches processed in parallel.

## `maxRequestRetries` (type: `integer`):

A target that fails is retried on a fresh connection up to this many times; items already delivered are never repeated or re-charged.

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

Leave as is. Facebook only serves public pages, groups and Marketplace in full to residential addresses, so that is the default.

## Actor input object example

```json
{
  "searchQueries": [
    "bicycle"
  ],
  "location": "nyc",
  "maxItemsPerTarget": 50,
  "daysSinceListed": "any",
  "itemCondition": "any",
  "onlyNewSinceLastRun": false,
  "monitorName": "default",
  "mode": "marketplace",
  "contentType": "all",
  "enrichReels": false,
  "maxConcurrency": 5,
  "maxRequestRetries": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset with every post, reel, video and listing from this run.

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

Counts per page, group or search, skipped inputs, items skipped as already delivered, request success ratio and bandwidth.

# 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": [
        "bicycle"
    ],
    "maxItemsPerTarget": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("headply/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": ["bicycle"],
    "maxItemsPerTarget": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("headply/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": [
    "bicycle"
  ],
  "maxItemsPerTarget": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call headply/facebook-marketplace-scraper --silent --output-dataset

```

## MCP server setup

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