Documentation has been updated: see help center and changelog in one place.

Making Requests

See how to make requests with Dedicated Datacenter Proxies using username and password authentication. Find code samples for quick testing.

Make a request to https://ip.oxylabs.io/location using the first Dedicated Datacenter proxy in your list. Replace USERNAME and PASSWORD with your proxy user credentials.

Use ip.oxylabs.io/location to check the parameters of your IPs—this domain delivers information from four geolocation databases: MaxMind, IP2Location, DB-IP, and IPinfo.io. The parameters include IP address, provider, country, city, ZIP code, ASN, organization name, time zone, and meta (when disclosed by database).

curl -x ddc.oxylabs.io:8001 -U "user-USERNAME:PASSWORD" https://ip.oxylabs.io/location 

Please note that you must follow the above example of building the username string to make requests successfully. Append the user- string to your username and be aware that credentials are case-sensitive.

Code examples

curl -x ddc.oxylabs.io:8001 -U "user-USERNAME:PASSWORD" https://ip.oxylabs.io/location 

The first IP in your proxy list will always use the8001 port. To make a request using a different proxy, you will need to find your proxy list and take port values from there.

Last updated

Was this helpful?