Single backconnect entry node

Smartproxy offers proxy access through a single backconnect endpoint:
Mobile – gate.smartproxy.com

Available parameters:

All parameters are passed alongside your username. The parameters are listed in the order they should be used (not all of them can be used together).

Location/ASN parameters

  • country – country code provided in a two symbol ISO format.
  • city – full city name (for example los_angeles or london).
  • continent – continent code.

📘

  • Asia – as
  • Africa – af
  • Europe – eu
  • North America – na
  • Oceania – oc
  • South America – sa
  • asn – target ASN number of a specific carrier.

📘

You can only use 1 location parameter per request. If you use country and asn parameters together - asn will be ignored.

You must choose between city targeting and asn targeting, as they can’t be used simultaneously.

OS parameter

  • os - value can be either android or ios.

Session parameters

  • session – Create a sticky session in order to keep the same proxy IP for more than one request. The session expires after 10 minutes by default. After that a new IP will be assigned to this session’s ID.
  • sessionduration – used either with session parameter, or sticky port (using rotating port without session parameter will create a rotating session). Specifies the sticky session time – value can be between 1 and 30. A session lasts for 10 minutes if this parameter is not indicated.

📘

session parameter makes your session sticky for the specific name you create for it, meaning for the duration that session was set to - any changed parameters are ignored. To use different parameters before the session expires - create a new session with a different name

Backconnect in applications

The backconnect entry node can be used in various applications as well. In such a case, you will need to pass parameters alongside your username in the username field like this:

user-<username>-country-<country_code>-session-<randomstring>

In the password field, you only need to enter the password of the proxy user.

🚧

Use the session parameter only if you want a sticky session. Otherwise, just ignore that part to receive a rotating proxy.

cURL Examples

Get an IP from a random location with a rotating session
curl -U <username>:<password> -x gate.smartproxy.com:7000 https://ip.smartproxy.com/json
Get an IP from a specific country (in this example Italy) with a rotating session
curl -U user-<username>-country-it:<password> -x gate.smartproxy.com:7000 https://ip.smartproxy.com/json
Get an IP from a specific city (in this example London) with a rotating session
curl -U user-<username>-city-london:<password> -x gate.smartproxy.com:7000 https://ip.smartproxy.com/json
Get an IP from AT&T Mobility LLC with a rotating session
curl -U user-<username>-asn-20057:<password> -x gate.smartproxy.com:7000 https://ip.smartproxy.com/json

📘

When using any backconnect parameter, your username is also considered one of the parameters, therefore you need to add user- prefix before specifying your username, just like with all other parameters

Get an IP from Portugal with a sticky session
curl -U user-<username>-country-pt-session-randomstring123:<password> -x gate.smartproxy.com:7000 https://ip.smartproxy.com/json
Get an IP from Android device with 1 minute session
curl -U user-<username>-os-android-sessionduration-1:<password> -x gate.smartproxy.com:10000 https://ip.smartproxy.com/json