POST
/
request
curl --request POST \
  --url https://api.brightdata.com/request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "zone": "<string>",
  "url": "<string>",
  "format": "raw",
  "method": "GET",
  "country": "<string>"
}'
"OK"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

async
boolean

Set this to true for asynchronous

Body

application/json
zone
string
required

Name of the proxy zone which will service your request.

url
string
required

Target URL for your request.

format
enum<string>
required

Format for requesting a raw HTML via proxy is raw.

Format for request a JSON response is json.

Available options:
raw,
json
method
string
default:
GET

Method for requesting an HTML via proxy is GET.

country
string

Country code of proxy which request is relayed through.

Response

200
application/json
OK

The response is of type string.