Skip to navigation

Send a Web Unlocker / SERP request

View as Markdown

Relays to https://api.brightdata.com/request; Authorization is rewritten to Bright Data’s secret key. POST only, every control in the JSON body. Leave zone out and the gateway fills it from its configured zone. Request format: "raw" and the target site’s bytes come back exactly as the site sent them.

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Request

This endpoint expects a map from strings to any.

Response

The upstream’s answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or JSON under a structured/parsed mode. The upstream defines the exact shape.

Errors

401
Unauthorized Error
404
Not Found Error