Documentation has been updated: see help center and changelog in one place.

IP Version

Learn how to filter Residential Proxies by their Internet Protocol version to receive only IPv4 or IPv6 proxies.

By default, our Residential Proxies include both IPv4 and IPv6 addresses. If needed, you can select the Internet Protocol (IP) version to receive only IPv4 or IPv6 proxies.

Usage

Add the ipversion parameter to your username string to specify the IP version. It works alongside other parameters.

  • ipversion-4 selects proxies from the IPv4 pool

  • ipversion-6 selects proxies from the IPv6 pool

For example, if you want to receive only IPv6 proxies, your username string should be: customer-USERNAME-ipversion-6. Here's a complete cURL example:

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

Error handling

If the target website does not support IPv6, you will receive a 522 error code. In that case, switch to IPv4 for the specific website or remove the ipversion parameter altogether.

Last updated

Was this helpful?