Protocols
Mobile Proxies Support HTTP, HTTPS, and SOCKS5 Formats
HTTP
Here is a cURL
example for the HTTP
protocol:
curl -x "http://username:[email protected]:7000" "https://ip.decodo.com/json"
HTTPS
Using this protocol will encrypt your connection. Here is a cURL
example for the HTTPS
protocol:
curl -x "https://username:[email protected]:7000" "https://ip.decodo.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 username:userpass -x socks5h://gate.decodo.com:7000 https://ip.decodo.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.decodo.com
endpoint to useSOCKS5
. Country endpoints likeus.decodo.com
will not work!You can instead target specific locations by specifying the location in your username using Advanced Parameters. For example, this
cURL
command targets the US location:curl -U user-username-country-us:userpass -x socks5h://gate.decodo.com:7000 https://ip.decodo.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 Advanced Parameters page.
Support
Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].
Updated 4 days ago