SOCKS5 proxies

To use the SOCKS5 protocol you simply need to specify that in the tool or language you are using it on. For example, this is a cURL command using SOCKS5:

curl -U SPusername:SPuserpass -x socks5h://gate.smartproxy.com:7000 https://ip.smartproxy.com/json

The only difference between an HTTP cURL command is the socks5h:// (mind the letter h, as it specifies that hostnames are not resolved locally) added before the endpoint.


🚧

Country endpoint support

Note that you have to use the gate.smartproxy.com endpoint to use SOCKS5. Country endpoints like us.smartproxy.com will not work!

You can instead target specific locations by specifying the location in your username using the Single backconnect entry node method. For example, this cURL command targets the US location:

curl -U user-SPusername-country-us:SPuserpass -x socks5h://gate.smartproxy.com:7000 https://ip.smartproxy.com/json

🚧

Tool support

To get a sticky SOCKS5 proxy in a tool, you must use a session parameter, othersiwe, the proxy will always rotate even with a sessionduration parameter. The session ID, can be defined by any string of your choice. More on that can be found on the Single backconnect entry node page.