Facebook Marketplace Scraper avatar
Facebook Marketplace Scraper
Try for free

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

View all Actors
Facebook Marketplace Scraper

Facebook Marketplace Scraper

inquisitive_sarangi/facebook-marketplace-scraper
Try for free

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.

YN

Unable to scrape data

Closed

ayaan opened this issue
4 months ago

Hi, I am trying to scrape data from on Facebook marketplace. I tried tinkering with the search URL and listing URL fields but both runs failed to returned any data. Can you please let me know if I am doing something wrong?

inquisitive_sarangi avatar

Hi, thank you for trying out the scraper. Currently, the scraper doesn't support arbitrary search urls.

Listing urls: We we use if say you have a predefined list of item urls you want the scraper to scrape.

Search urls: Currently these support urls belonging to a particular category for example

https://www.facebook.com/marketplace/category/vehicles?minPrice=455&minYear=1999&make=2070821889637770&model=568816268471873&transmissionType=automatic&exact=false

Or you can directly use the Category filter to scrape the data you are looking for.

SD

smalt_drum

4 months ago

I faced the same problem and even the format that u provided didn't help to scrape any data

Could u please tell me what can be the problem of 0 output?

inquisitive_sarangi avatar

Please provide me with the query URL (or the query parameters) so that I can check it on my end. Also, regarding the 0 output, sometimes it may happen that fb won't show us results, and the reason for this could vary, from using non-supported queries to the proxy being detected by fb. Thanks.

SD

smalt_drum

4 months ago

Since I tried a pack of links, let me provide u some of them

The short version: https://www.facebook.com/marketplace/category/apparel

The precise one: https://www.facebook.com/marketplace/category/mens?minPrice=0&itemCondition=used_like_new&exact=false

Also I used the link provided by u above as an example

Could u check, whether it is my config problem (Ivory Coast proxies or smth?) or is it some error on fb side? Thanks in advance

inquisitive_sarangi avatar

Hi, actually to be able to search apparel, the most effective way would be to use the category: "Apparel". But, I checked and for some reason we are getting 0 results for the category apparel. Let me have a look at it and check what's the issue.

Thanks.

SD

smalt_drum

4 months ago

Yep, I tried this approach also Didn't help much

I also tried to use category and scrape auto, didn't work either

inquisitive_sarangi avatar

By auto, if you mean vehicles then I just checked and it seems to be working fine for me.

inquisitive_sarangi avatar

Thank you for pointing out the issue. I checked apparel and it seems to had a bug which has been fixed.

You can use category: Apperal

Also, custom search is coming soon too.

Please do let me know in case of any issues.

SD

smalt_drum

4 months ago

Tried vehicles and apperal and failed both

Could u send me please the screen of your settings? Tired to fail(

inquisitive_sarangi avatar

For apperal, I used this input json

1{
2    "category": "apparel",
3    "extendItem": false,
4    "isC2CListingOnly": false,
5    "lat": "40.7128",
6    "lng": "-74.0060",
7    "local": false,
8    "make": "",
9    "maxConcurrency": 5,
10    "maxPage": 1,
11    "maxRequestsPerMinute": 200,
12    "proxy": {
13        "useApifyProxy": true,
14        "apifyProxyGroups": [
15            "RESIDENTIAL"
16        ],
17        "apifyProxyCountry": "US"
18    },
19    "radius": "40",
20    "sortBy": "creation_time_ascend"
21}
Developer
Maintained by Community
Actor metrics
  • 39 monthly users
  • 6 stars
  • 99.5% runs succeeded
  • 18 hours response time
  • Created in Sep 2023
  • Modified 3 months ago