Protocols
Mobile proxies support HTTP, HTTPS, and SOCKS5 formats
HTTP
Here is a cURL
example for the HTTP
protocol:
curl -x "http://SPusername:[email protected]:7000" "https://ip.smartproxy.com/json"
HTTPS
Using this protocol will encrypt your connection. Here is a cURL
example for the HTTPS
protocol:
curl -x "https://SPusername:[email protected]:7000" "https://ip.smartproxy.com/json"
SOCKS5
To use the SOCKS5
protocol you simply need to specify that in the tool or language you use. 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 useSOCKS5
. Country endpoints likeus.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 asession
parameter, othersiwe, the proxy will always rotate even with asessionduration
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.
Support
Need help or just want to say hello? Our customer support is available 24/7. You can also reach us anytime via email at [email protected].
Updated 2 months ago