Skip to main content
All CollectionsProducts & Features
How to select your proxy location
How to select your proxy location
Max avatar
Written by Max
Updated over a week ago

To change the location of your proxy, modify the location parameter in your username. This ensures your requests are routed through an IP from the selected location.

Depending on your proxy type, you can select different levels of geo-targeting. For a complete list of supported location settings, refer to our Location Settings FAQ.

Residential & Mobile Proxies

Specify a country by using the cc parameter in your username. This parameter accepts a two-letter country code (ISO 3166-1 alpha-2 format).

Here, cc-DE ensures the request is routed through Germany:

curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-DE:PASSWORD" https://ip.oxylabs.io/location 

For other countries, replace DE with the desired country code (e.g., cc-FR for France or cc-JP for Japan).

You can use several other geo-targeting settings such as city, state, continent, coordinates and ASN targeting. For more details, refer to:

Datacenter Proxies

To change the country, modify the country parameter in your username.

Here, country-US ensures the request is processed through a U.S.-based datacenter IP:

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

For other countries, replace country-US with the desired country code (e.g., country-FR for France or country-JP for Japan).

For more information on available locations, refer to:


🙌 Need assistance? Contact support via live chat or send a message to [email protected].

🎯 Want a custom solution or a free trial? Contact sales by booking a call. For any questions, such as custom pricing, advice, or a free trial, drop us a line at [email protected].

Did this answer your question?