Send Your First Request with Bright Data's Web Unlocker
Learn how to send your first API request using Bright Data’s Web Unlocker with easy-to-follow code examples in multiple programming languages.
Getting access to Web Unlocker
Bright data offers two methods to use web unlocker in your scraping task:
-
Use an HTTPS proxy access point
-
New: Beta Release
: Use an HTTPS Web API access point
Accessing Web Unlocker as HTTPS proxy
In order to access the web unlocker you will need to provide credentials which are comprised of:
-
Your customer ID
-
Your web unlocker zone name
-
Your web unlocker password
-
Bright Data SSL certificate
Customer ID
Customer ID can be found in the welcome email you received, or by clicking your account initial letter on the top right screen of your control panel, or by clicking here: Account settings .
Zone name and password
You zone name and password can be found in the overview tab of your unlocker zone in control panel.
Bright Data SSL Certificate
SSL Certificate can be found by clicking “SSL certificate” wizard on your zone’s overview top menu. See further instructions here: SSL certificate.
Alternatively, you can ignore SSL errors.
Web Unlocker: HTTPS Proxy code examples
Once you have your credentials, use the following code to send your first request:
Accessing Web Unlocker as API endpoint - Beta release
In order to access the web unlocker you will need to provide credentials which are comprised of:
-
Your web unlocker zone name
-
A Bright Data API key
Zone name
You zone name can be found in the overview tab of your unlocker zone in control panel.
Bright Data API Key
Bright Data API key is a generated secret hash which is used to authenticate your access to the web unlocker service via the web API endpoint. To generate the API key click here to get to Account settings , scroll down and click the “Add token” button, and follow the instructions on screen.
We strongly recommend to have an expiration date set on your token for increased security.
Web Unlocker: API Endpoint code examples
To use Web Unlocker via the API endpoint you should use the following parameters:
-
API Endpoint:
https://api.brightdata.com/request
-
API Key
-
Web Unlocker zone name
-
Target URL
-
Response format:
raw
Was this page helpful?