Making Requests

By default, Oxylabs proxies and Proxy Rotator use a basic HTTP authentication that requires you to provide a username and password. You can get your credentials by contacting your Dedicated Account Manager or our Support Team at support@oxylabs.io.

We also support authentication based on whitelisted IP addresses; see Whitelisting IPs. Depending on your authentication method, you might need to change the proxy port.

Code examples

If you want to use Dedicated Datacenter Proxies via username and password authentication method:

curl -x 1.2.3.4:60000 -U user1:pass1 http://ip.oxylabs.io/location

If you want to use Dedicated Datacenter Proxies via Whitelisted IP authentication method:

curl -x 1.2.3.4:65432 https://ip.oxylabs.io/location 

Last updated