← API Catalog
Apify·Async

Facebook marketplace scraper

SocialE-commerce$0.0005 / Listing item basic info

What it does

Scrape facebook marketplace listings from search URLs or using filters and get complete details including seller info. ✅ Option to get only new listings* across multiple runs. 💰 Cost: $1.5 per 1K

Returns: Scrape facebook marketplace listings from search URLs or using filters and get complete details including seller info. ✅ Option to get only new listings* across multiple runs. 💰 Cost: $1.5 per 1K

Parameters

ParameterTypeRequiredDescription
urlsarrayNoSearch URLs (e.g. [marketplace search](https://www.facebook.com/marketplace/nyc/cars)) or individual listing URLs (e.g. https://www.facebook.com/marketplace/item/3195892660712281/). Open in incognito to verify accessibility. Optional if Filters are set.
proxyjsonNoSet proxy country to your target marketplace region (e.g. US, IN, UK). Results depend on proxy region. Proxies are managed internally you only need to set proxy country in proxy input field.
sortByselectNoOrder of the search results. Applies to Filters-based searches (ignored when you paste your own URLs).
cookiestextareaNoFacebook cookies for authenticated scraping. When provided, enables seller details scraping. Requires logged-in session cookies (c_user and xs). Accepts Header string (name1=value1; name2=value2) or JSON export. Concurrency is set to 1 and random delays are added when using cookies. Follow these steps to get the cookies: Install [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) chrome extension Login to your facebook account Click on the extension icon > Export > Header string or JSON Paste the copied contents here Video - How to get cookies (0:14)
latitudenumberNoCenter latitude for Filters-based searches. When set with Longitude, overrides the Location field (location name lookup is skipped). Ignored if you paste URLs above. Set Longitude too.
locationtextNoTo avoid matching wrong locations with similar names use location in the format "City, State, Country" (e.g. "Los Angeles, California, United States", "Brooklyn, New York, United States"). Also supports postal codes. Resolved to exact coordinates via Facebook's location search. For full control, set Latitude/Longitude instead.
maxPricenumberNoMaximum listing price, in the searched location's local currency (e.g. a search in India filters in ₹). The currency follows the location, not the proxy region.
minPricenumberNoMinimum listing price, in the searched location's local currency (e.g. a search in India filters in ₹). The currency follows the location, not the proxy region.
radiusKmnumberNoThis is always km regardless of region: Facebook's UI may display miles in mile-using regions (e.g. the US), but it converts to km for the request (selecting 80 miles becomes radius=128). So to target 80 miles, enter 128. Combine with Location (city name / postal code) or Latitude/Longitude.
conditionselectNoItem condition(s) to include. Leave empty for any condition.
longitudenumberNoCenter longitude for Filters-based searches. Use together with Latitude (and optionally Radius) to target an exact area; overrides Location when both coordinates are set. Ignored if you paste URLs above.
untilDatetextNoScrape listings until this date (YYYY-MM-DD). Only works if Get listing details is enabled and search url is sorted by newest first or url contains sortBy=creation_time_descend
availabilityselectNoFilter by listing availability.
searchKeywordtextNoSearch term for Marketplace listings (e.g. couch, used bike).
cacheStorageIdtextNoKey-value store shared by monitoring runs. Defaults to facebook-marketplace-listing-cache when empty. Use a separate store for each independent search/workflow so listings from different keywords or locations do not share one cache and get skipped
deliveryMethodselectNoFilter by how the item is delivered.
maxPagesPerUrlnumberNoMaximum number of search pages to scrape per search URL.
daysSinceListedselectNoOnly include listings posted within this window.
onlyNewListingsbooleanNoRemember scraped search listings across runs and skip unchanged items before fetching their details. Listings are scraped again when their price, availability, or other visible search-result content changes.
strictFilteringbooleanNoExclude listings that are broad matches (outside location, similar items, etc.)
getListingDetailsbooleanNoScraper will visit details page and extract more information
getAllListingPhotosbooleanNoWhen get listing details is enabled, fetch listing media (images). Set to false to skip media API calls and reduce requests by ~33%

Endpoints

GET/v1/agents/resources/inspect/apify.curious_coder.facebook-marketplacePublic
POST/v1/agents/resources/estimate/apify.curious_coder.facebook-marketplacePublic
POST/v1/agents/resources/run/apify.curious_coder.facebook-marketplaceAgent key
GET/v1/agents/resources/runs/{run_id}Agent key

Quick start

Run it with one Agent One Key over the OpenAI-compatible resource rail.

curl -X POST https://api.deva.me/v1/agents/resources/run/apify.curious_coder.facebook-marketplace \
  -H "Authorization: Bearer deva_i1_your_key_here" \
  -H "Content-Type: application/json" \
  --data '{
    "params": {}
  }'

Related in Social

Instagram Scraper
Extract Instagram posts, reels, profiles, places, hashtags, carousels, and comments. Get data from Instagram using one or more Instagram URLs or search queries: content, context, metrics, metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Tweet Scraper V2 - X / Twitter Scraper
Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!
TikTok Scraper
Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Instagram Profile Scraper
Scrape all Instagram profile info. Just add Instagram usernames, IDs or URLs and extract name, join date, number of followers, location, bio, website, related profiles, video&post count, latest posts. Export scraped data, schedule scraper via API, and integrate with other tools or AI workflows.
Instagram Post Scraper
Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including caption, metrics, images, mentions, coauthors, recent comments, sponsored status, video duration, views. Export scraped data, schedule scraper via API, integrate with other tools or AI workflows.
Facebook Posts Scraper
Extract posts, videos, and engagement metrics from Facebook pages. Get text captions, reactions, video transcripts, images, external links, collaborators, and more from Facebook pages and profiles. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.