Prerequisites
- A Bright Data account with an active API key
- Completed the Quickstart
Request structure
Every synchronous request follows the same pattern: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
200 response. Processing time varies with target-site conditions and scraper workload.
Example response
Example response
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
Example response
Example response
Which output fields does the Facebook page posts scraper return?
The Facebook page posts scraper (gd_lkaxegm826bjpoo9m5, collect_by_url) returns 52 output fields.
Output fields (52)
Output fields (52)
/scrapers/gd_lkaxegm826bjpoo9m5.json
Posts by post URL
Dataset ID:gd_lyclm1571iy3mv57zw
Example response
Example response
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.
Output fields (38)
Output fields (38)
/scrapers/gd_lyclm1571iy3mv57zw.json
How to scrape Facebook Marketplace
Dataset ID:gd_lvt9iwuh6fbcwmx1a
Example response (illustrative, not captured)
Example response (illustrative, not captured)
Which output fields does the Facebook Marketplace scraper return?
The Facebook Marketplace scraper (gd_lvt9iwuh6fbcwmx1a, collect_by_url) returns 23 output fields.
Output fields (23)
Output fields (23)
/scrapers/gd_lvt9iwuh6fbcwmx1a.json
How to scrape Facebook comments
Dataset ID:gd_lkay758p1eanlolqw8
Example response
Example response
Which output fields does the Facebook comments scraper return?
The Facebook comments scraper (gd_lkay758p1eanlolqw8, collect_by_url) returns 22 output fields.
Output fields (22)
Output fields (22)
/scrapers/gd_lkay758p1eanlolqw8.json
Quick reference: dataset IDs
Output formats
Control the response format with theformat 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.
Related
Async batch requests
Scrape hundreds of URLs in a single batch job.
API reference
Full parameter and response field reference.