Skip to main content
This guide shows you how to send a synchronous request to each Bright Data Facebook Scraper API endpoint. It covers profiles, page posts, posts, marketplace listings, and comments.

Prerequisites

Request structure

Every synchronous request follows the same pattern:
The only thing that changes between endpoints is the dataset_id and the input URL format.
Synchronous requests support up to 20 URLs and have a 1-minute timeout. If the request takes longer, the API automatically returns a snapshot_id instead. See async requests.

How to scrape Facebook profiles

Dataset ID: gd_mf0urb782734ik94dz
You should see a 200 response. This takes 10-30 seconds.
Full Profiles response schema

How to scrape Facebook page posts

Dataset ID: gd_lkaxegm826bjpoo9m5
Full Page Posts response schema

Posts by post URL

Dataset ID: gd_lyclm1571iy3mv57zw
Full Posts response schema

How to scrape Facebook Marketplace

Dataset ID: gd_lvt9iwuh6fbcwmx1a
Full Marketplace response schema

How to scrape Facebook comments

Dataset ID: gd_lkay758p1eanlolqw8
Full Comments response schema

Quick reference: dataset IDs

Output formats

Control the response format with the format query parameter:

Async batch requests

Scrape hundreds of URLs in a single batch job.

API reference

Full parameter and response field reference.