Smartproxy>FAQ>Getting started>Single backconnect proxies entry node and cURL examples

Single backconnect proxies entry node and cURL examples

A backconnect proxy is configurable residential proxy access. You can add specific parameters such as session type, country, city and fully control your connection.

Smartproxy offers single backconnect endpoint: gate.smartproxy.com:7000. To use this endpoint you need to pass all parameters in a string alongside your username and password (whitelist authentication does not work here). For example a location-targeted backconnect proxy server parameter lets you access IPs only from a certain country or city.

As backconnect proxy works only on residential pool, it assigns a new IP address for each rotating request or a sticky IP for up to 24 hours. If you want to use sticky session use Session ID. Otherwise, just ignore that part to receive a rotating proxy.

The backconnect entry node can be used in various applications. Find more information about backconnect proxies here.

You will need to pass every parameter for your session alongside the username in the username field like this: user-username-country-country_code-city-city_name-session-randomstring. Few examples:

Random proxy from a random country/city

curl -U username:password -x gate.smartproxy.com:7000 http://ip.smartproxy.com/json

Random proxy from a specific country and random city

Example of rotating Italy proxy.

curl -U user-username-country-it:password -x gate.smartproxy.com:7000 http://ip.smartproxy.com/json

A specific country with sticky proxy (using session ID)

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 http://ip.smartproxy.com/json

A specific country and city with sticky proxy (using session ID)

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 http://ip.smartproxy.com/json

If you need any help, reach out to us via LiveChat.

© 2018-2024 smartproxy.com, All Rights Reserved