Google Header Parameters
The Bright Data SERP API accepts the following parameters to control the format of Google search responses.Parsing
| Parameter | Type | Required | Default | Accepted values |
|---|---|---|---|---|
brd_json | string | No | none | 1, html |
x-unblock-data-format | HTTP header | No | none | parsed_light |
Raw HTML
Default response format. No additional parameter is required.brd_json
| Value | Response |
|---|---|
brd_json=1 | Parsed JSON |
brd_json=html | Parsed JSON with an additional "html" field containing the raw HTML |
x-unblock-data-format: parsed_light
| Value | Response |
|---|---|
parsed_light | Parsed JSON limited to top 10 organic results, approximately 50% lower latency than full JSON parsing |
x-unblock-data-format: screenshot, html, parsed
| Value | Response |
|---|---|
| Zip archive with multiple response formats bundled together |
Request Headers
The following headers can be passed with your SERP API requests to control behavior, session pinning, output format, and more.| Header | Availability | Purpose |
|---|---|---|
x-brd-expect | Zones with custom_expect permission | Custom success/failure validation criteria for response content |
x-brd-data-format | All | Controls output format: parsed, screenshot, json, extract-network, etc. |
x-brd-url-fragment | All (browser step) | Appends a URL fragment (#...) to the request URL for browser rendering |
x-brd-session | All | Sets a customer session ID to pin requests to the same peer/IP |
x-request-priority | All | Request priority hint - may influence internal routing decisions |
x-brd-get-rate-limit | All | When present, response includes current rate limit info headers |
cookie | Zones with cookie_whitelist or header_whitelist containing cookie | Customer cookies forwarded to target site (filtered by whitelist) |
Any header in header_whitelist rule | Zones with cust_head permission | Custom headers forwarded verbatim to the target site |
Examples
Pin requests to the same IP withx-brd-session:
x-brd-data-format:
x-brd-expect (requires custom_expect permission):
x-brd-url-fragment:
x-brd-get-rate-limit: