Facebook Marketplace
Get Facebook Marketplace listings by search and city, or from Marketplace search links: title, price, listing link, city, state, date listed, seller name and link, sold and pending flags, delivery, and photo link.
$0.0015 per listing
POST /api/v1/scrape/facebook-marketplaceParameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Optional | What to search for, as on Marketplace (used with city)Example: office furniture |
city | string | Optional | The city to search inExample: Dallas |
urls | string[] | Optional | Marketplace search links instead of query and city (up to 200)Example: ["https://www.facebook.com/marketplace/dallas/search?query=office%20furniture"] |
maxResults | number | Optional | The most listings to return in all (default 100, up to 5,000)Default: 100Example: 100 |
Examples
Office furniture for sale in Dallas
curl -X POST https://app.scrapercity.com/api/v1/scrape/facebook-marketplace \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "office furniture",
"city": "Dallas",
"maxResults": 100
}'Check status and download
curl -X GET https://app.scrapercity.com/api/v1/scrape/status/{runId} \
-H "Authorization: Bearer YOUR_API_KEY"
# When status is SUCCEEDED, download the CSV
curl -L https://app.scrapercity.com/api/downloads/{runId} -o facebook-marketplace.csvUse Cases
- •Find sellers of equipment, vehicles or property in a city
- •Price research on used goods
- •Reseller and dealer prospecting
Best Practices
- •Charged per listing returned; a search is charged at least what it cost to run, shown as a minimum charge
- •Most searches finish in 1-5 minutes
- •Send query and city, or urls
- •CSV columns: title, price, listing_url, city, state, listed_at, seller_name, seller_url, sold, pending, delivery, photo_url
Every scrape returns a runId. Poll GET /api/v1/scrape/status/{runId} until it completes, then download via GET /api/downloads/{runId}?format=csv.
Authenticate every request with Authorization: Bearer YOUR_API_KEY. See the full API reference for authentication, rate limits and error codes.