IP Versions
Residential Proxy Internet Protocol Version Specification
The IP version specification feature can be enabled with an active Residential plan. To request access to this feature, contact us at [email protected].
IPv4/IPv6 Proxies
By default, the residential proxy pool has both IPv4 and IPv6 addresses.
To specify the Internet Protocol version with the residential proxy, you have to include the ipv variable to the proxy username or a whitelisted IP. The IP version is specified after the variable, like so: ipv-4 & ipv-6.
If the target website supports only one of the IP versions, the proxy will try automatically resolving the supported version. However, there is a possibility of the request failing, in which case you can try specifying the correct IP version or retrying the proxy request.
For example, if you are using an IPv6 proxy to target an IPv4-only website, the proxy will try to automatically resolve the website using an IPv4 proxy, and vice versa.
Examples
Username:password
IP version specification when the proxy authentication occurs via the username and password method.
- An example of a proxy that returns IP addresses from the IPv4 proxy pool:
curl -U "user-username-ipv-4:password" -x "gate.decodo.com:7000" "https://ip.decodo.com/json"- An example of a proxy that returns IP addresses from the IPv6 proxy pool:
curl -U "user-username-ipv-6:password" -x "gate.decodo.com:7000" "https://ip.decodo.com/json"Whitelisted IP
IP version specification when the proxy authentication occurs via the whitelisted IP method.
- An example of a proxy that returns IP addresses from the IPv4 proxy pool:
curl -x "https://ipv-4.gate.decodo.com:7000" "https://ip.decodo.com/json"- An example of a proxy that returns IP addresses from the IPv6 proxy pool:
curl -x "https://ipv-6.gate.decodo.com:7000" "https://ip.decodo.com/json"
NoteThe IP availability may be limited if targeting smaller countries or cities together with the
ipvvariable.
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].
Updated about 8 hours ago