Scraper for Facebook Marketplace
Pricing
from $4.00 / 1,000 results
Scraper for Facebook Marketplace
Pricing
from $4.00 / 1,000 results
One or more Facebook Marketplace search URLs to scrape.
How to build a search URL:
Example URLs: https://www.facebook.com/marketplace/bangkok/search/?query=iphone https://www.facebook.com/marketplace/london/search/?query=sofa https://www.facebook.com/marketplace/newyork/vehicles/?maxPrice=10000
You can add multiple URLs to scrape several searches in a single run.
Maximum number of listings to collect per search URL.
Higher values use more proxy traffic and increase cost. Start with 20–50 to test your cookies are working before scaling up.
Estimated cost guide:
Your Facebook browser session cookies. Required — Facebook Marketplace is not accessible without being logged in.
We strongly recommend using a dedicated Facebook account created only for scraping, not your personal account — exporting cookies from a personal account can trigger Facebook's security checks and log you out.
How to get your cookies (no extension needed):
copy(JSON.parse(JSON.stringify(document.cookie.split("; ").map(c => { const [name, ...val] = c.split("="); return { name: name.trim(), value: val.join("="), domain: ".facebook.com", path: "/", httpOnly: false, secure: true }; }))));
⚠️ Security warning: Your cookies give full access to your Facebook account — treat them like a password. Never share your cookies publicly.
[ { "name": "c_user", "value": "YOUR_FB_USER_ID" }, { "name": "xs", "value": "YOUR_FB_XS_TOKEN" }, { "name": "datr", "value": "YOUR_DATR_VALUE" }]Visit each listing's detail page to extract the full item description and time posted.
Seller name, price, and sold/pending status are already included for every listing without this — they come from the search results themselves. Only enable this if you specifically need the description or posted time.
⚠️ This loads one additional page per listing — it will significantly increase run time and proxy cost.
When enabled, add "description" and "postedAt" to the Output Fields list.
Which fields to include in the output dataset. Remove any fields you don't need to keep your dataset clean.
All available fields (no extra requests needed):
Only available when Fetch Listing Details is enabled:
[ "listing_id", "title", "price", "formattedPrice", "currency", "imageUrl", "location", "status", "sellerName", "link", "scrape_timestamp"]