Skip to main content
The IP version specification feature can be enabled with an active Residential plan. To request access to this feature, contact us at support@decodo.com.

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 in 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 to automatically resolve 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"

Note

The IP availability may be limited if targeting smaller countries or cities together with the ipv variable.

Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.