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 mode

Node.js

Python

curl

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

You might also like these Actors