Scrape data and return it directly in the response.
Web Scraper API
Synchronous Requests
This endpoint allows users to fetch data efficiently and ensures seamless integration with their applications or workflows.
POST
Scrape data and return it directly in the response.
Documentation Index
Fetch the complete documentation index at: https://brightdata-ipv6-release.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
This synchronous API endpoint allows users to send a scraping request and receive the results directly in the response, at the point of request—such as a terminal or application—without the need for external storage or manual downloads. This approach streamlines the data collection process by eliminating additional steps for retrieving results. You can specify the desired output format using the format parameter. If no format is provided, the response will default to JSON.Timeout Limit
Please note that this synchronous request is subject to a timeout limit. If the data retrieval process exceeds this limit, the API will return an HTTP 202 response, indicating that the request is still being processed. In such cases, you will receive a snapshot ID to monitor and retrieve the results asynchronously via the Monitor Snapshot and Download Snapshot endpoints. Example response on timeout:202
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Dataset ID for which data collection is triggered.
Include errors report with the results.
Specifies the format of the response (default: JSON).
Available options:
json, csv Body
application/json
URL to scrape.
Response
OK
The response is of type string.
Example:
"OK"