Facebook Marketplace Scraper

Facebook Marketplace Scraper

by apify

Need to pull data from Facebook Marketplace without the manual copy-paste grind? This scraper handles the heavy lifting, turning Marketplace listings ...

61,799 runs
2,543 users
Try This Actor

Opens on Apify.com

About Facebook Marketplace Scraper

Need to pull data from Facebook Marketplace without the manual copy-paste grind? This scraper handles the heavy lifting, turning Marketplace listings into structured data you can actually use. Think of it as your automated research assistant for Facebook Marketplace. Whether you're tracking apartment prices, monitoring specific item categories, or analyzing seller activity in different locations, you configure the search and it fetches the details: listing titles, descriptions, prices, seller info, and location data. You can run it for a single item or sweep entire categories. I use it to export clean datasets directly to JSON, CSV, or Excel. It runs reliably via API, which is great for piping data into other apps, and you can schedule regular runs to monitor price changes or new listings over time. It's become a core part of my workflow for real estate comps, e-commerce price monitoring, and local market research. If you need consistent, structured data from Marketplace, this just works.

What does this actor do?

Facebook Marketplace Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

๐Ÿ‘€ What is Facebook Marketplace Scraper? It's a simple and powerful scraping tool that allows you to extract data on local listings and sellers from Facebook Marketplace. To get that data, just paste the Marketplace page URLs and click "Save & Start" button. ## ๐Ÿ’ณ What Facebook Marketplace data can I extract? With this Facebook Marketplace API, you will be able to extract the following data from Facebook Marketplace listings:
๐Ÿ“Œ Listing title ๐Ÿ”— Listing URL
๐Ÿ’ฐ Min&max listing price ๐Ÿ’ธ Sale price
๐Ÿ“ Location ๐Ÿ–ผ๏ธ Listing photo
๐Ÿ‘ค Seller details ๐Ÿ“น Listing video
๐Ÿ›‘ Status: Sold, Live, Pending ๐Ÿšš Delivery type
## ๐Ÿ”— How do I scrape Facebook Marketplace? Use Facebook Marketplace Scraper. It was designed to be easy to start with even if you've never extracted data from the web before. Here's how you can scrape Facebook data with this tool: 1. Open Facebook Marketplace Scraper on the Apify Store and sign into your Apify account. 2. Head over to Facebook Marketplace, then choose location, listing category, or search query. 3. Copy the resulting Facebook Marketplace URL, and add it to the scraper to extract details on each listing. 4. Click "Start" and wait for the data to be extracted. 5. Download your Facebook Marketplace dataset in JSON, XML, CSV, Excel, or HTML. If you need guidance on how to run the scraper, you can follow our video guide โ–ท on YouTube. https://www.youtube.com/watch?v=r-1J94tk5Fo ## โฌ‡๏ธ Input The input for Facebook Marketplace Scraper should be Facebook Marketplace URLs and the number of listings you want scraped. The scraper accepts three types of Marketplace URLs: - ๐Ÿ“ Location: https://www.facebook.com/marketplace/sanfrancisco/ - ๐ŸŽป Category:https://www.facebook.com/marketplace/sanfrancisco/instruments - ๐Ÿ” Search query: https://www.facebook.com/marketplace/sanfrancisco/search/?query=crane You can input data by filling out fields, using JSON, or programmatically via an API. For a full explanation of an input example in JSON, see the input tab. ## โฌ†๏ธ Output sample The results will be wrapped into a dataset which you can find in the Output tab. You can preview all the fields in the Storage tab and choose the format in which to export the Facebook Marketplace data you've extracted: JSON, CSV, Excel, or HTML table. Here below is a sample Facebook Marketplace dataset: extract data from facebook marketplace json [ { "facebookUrl": "https://www.facebook.com/marketplace/sanfrancisco/search/?query=guitar", "listingUrl": "https://www.facebook.com/marketplace/item/1189200412268517", "id": "1189200412268517", "primary_listing_photo": { "__typename": "ProductImage", "image": { "uri": "https://scontent-hou1-1.xx.fbcdn.net/v/t45.5328-4/437005937_3853471901547531_4591930955732494222_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260&_nc_cat=110&ccb=1-7&_nc_sid=247b10&_nc_ohc=ohHOyN4bm1gQ7kNvgGKZUeE&_nc_ht=scontent-hou1-1.xx&oh=00_AYCAUOvqBiQA9TlS6zY0xGq7ujrYDqJvxW92B7nzGfey7g&oe=664AF519" }, "id": "3853471898214198" }, "listing_price": { "formatted_amount": "$65", "amount_with_offset_in_currency": "6500", "amount": "65.00" }, "strikethrough_price": null, "comparable_price": null, "comparable_price_type": null, "location": { "reverse_geocode": { "city": "San Francisco", "state": "CA", "city_page": { "display_name": "San Francisco, California", "id": "114952118516947" } } }, "is_hidden": false, "is_live": true, "is_pending": false, "is_sold": false, "is_viewer_seller": false, "min_listing_price": null, "max_listing_price": null, "marketplace_listing_category_id": "676772489112490", "marketplace_listing_title": "Ashthorpe Full-Size Dreadnought Acoustic-Electric Guitar", "custom_title": null, "custom_sub_titles_with_rendering_flags": [], "origin_group": null, "listing_video": null, "parent_listing": null, "marketplace_listing_seller": { "__typename": "User", "name": "Gabi Serrano", "id": "pfbid02Emnr61gEXoFWrix5GetFwmEAiC7wnieUg52xDmaGNe154LRSdZSirmmUNGb6Psqsl" }, "delivery_types": [ "IN_PERSON" ] }, { "facebookUrl": "https://www.facebook.com/marketplace/sanfrancisco/search/?query=guitar", "listingUrl": "https://www.facebook.com/marketplace/item/890679662817803", "id": "890679662817803", "primary_listing_photo": { "__typename": "ProductImage", "image": { "uri": "https://scontent-hou1-1.xx.fbcdn.net/v/t45.5328-4/427212581_470381202096766_8794677249409317491_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260&_nc_cat=105&ccb=1-7&_nc_sid=247b10&_nc_ohc=dmutQVoMURUQ7kNvgFRzXL2&_nc_oc=AdhgXVFIZSZNrH0toUYMt8TJdBQ_8NPY-o59fOuIFwM3sAuzS718I7TjE5gnJ65o5PEDmOI9e6OChASS61p480Gv&_nc_ht=scontent-hou1-1.xx&oh=00_AYCVBRurrmHyB1W9oHM97bBFjbQ5pBgyIG_IM67V5LlN-Q&oe=664ADF4D" }, "id": "470381198763433" }, "listing_price": { "formatted_amount": "$20", "amount_with_offset_in_currency": "2000", "amount": "20.00" }, "strikethrough_price": null, "comparable_price": null, "comparable_price_type": null, "location": { "reverse_geocode": { "city": "Berkeley", "state": "CA", "city_page": { "display_name": "Berkeley, California", "id": "113857331958379" } } }, "is_hidden": false, "is_live": true, "is_pending": false, "is_sold": false, "is_viewer_seller": false, "min_listing_price": null, "max_listing_price": null, "marketplace_listing_category_id": "676772489112490", "marketplace_listing_title": "Electric guitar", "custom_title": null, "custom_sub_titles_with_rendering_flags": [], "origin_group": null, "listing_video": null, "parent_listing": null, "marketplace_listing_seller": { "__typename": "User", "name": "Zixin Jiang", "id": "pfbid032BPoHpPZqrqb4oufJS5AwzwhNamBPKWGRchKmBPiNqeriPshTS8PK7N148s65BiLl" }, "delivery_types": [ "IN_PERSON" ] } ... ## ๐Ÿ’ธ How much will scraping Facebook Marketplace cost you? This scraper uses the Pay-per-result pricing model, so your costs can be easily calculated: it will cost you $5 to scrape 1,000 Marketplace items, so $0.005 per item. Apify provides you with $5 free usage credits every month on the Apify Free plan, so you can scrape 1,000 items on Facebook Marketplace for free for those credits. But if you need to extract data regularly, you should get an Apify subscription. We recommend our $49/month Starter plan โ€” that one could get you up to 9,800 Marketplace listings every month. ## ๐Ÿ’ฌ Want to scrape Facebook games or groups? You can use the dedicated scrapers below if you want to scrape specific Facebook data. Each of them is built particularly for the relevant Facebook scraping case be it pages, likes, events, or photos. Feel free to browse them:
๐Ÿ“ข Facebook Ads Scraper ๐Ÿ‘ Facebook Likes and Reactions Scraper ๐Ÿšฉ Facebook Pages Scraper
๐ŸŒŸ Facebook Reviews Scraper ๐Ÿ•ต๏ธโ€โ™€๏ธ Facebook Search Scraper ๐Ÿž Facebook Photos Scraper
๐Ÿ’ฌ Facebook Comments Scraper ๐Ÿ“ฑ Facebook Pages Info Scraper #๏ธโƒฃ Facebook Hashtag Scraper
๐Ÿ—“ Facebook Events Scraper ๐Ÿ“ Facebook Posts Scraper
๐Ÿ‘ฅ Facebook Groups Scraper ๐ŸŽฎ Facebook Games Scraper
## โ“FAQ ### Does Facebook Marketplace have an API? Facebook Marketplace does not have an official API for retrieving data on Marketplace listings. While there are old sources from 2007 and an API for posting and receiving seller data (Marketplace Approval API), neither of these APIs provide access to the listings themselves. This means developers cannot use the official Marketplace API to extract details about listings on Facebook Marketplace regularly and at scale. This is why alternative solutions like Facebook Marketplace Scraper exist. A scraper is essentially an API of its own if it allows exporting scraped data via an API. ### How do I use data from Facebook Marketplace? Scraping Facebook Marketplace can help you to: ๐Ÿ’ธ Discover the best-selling items on Facebook Marketplace ๐ŸŽ Secure the fastest-selling items ๐Ÿ‘€ Do comparative analysis on items in the same category ๐Ÿ  Find apartments for rent/sale and jobs on Facebook marketplace ๐Ÿ“ Monitor local Marketplace listings, identify market trends, and understand local pricing ๐Ÿ’ผ Create your own aggregator platform for items in a specific category or topic ### Can I integrate Facebook Marketplace Scraper with other apps? Yes. This Facebook Marketplace Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate your Facebook Marketplace data with Zapier, Slack, Make, Airbyte, GitHub, Google Sheets, Asana, LangChain, and more. You can also use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever Facebook Marketplace Scraper successfully finishes a run. ### Can I use Facebook Marketplace Scraper as its own API? Yes, you can use the Apify API to access Facebook Marketplace Scraper programmatically. The API allows you to manage, schedule, and run Apify Actors, access datasets, monitor performance, get results, create and update Actor versions, and more. To access the API using Node.js, you can use the apify-client NPM package. To access the API using Python, you can use the apify-client PyPI package. For detailed information and code examples, see the API tab or refer to the Apify API documentation. ### Can I use this Facebook Marketplace API in Python? Yes, you can use the Apify API with Python. To access the Facebook Marketplace API with Python, use the apify-client PyPI package. You can find more details about the client in our Python Client documentation. ### Is it legal to scrape data from Facebook Marketplace? Our Facebook scrapers are ethical and do not extract any private user data. They only extract what the user has chosen to share publicly. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping. ### Not your cup of tea? Build your own Marketplace scraper. Facebook Marketplace scraper doesnโ€™t exactly do what you need? You can always build your own! We have various web scraping templates in Python, JavaScript, and TypeScript to get you started. Alternatively, you can write it from scratch using our open-source library Crawlee. You can keep the scraper to yourself or make it public by adding it to the Apify Store (and find users for it to make money). ### How do I export Facebook marketplace listings? Run Facebook Marketplace Scraper with a search query of your choice + location. Once the Actor has finished scraping, go to the Apify Console, navigate to your Actor's run, and click on the dataset. From there, you can export the data in various formats like CSV, JSON, or Excel. ### Your feedback Weโ€™re always working on improving the performance of our Actors. So if youโ€™ve got any technical feedback for Facebook Marketplace Scraper or simply found a bug, please create an issue on the Actorโ€™s Issues tab.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Facebook Marketplace Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
apify
Pricing
Paid
Total Runs
61,799
Active Users
2,543
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support