
Facebook Marketplace Scraper
3 days trial then $39.00/month - No credit card required now

Facebook Marketplace Scraper
3 days trial then $39.00/month - No credit card required now
Scrape facebook marketplace with highly targeted/customized search queries and filters. Export and download data to CSV/JSON etc.
No output for search URL
When I add a search URL:
https://www.facebook.com/marketplace/106066949424984/cars/?query=rebuilt%20title%20car
There are no results returned.

API Master (inquisitive_sarangi)
Hi there, thank you for reaching out. Let me have a look at it and get back to you.

API Master (inquisitive_sarangi)
Hi, thank you for you patience. I am looking into it. Meanwhile you can try replicating the search via categories and location(lat/lng/radius).
joana124341
same 0.466 usage already used but no results https://console.apify.com/view/runs/kZsEdMxcDqVdlWstK

API Master (inquisitive_sarangi)
Hi there, let me have a look at it and get back to you. Meanwhile, if you want you are try using categories items.
instaflip2024
Not working for us as well. We are paying for the API every month please fix it as soon as possible

API Master (inquisitive_sarangi)
Hi there, thank you for using the facebook marketplace scraper. Could you please let me know the input are you currently and having issue with?
The search url feature currently only works with a limited url patterns so that be causing the issues. Please let me know.
Thanks

API Master (inquisitive_sarangi)
Update: Working on a fix for search urls.
Meanwhile, you can always using the category, lat/lng and radius to search within categories.
Thank you for your patience.
instaflip2024
Checking in to see if you can provide an update on this. Our solution has stopped working because of this.

API Master (inquisitive_sarangi)
Working on a fix. Meanwhile, could you please provide me the details on the urls you are using?
Actually, it's technically not a fix though, as the search urls as of now only supports category urls and not all search urls. The primary way to search using the actor is using the category/location/radius and the options below it.
Thanks

API Master (inquisitive_sarangi)
Update: The search URL issue has been resolved. Currently, the search URLs field only accepts URLs following the specified pattern.
/^https://www.facebook.com/marketplace/(\d+|\w+)/(search|vehicles|propertyrentals|apparel|electronics|entertainment|family|free|garden|hobbies|home|home-improvements|instruments|office-supplies|pets|propertyforsale|sports|toys)/?(?query=.+)/
Eg.
1https://www.facebook.com/marketplace/105618626137781/search?sortBy=distance_ascend&query=rebuilt%20title%20car&exact=false 2https://www.facebook.com/marketplace/nyc/search/?maxPrice=7896&sortBy=distance_ascend&query=rebuilt%20title%20car&exact=false 3https://www.facebook.com/marketplace/category/search?deliveryMethod=shipping&query=bag 4https://www.facebook.com/marketplace/category/vehicles?deliveryMethod=shipping&sortBy=price_descend&vehicleExteriorColors=black&exact=false
Category-based search URLs (/category/) rely on the actor's lat/lng/radius settings to find location details, as these URLs lack embedded location information. They work in your browser because Facebook detects your location, but on a server, the location must be explicitly provided.
Important: Search URLs often return 0 results when using Apify residential proxies. Other providers (e.g., Oxylabs) tend to work better. If you encounter this issue, try switching to a third-party provider.
Thanks

API Master (inquisitive_sarangi)
Update:
Apart from the above, if your search urls doesn't fall under the supported pattern, I have added in a new field name search. Using this field you can do a custom search just like you do on Facebook marketplace.

API Master (inquisitive_sarangi)
There are 2 ways to provide input to the scraper.
Method 1: Using Search URLs
The scraper accepts search URLs as input. Not all patterns are supported.
Supported URL Pattern:
/^https://www.facebook.com/marketplace/(\\d+|\\w+)/(search|vehicles|propertyrentals|apparel|electronics|entertainment|family|free|garden|hobbies|home|home-improvements|instruments|office-supplies|pets|propertyforsale|sports|toys)/?(?query=.+)/
Please refer docs for supported search url examples.
Notes:
- Apify proxies may perform poorly with search URLs; consider using other residential proxy providers.
- For category-based URLs (
/category/
), the scraper uses lat/lng/radius settings from the search section.
Method 2: Search Section Feature (🌟 New)
Instead of providing URLs directly, you can construct your search in the dashboard.
Custom Search
Use this field when URLs aren't supported. It accepts search queries in {location}/{query}
format.
Example:
- query: ps5, lat/lng values from the search section are used.
- location/query: nyc/ps5 or mexicocity/cell-phones
Note: Non empty Custom search ignores the category field.
Required Settings:
- Proxy: Must be residential to avoid blocking.
- Max Page Limit: Enter 0 for no limit or set a max value.
- Custom Search: Enter a query (e.g.,
mexicocity/cell-phones
). If no location is provided, the scraper uses lat/lng values from the search section.

API Master (inquisitive_sarangi)
Please feel free to reopen the issue if you have any additional questions/suggestion etc.
Actor Metrics
25 monthly users
-
8 bookmarks
92% runs succeeded
5.6 hours response time
Created in Sep 2023
Modified 14 days ago