Smartproxy Help Center

Welcome to the Smartproxy developer hub. You'll find comprehensive guides and documentation to help you start working with proxies as quickly as possible, as well as support if you get stuck. Let's jump right in!

Documentation

Single backconnect entry node

Smartproxy also offers proxy access through a single backconnect endpoint:
Residential - gate.smartproxy.com:7000

In this case, you need to pass all parameters alongside username and password.

Here is the list of all available parameters with description and usage:

  • Country - country code. Please provide it in two symbol ISO format. To get a random country, simply exclude this parameter from username string.
  • City - city name. Adding this parameter to the authorization header enables to specify which city IP to use to process the request. Please use this parameter together with the country information.
  • Session - random string to create a session in order to keep the same proxy for more than one request. The session automatically expires after 10 minutes (or 60s of inactivity). After that new IP will be assigned to this session ID.

Currently it applies to residential endpoints only. Feature for datacenter will be coming soon as well.

//Example of rotating random proxy

curl -U <username>:<password> -x gate.smartproxy.com:7000 https://ipinfo.io
//Example of rotating Italy proxy

curl -U user-<username>-country-it:<password> -x gate.smartproxy.com:7000 https://ipinfo.io
//Example of sticky Portugese proxy using session ID
//randomstring123 - session ID defined by string of your choice

curl -U user-<username>-country-pt-session-randomstring123:<password> -x gate.smartproxy.com:7000 https://ipinfo.io
//Example of sticky US - New York proxy using session ID
//randomstring123 - session ID defined by string of your choice

curl -U user-<username>-country-us-city-new_york-session-randomstring123:<password> -x gate.smartproxy.com:7000 https://ipinfo.io

Use Session ID only if you want a sticky session. Otherwise ignore that part to receive a rotating proxy.

Updated 6 months ago

Single backconnect entry node


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.