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.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "listingUrls": [],
8  "searchUrls": [],
9  "proxy": {
10    "useApifyProxy": true,
11    "apifyProxyGroups": [
12      "RESIDENTIAL"
13    ],
14    "apifyProxyCountry": "US"
15  },
16  "lat": "40.68",
17  "lng": "-73.87",
18  "radius": "10",
19  "maxPage": 1,
20  "category": "vehicles",
21  "maxConcurrency": 5,
22  "maxRequestsPerMinute": 200
23}
24EOF
25
26# Run the Actor using an HTTP API
27# See the full API reference at https://docs.apify.com/api/v2
28curl "https://api.apify.com/v2/acts/inquisitive_sarangi~facebook-marketplace-scraper/runs?token=$API_TOKEN" \
29  -X POST \
30  -d @input.json \
31  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 40 monthly users
  • 6 stars
  • 98.5% runs succeeded
  • 18 hours response time
  • Created in Sep 2023
  • Modified 3 months ago