Facebook Marketplace scraper in n8n

Extract public Facebook Marketplace listings by city feed, category, keyword search, or direct item URL, with price, location, photos, delivery method, seller, and listing status per item.

What this workflow does

Import it and n8n runs the Facebook Marketplace Listing & Price Extractor Actor on Apify every day at 08:00 with the starter input below. Each row comes back with title, price, city, state and 71 more; repeats with the same listingUrl are dropped. A Google Sheets append is included and stays off until you add your sheet. The only credential it needs is your Apify API token.

Read from the workflow file, built for Facebook Marketplace Listing & Price Extractor version 1.0.2. Updated 2026-11-14.

How the rows travel

6 nodes, in the order n8n runs them. The yellow stop is the call to the Apify Actor; the dashed stop is optional.

  1. Daily trigger Schedule trigger
  2. Configure input Code
  3. Run Apify Actor HTTP Request
  4. Normalize + dedupe Code
  5. Rows ready No operation
  6. Google Sheets (optional) Google Sheets, off until you switch it on

Input

The Configure input node holds the starter input. Change it there; every setting the Actor accepts is listed below.

{
  "mode": "search",
  "searchQueries": [
    "office chair"
  ],
  "location": "Austin, Texas",
  "maxItems": 25
}
Input settings of Facebook Marketplace Listing & Price Extractor
SettingTypeRequiredDefaultWhat it does
mode string No auto What to scrape. auto uses startUrls when present and otherwise builds a keyword search. search builds a search from searchQueries plus location. One of: auto, search, urls, items.
startUrls array No – Marketplace search, city-category, global-category, city-feed, or /marketplace/item/ URLs. In mode=items, a bare numeric listing ID is also accepted.
searchQueries array No – One to 20 keywords or phrases (mode=search or mode=auto without URLs). Each query becomes one source.
location string No – Marketplace location slug, city, postal code, or address used by keyword search (mode=search or mode=auto without URLs). Examples: nyc, Austin, Texas, 90210, London.
country string No US ISO 3166-1 alpha-2 country used when resolving a human location. Use GB for London, CA for Toronto, and so on. 250 choices.
latitude number No – Optional search center latitude. Provide longitude too.
longitude number No – Optional search center longitude. Provide latitude too.
radiusKm integer No 65 Search radius in kilometres for keyword or category search. URL mode keeps the radius in the URL unless you set this explicitly.
category string No all Marketplace category. If searchQueries is empty, the actor opens the city category feed (or the global category feed for a human location). 25 choices.
categoryId string No – Advanced numeric Facebook category ID. Takes precedence over category when set.
sortBy string No relevance Server-side sort where Marketplace supports it, plus a client-side re-sort by price or posting time. Rows without a price sort last. One of: relevance, newest, oldest, price_asc, price_desc, distance.
minPrice number No – Only listings at or above this price. Rows without a price are dropped.
maxPrice number No – Only listings at or below this price. Rows without a price are dropped.
condition string No any Server-side condition filter in search/category modes. In deep mode the detail condition is checked too; fast URL rows without condition data are kept. One of: any, new, used_like_new, used_good, used_fair.
deliveryMethod string No all Client-side filter over the listing's delivery types. Listings without delivery data are dropped when this filter is active. Legacy local_pickup is accepted as local. One of: all, shipping, local.
daysSinceListed integer No – Only listings created within this many days. Rows without a posting time are dropped.
availability string No all Client-side status filter. Search feeds are mostly available; sold and pending are more common on direct item pages. One of: all, available, sold, pending.
exactMatch boolean No false Keep only rows whose title (and description in deep mode) contains every query word.
maxItems integer No 50 Global output limit across all sources.
maxItemsPerUrl integer No 50 Per-source output limit.
maxPagesPerUrl integer No 100 Cost guard for cursor pagination. The actor stops earlier on source exhaustion, a repeated cursor, two empty pages, or maxItems.
scrapeMode string No fast fast streams feed rows. deep fetches each listing page for description, condition, attributes, seller, coordinates, and photos. One of: fast, deep, auto.
includeListingDetails boolean No false Compatibility alias that enables deep mode unless scrapeMode=fast is explicit.
includeAllPhotos boolean No false Enables deep mode and adds the full photo gallery.
rehostImages boolean No true Copy primary photos and seller avatars into the actor key-value store so the emitted URLs do not expire. The original Facebook URL is kept in primaryPhotoUrlOriginal.
deduplicateAcrossInputs boolean No true Emit each listing ID once across sources. Disable to preserve repeats from repeated input URLs.
proxyConfiguration object No – Optional advanced override. The actor works without a proxy and automatically escalates only when Facebook blocks a request. A missing value never stops a run.

What each row holds

Every field the Actor returns stays in the row (75 in its dataset schema). Normalize + dedupe trims text, drops empty fields, removes repeats with the same listingUrl and adds _source and _scrapedAt. The main fields:

Main output fields of Facebook Marketplace Listing & Price Extractor
FieldWhat it is
titleTitle
pricePrice
cityCity
stateState
locationTextLocation
conditionCondition
deliveryTypesDelivery
sellerSeller
primaryPhotoUrlPhoto
listingUrlListing URL

What the first run costs

With the starter input (maxItems = 25) a first run costs about $0.42 on the Apify Free plan: $0.40 to start the run at 4 GB of memory and $0.02 for the results, plus platform usage.

The Actor lists $0.99 per 1,000 results; its catalogue page breaks the price down by Apify plan. The Apify Free plan includes $5 of usage a month.

The Actor behind it

Facebook Marketplace Listing & Price Extractor: Extract public Facebook Marketplace listings by city feed, category, keyword search, or direct item URL, with price, location, photos, delivery method, seller, and listing status per item.

The same job from an AI agent

The matching agent skill gives Claude Code, Codex, Cursor and other agents the same Actor, input and fields. Install it in one line:

npx skills add https://scraperfinder.com --skill facebook-marketplace-listing-and-price-extractor

The facebook Marketplace scraper skill, with manual install and run steps

Questions people ask

How do I import this workflow into n8n?

Copy https://scraperfinder.com/n8n/facebook-marketplace-listing-and-price-extractor.json. In n8n, open a new workflow, click the three-dot menu, choose Import from URL and paste it. Or download the JSON file and use Import from File; both give the same 6 nodes.

Do I need an Apify account?

Yes. The workflow calls the Facebook Marketplace Listing & Price Extractor Actor through the Apify API with your own token, and each run is billed to your Apify account. The Free plan includes $5 of usage a month.

What does a run cost?

With the starter input (maxItems = 25) a first run costs about $0.42 on the Apify Free plan: $0.40 to start the run at 4 GB of memory and $0.02 for the results, plus platform usage. The Actor's Store page shows the current price.

Can I change what it collects?

Yes: edit the input object in the Configure input node. The Actor takes 27 settings; the table on this page lists each one with its default. Raise maxItems once the first rows look right.

Does it work without Google Sheets?

Yes. The rows wait in the Rows ready node, so you can connect any other node there: a database, Airtable, a webhook or an email. The Google Sheets node is only one option.

Workflow updated 2026-11-14