Select Country

If you want to access IPs from specific locations, you have to provide a country- parameter with a two letter country code in your username Here is the list of country parameters:

Country
Country code

United States

country-US

Germany

country-DE

France

country-FR

Netherlands

country-NL

United Kingdom

country-GB

Romania

country-RO

Belgium

country-BE

Japan

country-JP

Canada

country-CA

Spain

country-ES

Brazil

country-BR

Mexico

country-MX

For example, if you want to rotate United States proxy pool only, use rotating port 8000 together with a parameter country-US in your username:

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

Code examples

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

Differences between subscription methods

Datacenter per IP users who provide rotating port and 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 rotating port and country parameter will receive random IP from the selected country from the entire proxy pool.

We use the MaxMind GeoIP2 database to determine IPs location.

Last updated