Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 

Repository files navigation

πŸ›’ Facebook Marketplace Scraper API

Available on Apify Maintenance No Login Required

The most data-rich and reliable Facebook Marketplace scraper API available. Extract 40+ fields per listing including seller intelligence, vehicle specs, and HD images. No login required.

πŸš€ Try it for free on Apify


πŸ“– Overview

Are you looking to extract data from Facebook Marketplace for lead generation, market research, price monitoring, or dropshipping?

This robust scraper allows you to collect data from any category (Vehicles, Real Estate, Furniture, Electronics) at scale. It uses concurrent processing to deliver results incredibly fast, bypassing the need for Facebook accounts or session management.

✨ Key Features

  • πŸš€ Deep Category Sweeping: Bypasses Facebook's 1000-listing limit. Paste a broad category URL or search term, and we automatically map it to hundreds of hidden subcategories to extract tens of thousands of listings.
  • πŸ”— Copy-Paste URL Intelligence: Just drop a Facebook Marketplace URL into the scraper and it will flawlessly pass your custom filters (make, model, etc.) directly into the scraping engine.
  • πŸ›‘οΈ No Login Required: Runs completely anonymously. No risk of getting your personal account banned.
  • πŸ“Š 40+ Data Fields: The most comprehensive data extraction available.
  • πŸ•΅οΈ Seller Intelligence: Get seller ratings, review counts, join dates, and locations.
  • πŸš— Auto-Enriched Vehicle Data: Automatically extracts VIN, mileage, transmission, engine details, and clean title status.
  • ⚑ High-Speed Concurrency: Run up to 10 parallel threads to extract thousands of listings in minutes.
  • 🌐 Any Location: Search by city_slug and radius to target specific geographical markets.

πŸ’‘ Use Cases

  • Used Car Dealerships: Monitor local inventory, track competitor pricing, and find underpriced vehicles to flip.
  • Real Estate & Rentals: Scrape local rental listings and property availability.
  • E-commerce & Dropshipping: Identify trending products and monitor local market prices.
  • Market Research: Analyze supply and demand for specific item categories in different cities.

πŸ› οΈ How to use it (API Examples)

You can run this scraper via the Apify Console, or integrate it directly into your own applications using Apify's API.

Python Integration

from apify_client import ApifyClient

# Initialize the ApifyClient with your API token
client = ApifyClient("YOUR_APIFY_API_TOKEN")

# Prepare the Actor input
run_input = {
    "start_urls": [{"url": "https://www.facebook.com/marketplace/sanfrancisco/vehicles/?make=1274042129420222"}],
    "search_query": "honda civic",
    "city_slug": "sanfrancisco",
    "min_price": 2000,
    "max_price": 15000,
    "price_chunk_size": 250,
    "max_results": 50,
    "concurrency": 5,
    "days_since_listed": 3
}

# Run the Actor and wait for it to finish
run = client.actor("scraperpro/facebook-marketplace-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

Node.js Integration

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your API token
const client = new ApifyClient({
    token: 'YOUR_APIFY_API_TOKEN',
});

// Prepare the Actor input
const input = {
    "start_urls": [{"url": "https://www.facebook.com/marketplace/sanfrancisco/vehicles/?make=1274042129420222"}],
    "search_query": "honda civic",
    "city_slug": "sanfrancisco",
    "min_price": 2000,
    "max_price": 15000,
    "price_chunk_size": 250,
    "max_results": 50,
    "concurrency": 5,
    "days_since_listed": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraperpro/facebook-marketplace-scraper").call(input);

// Fetch and print Actor results from the run's dataset
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

πŸ“ˆ Sample Output Data

The API returns clean, structured JSON data. Here is an example of an extracted vehicle listing:

{
  "title": "2019 Honda Civic EX",
  "price": "$8,500",
  "seller_name": "Lawrence",
  "seller_rating": 4.6,
  "listing_age": "on Thursday",
  "category": "Vehicles",
  "make": "Honda",
  "model": "Civic",
  "year": 2019,
  "mileage": "45000",
  "vin": "2HGFC2F5XKH...",
  "url": "https://www.facebook.com/marketplace/item/982185697762732/"
}

🀝 Support and Custom Solutions

If you encounter any bugs, please open an issue on Apify.

Need a custom scraping solution or enterprise integration? Feel free to reach out via Apify.


Disclaimer: This tool is for educational and research purposes only. Please scrape responsibly and respect Facebook's terms of service.

About

Facebook Marketplace Scraper API

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors