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.
The /scrape endpoint is built for real-time, single-URL requests. Bright Data recommends 20 URLs or fewer per request, a best practice rather than a hard limit, and the endpoint waits up to 1 minute. If collection takes longer, the response is HTTP 202 with a snapshot_id instead of data, and collection continues asynchronously. Fetch the result with async requests or have it pushed to you with webhook delivery.

How to scrape Facebook profiles

Dataset ID: gd_mf0urb782734ik94dz
You should see a 200 response. Processing time varies with target-site conditions and scraper workload.
Full Profiles response schema

Which output fields does the Facebook profiles scraper return?

The Facebook profiles scraper (gd_mf0urb782734ik94dz, collect_by_url) returns 11 output fields. Machine-readable version with the input schema: /scrapers/gd_mf0urb782734ik94dz.json

How to scrape Facebook page posts

Dataset ID: gd_lkaxegm826bjpoo9m5
Full Page Posts response schema

Which output fields does the Facebook page posts scraper return?

The Facebook page posts scraper (gd_lkaxegm826bjpoo9m5, collect_by_url) returns 52 output fields.
Machine-readable version with the input schema: /scrapers/gd_lkaxegm826bjpoo9m5.json

Posts by post URL

Dataset ID: gd_lyclm1571iy3mv57zw
Full Posts response schema

Which output fields does the Facebook posts by post URL scraper return?

The Facebook posts by post URL scraper (gd_lyclm1571iy3mv57zw, collect_by_url) returns 38 output fields.
Machine-readable version with the input schema: /scrapers/gd_lyclm1571iy3mv57zw.json

How to scrape Facebook Marketplace

Dataset ID: gd_lvt9iwuh6fbcwmx1a
Full Marketplace response schema

Which output fields does the Facebook Marketplace scraper return?

The Facebook Marketplace scraper (gd_lvt9iwuh6fbcwmx1a, collect_by_url) returns 23 output fields.
Machine-readable version with the input schema: /scrapers/gd_lvt9iwuh6fbcwmx1a.json

How to scrape Facebook comments

Dataset ID: gd_lkay758p1eanlolqw8
Full Comments response schema

Which output fields does the Facebook comments scraper return?

The Facebook comments scraper (gd_lkay758p1eanlolqw8, collect_by_url) returns 22 output fields.
Machine-readable version with the input schema: /scrapers/gd_lkay758p1eanlolqw8.json

Quick reference: dataset IDs

Output formats

Control the response format with the format query parameter: These are the format values for /scrape. The full list, NDJSON (default), JSON, JSON lines, CSV and Parquet, and where each applies is in output formats.

Async batch requests

Scrape hundreds of URLs in a single batch job.

API reference

Full parameter and response field reference.