Skip to content

Latest commit

Β 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

Facebook Marketplace Scraper API by UnitBytes

Try it for Free
⚑ 1-Click Free Trial: Test live queries using Apify's free monthly credit β€’ No credit card required

πŸ›’ Facebook Marketplace Scraper β€” Fast, Complete & Cost-Effective

The most reliable and cost-effective Facebook Marketplace Scraper on Apify.
Extract high-value market data in seconds without paying for bloated browser compute or burning your budget.

Scrape 40+ fields per listing β€” full HD image galleries, seller intelligence (star ratings & reviews), vehicle specs (VIN, mileage, transmission), full descriptions, and price history β€” across any city, category, or country. No login, no cookies, and no proxy configuration needed.


⚑ UnitBytes · US Local Marketplaces & Classifieds Intelligence Ecosystem
πŸ›’ FB Marketplace
πŸ“ You are here
40+ fields & full HD galleries
🏷️ Craigslist Scraper
50+ Metros & Direct Leads
Phones, emails, VINs & housing
πŸ“± OfferUp Scraper
Local Deals & Motors
ZIP radius, vehicle specs & ratings

πŸš€ How to Scrape Facebook Marketplace in 4 Steps

  1. Set your Search or URLs: Enter a keyword (e.g. toyota camry, iphone 15, leather sofa) and target city (e.g. losangeles, chicago, miami), or paste direct Facebook Marketplace URLs into start_urls.
  2. Configure Optional Filters: Set minimum/maximum price, maximum listing age (days_since_listed), item condition, or search radius.
  3. Click Start: The scraper executes lightweight, direct requests with built-in residential IP rotation β€” no login or browser cookies required.
  4. Export Clean Data: Download your results in JSON, CSV, Excel, XML, or integrate automatically with Google Sheets, Make, Zapier, or via API.

⚑ Pre-Configured 1-Click Tasks & Common Use Cases

Skip manual parameter setup. Launch these ready-to-use task presets directly in 1 click or inspect full configuration details:

Local Market / Lead Gen Preset Description & Target Query ⚑ Direct Run / Input Page πŸ“‹ Store Task Details
Find Undervalued Used Cars on Facebook Marketplace Extract every used car listing in any US city from Facebook Marketplace. Get VIN, mileage, seller rating, and price β€” no login needed. ⚑ Run Task Preset πŸ“– View Task Page
Scrape Rental Listings on Facebook Marketplace Find apartments, houses, and rooms for rent on Facebook Marketplace by city and price range. Monitor new listings daily before they fill up ⚑ Run Task Preset πŸ“– View Task Page
Find Cheap Electronics to Resell on FB Marketplace Scrape underpriced iPhones, laptops, and consoles on Facebook Marketplace. Find resale deals before flippers do β€” sorted by lowest price. ⚑ Run Task Preset πŸ“– View Task Page
Extract Used Car & Vehicle Inventory on Facebook Marketplace Scrape used vehicle listings by make, model, year, and price across US cities. Export mileage, seller type, and pricing to Excel. ⚑ Run Task Preset πŸ“– View Task Page
Scrape Rental Properties & Apartments on FB Marketplace Find apartment rentals, sub-leases, and houses for rent on Facebook Marketplace. Extract rental prices, square footage, and direct links. ⚑ Run Task Preset πŸ“– View Task Page
Find Undervalued Electronics & Tech for Reselling Arbitrage Scan Facebook Marketplace for underpriced iPhones, MacBooks, GPUs, and gaming consoles for reselling arbitrage. ⚑ Run Task Preset πŸ“– View Task Page
Monitor Deals on Furniture, Tools & Home Goods Track bargain furniture, power tools, and home appliances posted on FB Marketplace for fast local pickup and flipping. ⚑ Run Task Preset πŸ“– View Task Page
Track Competitor Dealership Inventory & Price Drops Monitor dealer listings in your metro area to benchmark inventory levels, newly posted vehicles, and competitive pricing. ⚑ Run Task Preset πŸ“– View Task Page

⚑ Why Choose This Scraper?

Most Facebook Marketplace tools rely on slow, heavy browser automation that crashes constantly and charges high fees for wasted computing power.

This scraper is built for high speed and maximum data quality:

  • ⚑ 4x Faster Scraping: Extract listings in seconds with lightweight direct requests.
  • πŸ’° Pay-Per-Result Value: Pay only for the actual listings you extract β€” no bloated browser compute or expensive monthly lock-ins.
  • πŸ›‘οΈ Zero Setup Required: Built-in IP rotation handles all anti-bot protections automatically.
  • πŸš€ Bypass the 1,000 Listing Cap: Intelligent price-range sweep unlocks the complete market dataset.
  • πŸ“± Clean HD Media: Flawlessly extracts 10–30+ high-resolution photos and video links per listing without UI artifacts or thumbnail clutter.

πŸ’° Transparent Pay-Per-Result Pricing

Pay strictly for the results you collect β€” zero expensive monthly commitments or wasted compute fees:

  • Pay-Per-Result: You are only charged for listings successfully delivered to your dataset.
  • All-Inclusive Data: Every listing includes 40+ fields, complete vehicle specifications (VIN, mileage, transmission), multi-photo HD galleries, and seller intelligence at no extra charge.
  • Automatic Tier Discounts: Enjoy volume discounts automatically applied based on your Apify subscription tier (Starter, Scale, or Business).

πŸ‘‰ Check the Pricing tab above for current live rates and subscription discounts.


🎯 Key Use Cases & Applications

Industry How Teams Use This Data
πŸš— Auto Flippers & Dealerships Extract VINs, mileage, transmission, engine specs, and clean titles across any city to find undervalued inventory before anyone else.
πŸ“¦ E-Commerce & Arbitrage Track electronics, luxury goods, and furniture prices across local markets. Spot arbitrage deals and monitor competitor inventory.
🏠 Real Estate & Property Managers Scrape local rental listings, furnished apartment prices, and square footage to analyze market rental rates in real-time.
πŸ“Š Market Intelligence & Lead Gen Monitor supply & demand trends, track top-rated high-volume sellers, and build local commerce databases.

πŸ“¦ What Data Does It Extract?

Every listing is enriched with structured data and automatic category detection:

Core Listing Data

  • Title & Description: Complete seller description and title
  • Pricing: Current price, currency, strikethrough price, and price drops
  • Media: Full HD photo gallery (10–30+ high-res images) and video streams
  • Location: City, state, postal code, and exact GPS coordinates
  • Listing Status: Date posted, listing age, is sold, is pending

πŸš— Vehicle & Hardware Specs (Auto-Detected)

  • VIN (Vehicle Identification Number)
  • Mileage & Odometer
  • Transmission (Automatic / Manual)
  • Fuel Type (Gas, Electric, Hybrid, Diesel)
  • Make, Model, Trim & Year
  • Dealership or Private Seller status

πŸ‘€ Seller & Contact Metadata

  • Seller Type ("PRIVATE_SELLER" vs "DEALERSHIP")
  • Dealership Name (for dealer-posted listings)
  • Seller Phone Number (automatically extracted from description if provided by seller)
  • Pseudo Seller ID (unique anonymous seller hash to monitor repeat flippers/dealers)

πŸ“₯ Input Parameters

Every input parameter in INPUT_SCHEMA.json is fully configurable:

Parameter Type Default Description
search_query string "vehicles" Search keywords (e.g. toyota camry, iphone 15, leather sofa)
city_slug string "sanfrancisco" Target city (e.g. sanfrancisco, losangeles, newyork, chicago, miami)
start_urls array [] Paste direct Facebook Marketplace Search, Category, or Item URLs
min_price integer 1000 Minimum price filter in dollars
max_price integer 10000 Maximum price filter in dollars
max_results integer 10 Maximum number of listings to collect
days_since_listed integer 7 Maximum listing age in days (1 = last 24h, 7 = past week, 30 = past month)
sort_by string "best_match" Sort options: best_match, price_ascend, distance_ascend, creation_time_descend
item_condition string "all" Condition filter: all, new, used
radius integer 500 Search radius in kilometers (up to 500km)
category_id string "" Optional Facebook Marketplace Category ID
scrape_details boolean false Enable deep inspection (full descriptions, HD photo carousel, vehicle specs, and seller type)
include_all_photos boolean true Extract full 10–30+ HD photo carousel & media via GraphQL. Disable for primary photo only
only_new_listings boolean false Enable 24h rolling TTL deduplication to scrape only newly posted items in cron runs
concurrency integer 5 Parallel workers (1–10). Recommended: 3–5
proxy_configuration object Residential Built-in proxy configuration. Apify Residential proxies recommended

πŸ“‹ Sample Input JSON

{
  "search_query": "honda civic",
  "city_slug": "chicago",
  "min_price": 2000,
  "max_price": 12000,
  "max_results": 50,
  "days_since_listed": 7,
  "sort_by": "best_match",
  "item_condition": "all",
  "radius": 500,
  "scrape_details": false,
  "include_all_photos": true,
  "only_new_listings": false,
  "concurrency": 5,
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}

πŸ–ΌοΈ Sample JSON Output

{
  "id": "1420973193459156",
  "url": "https://www.facebook.com/marketplace/item/1420973193459156/",
  "title": "1998 Toyota Camry LE Sedan 4D",
  "price": "$5,500",
  "city": "Los Angeles",
  "state": "CA",
  "condition": "Used - Good",
  "category": "Vehicles > Cars & Trucks > Sedans",
  "description": "Clean title, 1 owner vehicle. Recently serviced with new brakes and tires. Call or text 555-123-4567 for test drive...",
  "images": [
    "https://scontent.xx.fbcdn.net/v/t39.30808-6/example_camry_front.jpg",
    "https://scontent.xx.fbcdn.net/v/t39.30808-6/example_camry_interior.jpg",
    "https://scontent.xx.fbcdn.net/v/t39.30808-6/example_camry_engine.jpg"
  ],
  "make": "Toyota",
  "model": "Camry",
  "trim": "LE Sedan 4D",
  "year": 1998,
  "mileage": 142000,
  "transmission": "AUTOMATIC",
  "fuel_type": "GASOLINE",
  "seller_type": "PRIVATE_SELLER",
  "seller_phone": "555-123-4567",
  "pseudo_seller_id": "anon_1c373039bfed8879",
  "is_sold": false,
  "is_pending": false
}

πŸ“Š Export Formats & Platform Integrations

Your scraped dataset can be downloaded or synced in multiple formats:

  • Formats: JSON, CSV, Excel (XLSX), XML, HTML Table, RSS.
  • Integrations: Connect directly to Google Sheets, Make, Zapier, Airbyte, or Keboola using built-in Apify integrations.
  • Automations: Set up webhooks to automatically trigger notifications or downstream processing upon scrape completion.

πŸ’‘ Developer Integration Examples

Python (apify-client)

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run = client.actor("unitbytes/facebook-marketplace-scraper").call(
    run_input={
        "search_query": "honda civic",
        "city_slug": "chicago",
        "min_price": 2000,
        "max_price": 10000,
        "max_results": 50,
        "include_all_photos": True,
        "enable_seller_intel": False,
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item['title']} - {item['price']} - {len(item.get('images', []))} photos")

Node.js / JavaScript (apify-client)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({
    token: 'YOUR_APIFY_API_TOKEN',
});

const run = await client.actor('unitbytes/facebook-marketplace-scraper').call({
    search_query: 'honda civic',
    city_slug: 'chicago',
    min_price: 2000,
    max_price: 10000,
    max_results: 50,
    include_all_photos: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.log(`${item.title} - ${item.price} - ${item.url}`);
});

πŸ”Œ MCP Server Setup: Claude Code, Cursor & AI Agents

Connect this scraper directly to Claude Code, Claude Desktop, Cursor, or any MCP-compatible AI agent via the hosted Apify MCP server:

{
  "mcpServers": {
    "apify": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=actors,docs,unitbytes/Facebook-Marketplace-Scraper"
    }
  }
}

No manual API token required in configuration if your client supports Apify OAuth sign-in. Alternatively, pass your Apify API Token in the authorization header.


πŸ€– Ask an AI Assistant About This Scraper

Open a ready-to-run prompt about Facebook Marketplace Scraper in your favorite AI assistant:


❓ Frequently Asked Questions

Q: Do I need to buy or configure proxies?
A: No. Premium residential proxy rotation is managed automatically by Apify.

Q: Do I need a Facebook account or cookies?
A: No. The scraper runs 100% anonymously. You do not need an account, password, or browser session cookies.

Q: What is the difference between Fast Mode and Standard Mode?
A: Fast Mode extracts the core data available on the initial search results page (title, price, primary thumbnail, city, link) at high speed. Standard Mode deep-scrapes each item page to collect vehicle specs (VIN, mileage, transmission), full descriptions, GPS coordinates, and HD image carousels.

Q: Can I scrape more than 1,000 listings in a city?
A: Yes! The scraper automatically engages intelligent price-range sharding whenever you request large result volumes, seamlessly bypassing Facebook's 1,000 item limit.

Q: Why did my run finish with fewer results than max_results?
A: If a specific city or search term only has a small number of active listings matching your filters, the scraper will safely terminate once all matching listings have been captured to prevent unnecessary proxy charges.

Q: Can I schedule automatic recurring runs?
A: Yes! Use Apify's built-in Schedule tab to run this scraper on a recurring cron schedule (e.g. every hour or daily at 8 AM) and send new listings directly to your webhook or Google Sheet.


πŸ” Related Keywords

Facebook Marketplace scraper, scrape Facebook Marketplace without login, Facebook Marketplace car scraper, Facebook vehicle scraper, Facebook price monitor, Facebook Marketplace leads, Apify Facebook Marketplace, Facebook Marketplace API, Facebook real estate scraper, e-commerce product research.


πŸ’¬ Enterprise Support & Custom Pipelines

Need custom web data feeds, high-frequency scheduled runs, private cluster deployments, or dedicated SLAs?

About

The fastest and most cost-effective Facebook Marketplace Scraper API on Apify. Extract 40+ fields per listing including seller intelligence, vehicle specs, and HD images with zero login required.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors