Proxy networks access

There are two ways to access Bright Data’s proxy networks: Native and via REST API. Read more in this article to decide which is best for you: Proxy API Authentication .

Native access via proxy user name and password

After creating a Bright Data proxy zone, which includes a product and its configuration settings, you receive a proxy username and password.

The proxy user name comprises your account ID, zone name and optional parameters.

Proxy username structure is:

brd-customer-[customerID]-zone-[zone name]-[optional parameters]

Note, that you cannot change the zone name itself after it was created. If you need to change the zone name, create a new zone (you can transfer proxies from zone to zone of the same type).

This page explains how by adding optional parameters and modifying the username, you can control the Bright Data system in a very granular way from your code. The table below consolidates the options developers can use in the proxy username. Elaborated list can be seen in our API reference documentation: Proxy API documentation .

Access using API Token

API token enables access to proxy networks. Some users may find API token more convenient to use. API Token allows you:

  1. Control your access with one token, instead of combination of two

  2. Token is tied to a names user, which enhances traceability

  3. Token to access all zones

  4. Easier migration to high level scraping solutions for hard to access domains

  5. Full compliant with REST API

Creating an API token

Please see here about our API token and its usage.

Intergrate with 3rd Parties & Tools

You can use the Proxy Integration Examples page on your dashboard to create different requests.

Proxy targeting options

These settings let you easily configure proxies for a specific country, state, city, zip code and ASN.

ParameterDescriptionExample username
-country-xxSelect a country using two letter code, or eu for random country in the European Union. List of country codes is herebrd-customer-<customer_id>-zone-<zone_name>-country-us
-state-xxxxxTargets a state in the US using the two letter code. You must include US as country.brd-customer-<customer_id>-zone-<zone_name>-country-us-state-ny
-city-xxxxxTargets a city. You must include the country (e.g. username-country-fr-city-paris). Do not use spaces (e.g. -city-sanfrancisco)brd-customer-<customer_id>-zone-<zone_name>-country-us-city-sanfrancisco
-zip-xxxxxTargets a US zip code. Use a 5-digit zipcodebrd-customer-<customer_id>-zone-<zone_name>-city-memphis-zip-37501
-asn-xxxxxTargets an ASN from the listbrd-customer-<customer_id>-zone-<zone_name>-asn-56386
-os-xxxxxOnly for Residential proxies. Allows targeting Windows, MacOS, orandroidbrd-customer-<customer_id>-zone-<zone_name>-os-windows
-carrier-os-xxxxxFor mobile proxies only, you can choose to use a specific carrier from this listbrd-customer-<customer_id>-zone-<zone_name>-carrier-dt

Controlling your proxies

The following options, allow you to decide which specific proxy to use and allow you to maintain a persistence session:

FunctionParameterDescriptionExample username
Choose where DNS resolution is done-dns-xxxxxxLets you choose if DNS is resolved remote on the proxy connecting to the site, or local on Bright Data’s servers (‘Super Proxies’). More info herebrd-customer-<customer_id>-zone-<zone_name>-dns-local
Keep the same IP for multiple requests or rotate IPs-session-xxxxxxEach unique session ID will get a unique IP, can be used to target the same IP repeatedly or force rotation. Recommended for implementing programmatic IP rotation.brd-customer-<customer_id>-zone-<zone_name>-session-mystring12345
Selecting specific IP-ip-x.x.x.xAvailable only for zones with dedicated IPs allocatedbrd-customer-<customer_id>-zone-<zone_name>-ip-1.2.3.4
Selecting specific group of IPs (gIP)-gip-xxxxxxOnly for dedicated Residential or mobile proxies.brd-customer-<customer_id>-zone-<zone_name>-gip-us_7922_fl_hollywood_0
Keeping track of individual responses-c_tag-xxxxxxInclude a unique c_tag flag in their requests. In response, businesses echo back the same tag in the header. This seamless exchange ensures that each response is bound to its corresponding request, eliminating confusion and streamlining data management..brd-customer-<customer_id>-zone-<zone_name>-c_tag-<C_TAG_VALUE>
Bind to peer in session-constUse the same peer for the session. If peer is unavailable, a 502 error will be returned with “no peer available”brd-customer-<customer_id>-zone-<zone_name>-const

Controlling ‘Super Proxies’

Super proxies are the main servers that decide on the routing of your request to the actual proxies (these can be datacentre, ISP or residential proxies). Note: modifying these parameters is rarely needed!

FunctionParameterDescriptionExample username
Send requests directly from Super Proxy-directKeeps the same IP for multiple requests. Each unique session ID will get a unique IP.brd-customer-<customer_id>-zone-<zone_name>-direct
Select super proxy in specific countrysession-xxxxxxApplies ONLY for choosing a super proxy, which is rarely needed. More details hereexample
Selecting specific group of IPs (gIP)gip-xxxxxxOnly for dedicated Residential or mobile proxies.brd-customer-<customer_id>-zone-<zone_name>-gip-us_7922_fl_hollywood_0hey