Default response format
When you configure your SERP API you can select between different default response formats:- Raw HTML: no parsing at all. Get the HTML response as is.
- Full JSON: our full interpretation of Google’s SERP HTML to JSON.
- Light JSON: a subset of full JSON
- Parsed Bing: our full interpretation of Bing’s SERP HTML to JSON.
- Markdown: our full interpretation of Google’s and Bing’s SERP HTML to markdown
*.mdfile. - Screenshot: an image capture of the SERP HTML page as interpreted by a browser.
We have a known issue with the screenshot default response format. To get a screenshot you must use the header
x-unblock-data-format: screenshot, or the screenshot will not be provided. Our teams are working on this issue and expect to resolve it soon.Enhanced Ads for Google
Bright Data provides a special setting which brings more Google ads data. When this setting is switched on, the API will respond with a larger, more diverse range of search results and ads, mimicking an incognito browsing scenario without cookies. The default setting (OFF) fetches both organic search results and ads, encompassing a broad geographical scope.How to configure advanced settings
Custom Headers and Cookies
Bright Data enables you to send your custom headers and cookies. Once you do so, we will not override your settings and will relay your requests to the search engine. You can choose from a pre-approved list of headers and cookies or request a new one and go through an approval process. Once custom headers and cookies are selected, Bright Data will charge you for all requests. When using the default setting without customized cookies, Bright Data charges for successful requests only.How to send asynchronous requests
You can work with Bright Data APIs using an asynchronous mode, where the request is sent immediately, and you will be notified when the response is ready. It usually takes a few minutes for the response to be posted back. For non real-time applications we recommend Async mode to assure a higher success rate. When submitting an asynchronous request, Bright Data handles it in the background. You can either poll for the response or configure a webhook where we will notify you on request completion. This allows you to collect responses at a later, more convenient time via a designated endpoint, increasing stability and efficiency. Learn moreWebhook Configuration
Webhook has two configurable options:- Webhook address URL
- Webhook method (GET/POST)