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

Scrape Facebook Marketplace listings by city, keyword, category or URL: price, location, photos, seller, listed date, plus optional description, condition, all photos and seller rating. No login.

- **URL**: https://apify.com/tortuga/facebook-marketplace-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

Scrape Facebook Marketplace listings by city, keyword, category or URL, without logging in. Get the title, price and currency, city and state, photo, delivery options, status (available, pending, sold), listed date and seller name for every listing. Turn on item details to also get the full description, all photos and videos, condition and other attributes, vehicle details (make, model, mileage, transmission, fuel), and the seller's public rating and joined date.

Download the results as JSON, CSV or Excel, or read them through the API into Google Sheets, a database, a price tracker or an LLM pipeline. You pay per listing saved.

### What data does Facebook Marketplace Scraper extract?

| Field | Description |
|---|---|
| `id`, `url` | Marketplace listing id and link (`facebook.com/marketplace/item/<id>/`) |
| `title` | Listing title (vehicles also get `customTitle` and `subtitles` such as "56K miles") |
| `price`, `currency`, `priceText` | Price as a number, ISO currency (USD, GBP, CAD, EUR...) and as shown ("$1,200", "FREE") |
| `originalPrice` | Struck-through earlier price, when the seller lowered it |
| `city`, `state`, `locationName`, `locationId` | Where the item is, as Marketplace shows it ("Brooklyn", "NY") |
| `photo`, `hasVideo` | Main photo URL; whether the listing has a video |
| `categoryId` | Marketplace category id of the listing |
| `deliveryTypes`, `shippingOffered` | Local pickup, public meetup, door pickup / drop-off, shipping |
| `status` | `available`, `pending`, `sold` or `unavailable` |
| `listedAt` | When the listing was created (UTC) |
| `sellerName`, `sellerId` | Seller's public display name and profile id, when the results show them (most searches do) |
| `search`, `searchUrl`, `position`, `scrapedAt` | Which search found the listing, its rank there, and when |
| **With item details** | |
| `description` | Full listing text as Facebook shows it |
| `condition`, `attributes` | "New", "Used - like new", ... and other attributes (brand, size, wheel size...) |
| `categoryName`, `categoryPath` | e.g. "Bicycles", \["Hobbies"] |
| `photos`, `videos` | Every photo and video URL of the listing |
| `locationText`, `latitude`, `longitude` | "Long Beach, NY" and the approximate map point (rounded to about 1 km) |
| `vehicleMake`, `vehicleModel`, `vehicleTrim`, `vehicleMileage`, `vehicleMileageUnit`, `vehicleTransmission`, `vehicleFuelType`, `vehicleExteriorColor`, `vehicleInteriorColor`, `vehicleTitleStatus`, `vehicleOwners`, `vehicleSellerType` | Vehicle listings |
| `sellerRating`, `sellerRatingCount`, `sellerRatingsPrivate` | The seller's Marketplace rating and number of ratings, when public (many sellers keep ratings private or have none yet) |
| `sellerJoinedAt`, `sellerReviews` | When the seller joined Facebook; the recent public reviews shown on the listing (rating, text, date) |
| `detailsFetched`, `detailError` | Whether the item page was read, and why not |

### How to scrape Facebook Marketplace

1. Enter one or more **Locations**: Marketplace city slugs such as `nyc`, `la`, `chicago`, `houston`, `miami`, `london`, `manchester`, `toronto`, or a numeric location id. To find yours, open facebook.com/marketplace, choose the city, and copy the part after `/marketplace/`.
2. Enter **Search terms** (e.g. `bike`, `iphone 15`), and/or pick a **Category** (vehicles, property rentals, electronics, free stuff...).
3. Optional filters: **Minimum / Maximum price** (in the local currency), **Item condition**, **Listed in the last** 1/7/30 days, **Sort by** (newest, price, distance) and **Delivery method** (local pickup or shipping).
4. Or paste Marketplace URLs into **Start URLs**: searches, category pages, city pages and single listings. Filters already in the URL are kept.
5. Set **Max listings** (it caps the cost) and click **Start**.

### Input example

```json
{
  "locations": ["nyc", "chicago"],
  "searchTerms": ["mountain bike"],
  "minPrice": 100,
  "maxPrice": 800,
  "condition": ["used_like_new", "used_good"],
  "sortBy": "newest",
  "maxItems": 200,
  "includeDetails": false,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US" }
}
```

With URLs instead:

```json
{
  "startUrls": [
    { "url": "https://www.facebook.com/marketplace/london/search?query=sofa&maxPrice=300" },
    { "url": "https://www.facebook.com/marketplace/la/vehicles?minPrice=5000&maxPrice=20000" },
    { "url": "https://www.facebook.com/marketplace/item/1490595876371226/" }
  ],
  "maxItems": 100
}
```

### Output example

```json
{
  "id": "1490595876371226",
  "url": "https://www.facebook.com/marketplace/item/1490595876371226/",
  "title": "Shogun Trailblaster 2400 Mountain Bike",
  "price": 20,
  "currency": "USD",
  "priceText": "$20",
  "originalPrice": null,
  "city": "Brooklyn",
  "state": "NY",
  "locationName": "New York, New York",
  "locationId": "108424279189115",
  "photo": "https://scontent-atl3-1.xx.fbcdn.net/v/t39.84726-6/784352942_..._n.jpg",
  "hasVideo": false,
  "categoryId": "1658310421102081",
  "deliveryTypes": ["IN_PERSON"],
  "shippingOffered": false,
  "status": "available",
  "listedAt": "2026-08-24T01:55:12Z",
  "sellerName": "Aileen Aquino",
  "sellerId": "pfbid02s3gnzFRiLdcAmAe5...",
  "search": "bike in nyc",
  "position": 1,
  "scrapedAt": "2026-11-05T16:13:46Z",
  "detailsFetched": true,
  "description": "Purple Shogun Trailblaster 2400 mountain bike has a steel frame...",
  "condition": "Used - Fair",
  "attributes": { "Condition": "Used - Fair" },
  "categoryName": "Bicycles",
  "categoryPath": ["Hobbies"],
  "photos": ["https://scontent...jpg", "https://scontent...jpg"],
  "locationText": "Brooklyn, NY",
  "latitude": 40.7,
  "longitude": -73.94,
  "sellerRating": null,
  "sellerRatingsPrivate": true,
  "sellerJoinedAt": "2016-02-18"
}
```

### How many listings can I get per search?

As many as Marketplace keeps loading. The first page of a search shows 12-24 listings; the Actor then asks for the next ~24 the same way the page does when you scroll (no login), up to **Max pages per search** (default 10, maximum 100, so up to ~2,400 listings per search). In tests a single "sofa in Los Angeles" search returned 700 listings in 26 requests and 37 seconds with no repeats. Combine several locations and search terms for more.

### Which Facebook Marketplace URLs work?

- Searches: `facebook.com/marketplace/<city>/search?query=...` with Facebook's own filters (`minPrice`, `maxPrice`, `itemCondition`, `daysSinceListed`, `sortBy`, `deliveryMethod`, `category_id`).
- Category pages: `facebook.com/marketplace/<city>/<category>` (vehicles, propertyrentals, electronics, free...), with filters.
- City pages: `facebook.com/marketplace/<city>` (the city's Marketplace feed).
- Listings: `facebook.com/marketplace/item/<id>`; these always include the item details.
- URLs without a city (`/marketplace/category/vehicles`) let Facebook pick the area from the proxy's IP, so add the city. An unknown city slug is reported as an error instead of quietly searching somewhere else. Seller profiles, groups, "Your listings" and other pages that need a login are not supported.

### Monitor new Marketplace listings on a schedule

Turn on **Only new or changed items** to watch a search: each run remembers what earlier runs returned and outputs only listings that are new or whose price or status changed (a price drop, pending or sold). Unchanged listings are dropped before any item page is opened and before they are saved, so they are not charged. **Max listings** then sets how many listings are checked per run; sort by **newest** to watch fresh listings. Save the input as a task and add a Schedule in Apify (hourly or daily); give each watch its own **Monitoring key** if several schedules use the same search. Output items carry `changeType` (`new` or `changed`), and changed ones `previousValues` with the old values, e.g. `{"price": 250}`.

### Does it need a Facebook login or a proxy?

No login, no account and no cookies: the Actor reads the same public Marketplace pages a logged-out visitor sees. The "log in" pop-up on those pages does not hide the listings. It does need Apify's **RESIDENTIAL** proxy (the default): Facebook shows datacenter IPs its login page instead of Marketplace. The proxy country does not decide the market; the location does (a US proxy reads London listings in GBP).

### How much does it cost?

You pay per listing saved, plus an extra event per listing when **Include item details** is on (one item page each) and per item URL. See the Pricing tab for the prices. Platform usage (mostly residential proxy traffic) is paid by you on top and is small for listings: a search page is about 0.15 MB and every further ~24 listings about 0.02 MB, so 1,000 listings move less than 1 MB (measured: 700 listings cost $0.0095 of platform usage). Item details add about 0.15-0.19 MB of residential traffic per listing (about $0.0013-0.0017 each with compute), so turn them on only when you need the description, photos or seller rating.

### Is it legal to scrape Facebook Marketplace?

The Actor collects only what Facebook shows any logged-out visitor on public Marketplace pages: listings, their photos, the approximate area and the seller's public display name, rating and joined date. It never logs in, never uses account cookies, and does not collect phone numbers, e-mail addresses, exact addresses or postcodes, messages, or anything behind a login. Map points are rounded to about 1 km. Facebook's terms restrict automated collection, and seller names are personal data under the GDPR and similar laws when they belong to private individuals: you are responsible for having a legitimate purpose and a legal basis for your use, and for respecting Facebook's terms. If in doubt, ask a lawyer.

### Integrations and API

Run it from the Apify API or a client library, schedule it, and send the results to Google Sheets, Slack, Make, Zapier, n8n or a webhook. Use `maxItems` and `maxPagesPerSearch` to cap each run.

### Support

Found a bug or need a field that is not there? Open an issue on the Issues tab with the input you used and the run link.

### Related scrapers

- [eBay Scraper](https://apify.com/tortuga/ebay-scraper): Listings, Prices & Sellers
- [Mercari Scraper](https://apify.com/tortuga/mercari-scraper): Japan & US Listings, Prices & Sold Items
- [Vinted Scraper](https://apify.com/tortuga/vinted-scraper): Listings, Prices & Sellers (All Countries)
- [Craigslist Scraper](https://apify.com/tortuga/craigslist-scraper): Listings, Prices & New Post Alerts

### Found it useful?

A ★ review on this Actor's Apify Store page helps other users find it and tells us what to improve. Issues and feature requests are welcome in the Actor's **Issues** tab.

# Actor input Schema

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

Marketplace city slugs such as nyc, la, chicago, houston, miami, london, manchester, toronto, or numeric location ids. Find yours by opening facebook.com/marketplace, choosing the city and copying the part after /marketplace/. Each location is searched with every search term. An unknown slug is reported as an error instead of silently searching another city.

## `searchTerms` (type: `array`):

Keywords to search for in each location, e.g. 'bike' or 'iphone 15'. Leave empty to list a whole category (set Category) or the city's Marketplace home feed.

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

Limit to one Marketplace category. Without search terms the category page of each location is listed; with search terms the search is limited to that category.

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

Lowest price, in the local currency of the location (whole units, e.g. 50 = $50 in nyc, £50 in london).

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

Highest price, in the local currency of the location (whole units).

## `condition` (type: `array`):

Only items in these conditions. Applies to keyword searches and category pages (Facebook turns a filtered category page into a category search).

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

Only listings posted in the last 1, 7 or 30 days (keyword searches and category pages).

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

Order of the results (keyword searches and category pages). Default: Facebook's best match.

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

Local pickup only, or shipping only (shipping results can come from anywhere in the country). Default: both.

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

Facebook Marketplace URLs: searches (facebook.com/marketplace/nyc/search?query=bike\&minPrice=50), category pages (facebook.com/marketplace/london/vehicles), city pages (facebook.com/marketplace/chicago) or single listings (facebook.com/marketplace/item/1234567890). Filters in the URL are kept. Item URLs always include the item details.

## `maxItems` (type: `integer`):

Stop after this many listings in total (across all searches). You pay per listing, so this caps the cost.

## `maxPagesPerSearch` (type: `integer`):

Facebook loads about 24 listings per page. Each search stops after this many pages (or earlier when maxItems is reached or the results end).

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

Open each listing's page for the full description, all photos and videos, condition and other attributes, category name and path, vehicle details (make, model, trim, mileage, transmission, fuel, colours, title status), approximate map point and the seller's public rating, rating count, joined date and recent reviews. One extra page per listing: slower, charged as an extra 'item details' event, and about 0.19 MB of residential proxy traffic per listing.

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this search returned and output only new items or items whose price/status changed. Use with a Schedule; unchanged items are not charged.

## `monitoringKey` (type: `string`):

Name for this watch, so several schedules on the same search stay separate; defaults to a key derived from the search input.

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

Facebook shows logged-out visitors on datacenter IPs its login page, so the RESIDENTIAL group is the default. The proxy country does not decide the market (the location does). Residential traffic is billed per GB (you pay it): about 0.15 MB for the first page of a search, 0.02 MB for each further ~24 listings and 0.19 MB per item page.

## Actor input object example

```json
{
  "locations": [
    "nyc"
  ],
  "searchTerms": [
    "bike"
  ],
  "maxItems": 100,
  "maxPagesPerSearch": 10,
  "includeDetails": false,
  "onlyNewOrChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "locations": [
        "nyc"
    ],
    "searchTerms": [
        "bike"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

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

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

```

## MCP server setup

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