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 theus.smartproxy.com
endpoint is a gateway to the pool consisting only of IPs located in the US.
Setup
- First, go to the Residential proxies → Residential → Proxy setup section on your dashboard.
- 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.
- 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.
- Afterward, select your preferred Session type and Protocol format.
- 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.
- 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.
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
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.
For any advanced code samples and middleware try visiting our GitHub page.
Updated 4 days ago