User:pass Requests

Datacenter Pay/IP Proxy Advanced Parameter Usage via User:Pass Authentication

When using backconnect, the endpoint proxy server remains the same: dc.decodo.com

For static connection sessions, the proxy port is any number within the following range: 10001-63000

📘

If you're using port numbers that exceed the total IP count you've purchased with your plan, the ports will iterate through your existing IPs.

For rotating connection sessions, the proxy port is: 10000

The cURL code will be shown in the examples below. You may try them out on your machine.


Username:Password

📘

Username And Password Parameter

To use a proxy username and password, please be aware that your username line will always start with user- followed by your proxy username.

An example of a rotating proxy using a proxy username and password to return you an IP address from a random location:

curl -U "user-username:password" -x "dc.decodo.com:10000" "https://ip.decodo.com/json"

Replace username and password with your credentials and run the command in your Terminal or Command Prompt.

You will see the IP address that has been assigned to you for this particular request, as well as the information on that IP address, including its location, in the output.


Direct IP Targeting

It's possible to target specific IP addresses from the proxy IP list you've purchased. To find your proxy IPs, navigate to the Datacenter → DC Pay/IP → Proxy setup dashboard page. Then, click on the My IP list tab. In the table below, you will find the IP addresses you've purchased, their country of origin, and the ASN.

📘

Keep in mind, some IPs listed may not have an associated ASN.

My IP list selection in the Datacenter Pay/IP Proxy setup.

If you wish to generate an endpoint list, which you can then export, or a request example with a specific IP address, in the same Proxy setup page, click on the Direct IP field and in the dropdown menu, and check your preferred proxy IP address. There, you can select all IPs or use the search bar to find a specific IP.

Direct IP selection in the Datacenter Pay/IP Proxy setup.

Example of a static proxy that returns a specific IP address. The proxy IP remains unspecified.

curl -U "user-username-ip-x.x.x.x:password" -x "dc.decodo.com:10001" "ip.decodo.com/json"

Country Targeting

If IPs from a specific country are needed, then modify the username to include the country-xx parameter. Use two-letter Alpha-2 codes. There is a full list of them here.

📘

Here is the full list of available locations for purchase with DC Pay/IP proxies.

To find the countries of the IPs, head over to the Datacenter → Datacenter Pay/IP → Proxy setup dashboard page. Click on the Location field, and in the dropdown menu, feel free to select one or all of the countries.

Note that you will only be able to target the countries from which you've purchased the proxy IPs.

Location selection in the Datacenter Pay/IP Proxy setup.

Example of a rotating proxy that returns IPs from the US:

curl -U "user-username-country-us:password" -x "dc.decodo.com:10000" "ip.decodo.com/json"

Example of a static proxy that returns an IP from Italy:

curl -U "user-username-country-it:password" -x "dc.decodo.com:10001" "ip.decodo.com/json"

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].

Feedback

Something's missing? Request an article!
Got feedback? Let us know how we're doing and what can be improved.