How do I use proxies?

We provide endpoints to filter out the IPs by region and session type.

📘

Endpoints are like gateways to IP pools. The system will automatically assign you proxies from the selected endpoint (part of the pool).

For example, the gate.smartproxy.com endpoint is a gateway to the whole residential proxy pool consisting of 55M+ IPs, and the us.smartproxy.com endpoint is a gateway to the pool consisting only of IPs located in the US.

Setup

  1. Firstly, on the Residential → Proxy setup page go to the Endpoint generator section, which can be found beneath the Authentication method section.

  2. Next, choose your proxy Authentication method. This can be either your Whitelisted IP or one of your proxy usernames.

Smartproxy dashboard – Endpoint generator

Smartproxy dashboard – Endpoint generator

  1. Then, select your Proxy location. Choosing random means that the location of the IP address will be picked randomly from one of our residential IP pools. For the USA location, you can also target by a zip code. Afterward, select your preferred Session type and Protocol format.
Smartproxy dashboard – Proxy configuration

Smartproxy dashboard – Proxy configuration

  1. Based on your selection, you will see generated endpoints and ports. You can set a maximum number of endpoints and download the created proxy list or copy it to your clipboard.
Smartproxy dashboard - Saving the proxies

Smartproxy dashboard – Saving the proxies

In the example below, you can see what residential sticky (10min) endpoints in the Netherlands look like. Since we are using the nl.smartproxy.com endpoint, all proxies will have IPs located in the Netherlands.

An example of the Smartproxy sticky endpoints for the Netherlands

An example of the Smartproxy sticky endpoints for the Netherlands

You can use this port and endpoint in any application or tool to start using proxies instantly. Check out the Integrations section to find quick guides for the most popular tools.

You will also need to authenticate with our proxy network (as shown in the second step). Otherwise, you will not be connected. Check out the Proxy authentication article to see what authentication methods we support.

Here's an example of what it looks like on a simple cURL command when using the residential rotating port for the Netherlands with whitelisted IP authentication. As you can see, the IP changes on each request, which proves that the test is successful.

1180

An example of the Smartproxy rotating residential port for the Netherlands

Code examples

To test your proxies, the Endpoint generator also includes Code examples. You may select any of the available languages:

  • cURL
  • Python
  • NodeJS
  • PHP
  • GO

After you've selected the proxies and language, press the "Copy" button in the bottom right corner for convenient pasting.

📘

For any advanced code samples and middleware try visiting our GitHub page.

Video guide

The following video shows the same instructions as described above