Protocols

HTTP

Our documentation includes code examples showcasing how to connect to the proxies using HTTP protocol. The protocol is supported by common libraries and third-party software.

HTTPS

You can also use the fully encrypted connection to the proxy using HTTPS protocol. For that, you have to add https:// to your proxy entry point. For example: https://dc.oxylabs.io:8000

curl -x https://dc.oxylabs.io:8000 -U user-USERNAME:PASSWORD https://ip.oxylabs.io/location 

SOCKS5

SOCKS5 protocol support both TCP and UDP connections.

For using SOCKS5 protocol, you have to add socks5h:// to your proxy entry point. For example: socks5h://dc.oxylabs.io:8000

curl -x socks5h://dc.oxylabs.io:8000 -U user-USERNAME:PASSWORD https://ip.oxylabs.io/location

Last updated