DEV Community

Алексей Спинов
Алексей Спинов

Posted on

How to Scrape Facebook Marketplace Listings (2026 Guide)

Facebook Marketplace has millions of listings but no public API. Here is what works.

The Challenge

Facebook aggressively blocks scraping:

  • Login required for most data
  • Heavy bot detection
  • No public API for Marketplace

What Still Works

1. Facebook Graph API (Limited)

For Pages and Groups only (not Marketplace):

const url = `https://graph.facebook.com/v19.0/PAGE_ID/posts?access_token=TOKEN`;
Enter fullscreen mode Exit fullscreen mode

2. Google Cache

site:facebook.com/marketplace "[product]" [city]
Enter fullscreen mode Exit fullscreen mode

Some listings are indexed by Google.

3. Alternative Marketplaces

Easier to scrape with structured data:

  • Craigslist — RSS feeds, fully public
  • OfferUp — web accessible
  • Mercari — product listings

4. Pre-Built Tools

Apify Store has Facebook scrapers that handle authentication.

My Recommendation

Don not fight Facebook. Use alternative data sources:

Resources


Need marketplace data extracted? Craigslist, Shopify, eBay — $20. Email: Spinov001@gmail.com | Hire me

Top comments (0)