FacebookNo Facebook login required

Facebook Scraper API

Marketplace listings, Pages, profiles, groups, posts, comments and the Ad Library as clean, structured JSON — live on each request and no Facebook login required. Global keyword search is temporarily unavailable while we expand capacity; everything else works today.

GET /v1/facebook/marketplace/search?query=bike&location=nyc
{
  "listings": [{
    "id": "1024478365991204",
    "title": "Trek Marlin 7 Mountain Bike",
    "price": "$650",
    "condition": "used_good",
    "location": "Brooklyn, NY",
    "delivery": ["local_pick_up", "shipping"]
  }],
  "count": 42,
  "has_next_page": true,
  "end_cursor": "AQHRk2f..."
}

Endpoints

Marketplace

  • /marketplace/search
    Keyword search with price, condition & delivery filters
    5 cr
  • /marketplace/category/{category}
    Browse a category feed (vehicles, electronics, rentals…)
    5 cr
  • /marketplace/item/{item_id}
    Full listing detail with photos, seller & location
    5 cr
  • /marketplace/locations
    Location slug catalog (free)
    free
  • /marketplace/categories
    Category slug catalog (free)
    free

Search

  • /search
    Search every surface at once
    Temporarily unavailable
  • /search/pages
    Search Facebook Pages
    Temporarily unavailable
  • /search/people
    Search public profiles
    Temporarily unavailable
  • /search/groups
    Search groups by name or topic
    Temporarily unavailable
  • /search/posts
    Search public posts
    Temporarily unavailable
  • /search/places
    Search places & business locations
    Temporarily unavailable
  • /search/events
    Search public events
    Temporarily unavailable

Pages & Profiles

  • /pages/{identifier}
    Page detail: followers, category, contact, rating
    5 cr
  • /pages/{identifier}/posts
    Page timeline feed
    5 cr
  • /profiles/{identifier}
    Public profile detail
    5 cr
  • /profiles/{identifier}/posts
    Public profile timeline feed
    5 cr

Groups, Posts & Ads

  • /groups/{group_id}
    Group detail: privacy, members, description
    5 cr
  • /groups/{group_id}/posts
    Public group feed
    5 cr
  • /posts/{post_id}
    Single post with reactions & attachments
    5 cr
  • /posts/{post_id}/comments
    Comment thread with authors & reply counts
    10 cr
  • /ads/search
    Ad Library search by advertiser or keyword
    5 cr
  • /ads/{ad_archive_id}
    A single Ad Library entry
    5 cr
Marketplace

The largest local classifieds feed on the internet

Facebook Marketplace has no public API. ScrapeBadger returns it as clean JSON: search by keyword or browse a category, filter by price, condition, delivery method and how recently an item was listed, then pull full detail for any listing — plus free location and category reference catalogs. All live now.

Geo-precise

City, state, latitude and longitude on every listing, plus 11 ready-made location slugs from nyc to sydney.

17 categories

Vehicles, property rentals and for-sale, apparel, electronics, home goods, instruments, pets and more.

Real filters

min_price, max_price, item_condition, delivery_method, days_since_listed and five sort orders.

Cost Estimator

Estimate your Facebook scraping spend by endpoint and volume.

Credits per request5
Total credits needed5,000
Loading plans…

Why ScrapeBadger for Facebook

Marketplace, Fully Live

Search listings by keyword or browse a category, filter by price, condition, delivery and freshness, then pull full detail for any item — plus free location and category catalogs.

Pages, Profiles, Groups & Posts

Page and profile detail with their timelines, group detail and public feeds, single posts with reaction breakdowns, and full comment threads — all live today.

Ad Library

Search live and inactive ad creatives by advertiser or keyword — bodies, link titles, CTAs, publisher platforms and run dates. Public, no login.

No Login, No Cookies

You never supply a Facebook account. Sessions, tokens and anti-bot handling run on our side; you call plain REST endpoints.

Cursor Pagination & Live Data

Every feed returns end_cursor and has_next_page — pass it back as after= to page through. Each request fetches live from Facebook, no cache.

Pay For Success

Credits are only charged on successful 2xx responses. Failed requests are free, and the reference catalogs cost nothing. Global keyword search is temporarily unavailable while we expand capacity.

Quick Start

Node.js
import { ScrapeBadger } from 'scrapebadger'

const sb = new ScrapeBadger({ apiKey: process.env.SCRAPEBADGER_API_KEY })

// Marketplace search — live, no login
const { listings, end_cursor } = await sb.facebook.marketplace.search({
  query: 'mountain bike',
  location: 'nyc',
  max_price: 800,
})

// Next page — feed cursors round-trip as `after`
const page2 = await sb.facebook.marketplace.search({
  query: 'mountain bike',
  location: 'nyc',
  after: end_cursor,
})

// Pages, profiles, groups, posts and comments — all live
const page = await sb.facebook.pages.get('nasa')
const { posts } = await sb.facebook.pages.posts('nasa')
const { comments } = await sb.facebook.posts.comments('1234567890')

// Ad Library — search creatives by advertiser or keyword
const { ads } = await sb.facebook.ads.search({ query: 'Nike', country: 'US' })

// Global keyword search (search/pages, search/people, …) is
// temporarily unavailable while we expand capacity — coming back soon.

FAQ

Which endpoints are available right now?

Almost everything is live: Marketplace search, category browse and listing detail, the free location and category catalogs, Pages and profiles with their timelines, groups and their feeds, single posts, comment threads, and the Ad Library — all public and no login required. The only exception is global keyword Search across pages, people, groups, posts, places and events, which is temporarily unavailable while we expand account capacity and is coming back soon.

Do I need a Facebook account or app token?

No. The API returns public Facebook data without any Facebook login, app review or Graph API token. You only need your ScrapeBadger API key.

What data can I pull?

Marketplace listings (price, photos, condition, location, seller), Page and profile detail plus their post feeds, group detail and feeds, single posts with reaction breakdowns and comment threads, and Ad Library creatives with bodies, CTAs, publisher platforms and run dates.

How do I page through results?

Every feed response includes end_cursor and has_next_page. Send the cursor back as the after parameter on the next call to get the following page.

How fresh is the data?

Every request fetches live from Facebook — there is no cache. Results reflect the current state at the moment you call.

How is pricing calculated?

Per request, by endpoint: most endpoints cost 5 credits (comments cost 10), and the Marketplace location and category catalogs are free. You are only charged on success — failed requests are free.

Start scraping Facebook today

1,000 free credits. No Facebook login. Pay only for successful requests.

Get Started