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 ...
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
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- 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 |
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:
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 |
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.
Categories
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 TrialActor Information
- Developer
- apify
- Pricing
- Paid
- Total Runs
- 61,799
- Active Users
- 2,543
Related Actors
๐ฏ Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support