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..."
}/marketplace/search/marketplace/category/{category}/marketplace/item/{item_id}/marketplace/locations/marketplace/categories/search/search/pages/search/people/search/groups/search/posts/search/places/search/events/pages/{identifier}/pages/{identifier}/posts/profiles/{identifier}/profiles/{identifier}/posts/groups/{group_id}/groups/{group_id}/posts/posts/{post_id}/posts/{post_id}/comments/ads/search/ads/{ad_archive_id}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.
City, state, latitude and longitude on every listing, plus 11 ready-made location slugs from nyc to sydney.
Vehicles, property rentals and for-sale, apparel, electronics, home goods, instruments, pets and more.
min_price, max_price, item_condition, delivery_method, days_since_listed and five sort orders.
Estimate your Facebook scraping spend by endpoint and volume.
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.
Page and profile detail with their timelines, group detail and public feeds, single posts with reaction breakdowns, and full comment threads — all live today.
Search live and inactive ad creatives by advertiser or keyword — bodies, link titles, CTAs, publisher platforms and run dates. Public, no login.
You never supply a Facebook account. Sessions, tokens and anti-bot handling run on our side; you call plain REST endpoints.
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.
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.
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.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.
No. The API returns public Facebook data without any Facebook login, app review or Graph API token. You only need your ScrapeBadger API key.
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.
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.
Every request fetches live from Facebook — there is no cache. Results reflect the current state at the moment you call.
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.
1,000 free credits. No Facebook login. Pay only for successful requests.
Get Started