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. First, go to the Residential proxies → Residential → Proxy setup section on your dashboard.
Smartproxy dashboard – Proxy setup section.

The Proxy setup section.

  1. Next, choose your proxy Authentication method. This can be either your whitelisted IP or one of your proxy users. Check out the Proxy authentication article for more details.
Smartproxy dashboard – Authentication method selection.

Authentication method selection.

  1. Then, select the Location of your proxy.
    • Choosing Random means that the location of the IP address will be picked randomly from one of our residential IP pools.
    • Targeting by Zip code is available with the USA location.
    • Clicking Less options or More options will hide or reveal parameter selection.
 Smartproxy dashboard – Location selection.

Location selection.

  1. Afterward, select your preferred Session type and Protocol format.
Smartproxy dashboard – Session type and Protocol selection.

Session type and Protocol selection.

  1. You will see a proxy list of generated endpoints and ports based on your selection. You can set the number of endpoints and download a .csv or .txt file of the created proxy list, or simply copy it to your clipboard.
Smartproxy dashboard – Proxy list selection.

Proxy list selection.

  1. Alternatively, you can copy single elements of the generated parameters, such as the Proxy Address, Port, Username, and Password, or copy the entire example string.
    • You can hide your password by clicking on the eye icon. This will not affect the copy & paste function.
    • Click Switch View at the top right to display the entire parameter string.
Smartproxy dashboard – Proxy list selection.

Proxy list selection.

You can apply these ports and endpoints to any application or tool to start using proxies instantly. Check out the quick guides in the Integrations overview section for the most popular tools.


Code examples

You can also test your proxies with Code examples. You can select any of the available languages:

  • cURL
  • Python
  • NodeJS
  • PHP
  • GO
Smartproxy dashboard – a cURL example.

A cURL example.

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

🚧

Windows command prompt (cmd) support

Currently, the generated examples work for the Terminal of Mac Operating systems. To amend this, you can manually change the single quotes (') to double quotes (") in the provided example.


The example below shows a few simple cURL command requests using the residential rotating port for the Netherlands with whitelisted IP authentication. As you can see, the IP changes on each request, so the test is successful.

1180

An example of the Smartproxy rotating residential port for the Netherlands

📘

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