Back to blog

Datacenter Proxies Quick Start Guide

Augustas Pelakauskas

2024-07-314 min read
Share

In this Quick Start Guide, we’ll show you all you need to know for a smooth start with Oxylabs Datacenter Proxies. There are two subscription options, each having their advantages for different use cases, allowing you to choose the best for cost efficiency and your project requirements.

Setting up Datacenter Proxies

1. Register and pick a plan

Go to the Oxylabs dashboard and create an account. Then, select Datacenter Proxies from the Proxies tab, click Buy now to head to the Pricing section, and pick a subscription plan:

  • Pay per IP: Best for large-volume and cost-effective data collection. 

  • Pay per GB: Best for low-traffic scraping tasks that require a large and diverse pool of IP addresses.

If you have any questions, need more options, or would like to get a free trial, don’t hesitate to contact our 24/7 Support Team.

2. Create a proxy user

To access and use Datacenter Proxies, you first need to create a proxy user. Enter your preferred username and password, and then click Create proxy user. Make sure to save your credentials for later use.

3. Run a request

After completion, you can now form and run your first cURL request in a terminal or any other setup to test Datacenter Proxies. Let’s send a query to https://ip.oxylabs.io/location using port 8000:

Here’s the same code for you to copy:

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

Get your proxy list

⚠️ Note: This section is relevant only for the pay per IP subscribers. If you’ve purchased Datacenter Proxies per traffic, skip to the next section.

Within seconds of creating a proxy user, you’ll receive a confirmation message with a link to your proxy list.

You can also access your proxy list in the dashboard by clicking Datacenter Proxies under the My Products section and selecting Proxy list.

Finding and viewing the proxy list in the dashboard

Static Sessions

Another important aspect of our Datacenter Proxies is session control, allowing you to keep the same proxy IP address for multiple requests. 

With a pay-per-IP subscription, when connecting through the 8001 port, you’ll always use the same IP address that’s assigned to this port. If you want to use another IP, you must change the port to 8002, 8003, and so on. You can find assigned port numbers in your proxy list.

In the case of pay-per-traffic subscription, use a port within the range of 8001 to 63000. For example, if you use port 8001, you’ll connect to a random IP address that’ll remain the same with the following requests, and the session won’t expire.

You can find a code example below showing how the process should look like. A German IP is chosen for the first request, and then the same IP is kept with new queries:

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

For more code examples, visit our documentation.

Location settings

Oxylabs Datacenter Proxies currently offers eight different countries from which to choose. To get an IP with a dedicated geo-location, include a country- parameter followed by a two-letter country code within the user authentication string. Below is an example of a query to ip.oxylabs.io/location that’s performed from a random IP address in Germany. You can find more code examples in our documentation.

Here’s the same cURL command you can copy:

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

Differences in subscription methods

Datacenter per IP users who provide a rotating port and a country parameter will receive a random IP from the selected country from their Proxy list with each new request.

Datacenter per traffic users who provide a rotating port and a country parameter will receive random IP from the selected country from the entire proxy pool.

Protocols

Datacenter Proxies support HTTP, HTTPS, and SOCKS5 protocols. For example, to connect through an HTTPS protocol, you must specify this in your request by adding https:// to your entry point, like so: https://dc.oxylabs.io:8000.

Please ensure that the libraries or third-party tools you want to use support HTTPS and SOCKS5 protocols. Check out this complete code sample that uses HTTPS:

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

Response codes

These are the most common response codes you can get while using our Datacenter Proxies. If you received an error while making a request and it's not on the list, contact our 24/7  available support team or your dedicated account manager.

Response code Error Message Description
407 Proxy Authentication Required User credentials are not provided / are incorrect / the user is connecting from an IP that is not whitelisted.
429 Too Many Requests User has reached the thread/concurrent session limit.
500 Internal Server Error We had a problem with our server. Try again later.
503 Service Unavailable Failed to connect to the target server. DNS failure to resolve the target server address.
504 Gateway Timeout A proxy server timed out, waiting for a response from the target server. It usually takes about 60 seconds.

Usage statistics

You can view your usage statistics by visiting the Oxylabs dashboard. Under Statistics, you can find your traffic usage, the number of requests, and the number of errors received each day. There’s also an option to filter the statistics and view the metrics for a specific time period.

Finding and viewing proxy usage statistics in the dashboard

Proxy users and usage limits

You can also create new proxy users, set traffic limitations and edit or delete them. If you wish to add an extra user, click on Users and choose New user.

Creating new users in the dashboard

To add traffic limits, scroll down the Menu on the left and head to Limits and spending → Usage limits. There, after picking the Create rule, you can choose which product and which user you’d like to have spending limits.

Additional resources

If there’s anything else you’d like to ask, don’t hesitate to contact our Support Team via live chat or email. They will help you ease your worries before you buy a proxy server.

We’ve got plenty of content to answer most questions and teach you something new, so feel free to explore:

People also ask

Do you have any restricted targets?

We do. Some websites are restricted on our Datacenter Proxy network to avoid abuse and unclear activities.

The list includes but is not limited to targets such as:

  • All Apple domains, including iTunes and App store 

  • All Google domains, including Play store

  • Entertainment (e.g., Netflix, Playstation) 

  • Banking and other financial institutions 

  • Government websites  

  • Streaming

  • Ticketing 

  • Linkedin 

  • Mailing

You can always consider choosing residential proxies instead. Don’t hesitate to contact our customer support in case you have questions about a specific target and which option would suit you best.

Do you have specific integration guides?

We have dedicated integration guides for the more popular solutions, like AdsPower, MuLogin, and Ubuntu. Check out this page if you’d like to see other integration examples.

What are the technical requirements to start using Datacenter Proxies?

The minimum technical requirements are:

  • Servers to make requests from

  • A programmer proficient in a supported language

  • A web scraper and target URLs

  • A parser to extract the data you need

  • A database or storage solution

Can I get a free trial for Datacenter Proxies?

Yes, we provide a free trial to help you decide whether to buy Datacenter Proxies. Simply locate the “Book a demo” button on our website, fill out the contact form, or email us at support@oxylabs.io. Do note that the trial is only available once.

What is your Datacenter refund policy?

Only our Self-Service products are eligible for refunds, except for Pay-as-you-go plans, however, free trials are available as a way to test out our products before buying.

About the author

Augustas Pelakauskas

Senior Copywriter

Augustas Pelakauskas is a Senior Copywriter at Oxylabs. Coming from an artistic background, he is deeply invested in various creative ventures - the most recent one being writing. After testing his abilities in the field of freelance journalism, he transitioned to tech content creation. When at ease, he enjoys sunny outdoors and active recreation. As it turns out, his bicycle is his fourth best friend.

All information on Oxylabs Blog is provided on an "as is" basis and for informational purposes only. We make no representation and disclaim all liability with respect to your use of any information contained on Oxylabs Blog or any third-party websites that may be linked therein. Before engaging in scraping activities of any kind you should consult your legal advisors and carefully read the particular website's terms of service or receive a scraping license.

Related articles

Get the latest news from data gathering world

I’m interested