Facebook Marketplace Scraper avatar
Facebook Marketplace Scraper

Pricing

$39.00/month + usage

Go to Store
Facebook Marketplace Scraper

Facebook Marketplace Scraper

inquisitive_sarangi/facebook-marketplace-scraper

Developed by

API Master

Maintained by Community

Scrape facebook marketplace with highly targeted/customized search queries and filters. Export and download data to CSV/JSON etc.

0.0 (0)

Pricing

$39.00/month + usage

9

Monthly users

25

Runs succeeded

92%

Response time

4.5 hours

Last modified

23 days ago

IF

Validation error even though sortBy doesn't exist in JSON

Closed
illuminating_finance opened this issue
9 months ago

Could not finish the crawl. Error: Validation error: ValidationError: "sortBy" must be one of [price_ascend, price_descend, creation_time_ascend, creation_time_descend, distance_ascend, distance_descend, mileage_ascend, mileage_descend, year_ascend, year_descend]

inquisitive_sarangi avatar

Hi there, it seems in your input, value corresponding to "sortBy" key is empty. It expects one of [price_ascend, price_descend, creation_time_ascend, creation_time_descend, distance_ascend, distance_descend, mileage_ascend, mileage_descend, year_ascend, year_descend].

IF

illuminating_finance

9 months ago

For me my input looks like this

IF

illuminating_finance

9 months ago

I get the same error even if I put sortBuy

inquisitive_sarangi avatar

Please paste in your full json input here, so that I can test it on my end.

IF

illuminating_finance

9 months ago

{ "extendItem": false, "isC2CListingOnly": false, "lat": "44.498", "lng": "-118.037", "local": false, "maxConcurrency": 5, "maxPage": 0, "maxRequestsPerMinute": 200, "minPrice": 75000, "proxy": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ], "apifyProxyCountry": "US" }, "radius": "500", "searchUrls": [ "https://www.facebook.com/marketplace/113093802034968/search?minPrice=75000&daysSinceListed=7&sortBy=best_match&query=caterpillar&exact=false" ], "sortBy": "creation_time_ascend" }

inquisitive_sarangi avatar

Okay, are you trying to search by searchUrls or by category?

inquisitive_sarangi avatar

Because, in your json input you have "sortBy": "creation_time_ascend" but in search url you have provided sortBy=best_match

IF

illuminating_finance

9 months ago

searchUrls

inquisitive_sarangi avatar

Okay, let me check and get back to you asap.

Thanks

inquisitive_sarangi avatar

In case you may want to scrape by searchUrls, the sortBy query parameter in your search url must be one of the supported types

eg

https://www.facebook.com/marketplace/113093802034968/searchminPrice=75000&daysSinceListed=7&sortBy=creation_time_ascend&query=caterpillar

in the above search url as you can see we have used sortBy=creation_time_ascend

For this particular searchUrl I couldn't find any result maybe try with different urls or please try the category search instead for better results.

Please feel to reach out in case of any help.

Thank you.

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

3 days

Price

$39.00