For the complete documentation index, see llms.txt. This page is also available as Markdown.

Advanced Filters

Learn how to filter Residential Proxies by operating system (OS) or IP version using advanced parameters.

Oxylabs Residential Proxies support advanced filtering parameters to adjust your proxy pool by Operating System (OS) platform fingerprint or IP protocol version (IPv4 vs. IPv6).

Filter
Parameter
Values
Description

platform

windows, macos, linux, android, ios

Matches TCP connection fingerprint to target OS.

ipversion

ipversion-4, ipversion-6

Restricts proxy pool strictly to IPv4 or IPv6.

Platform (OS)

The platform parameter matches the Transmission Control Protocol (TCP) fingerprint of the residential proxy exit node to a specified operating system. Matching your proxy's OS fingerprint with your client HTTP headers (e.g., emulating Chrome on Windows) prevents fingerprint mismatches that target websites use to detect bot traffic.

Supported platform values:

  • windows

  • macos

  • linux

  • android

  • ios

customer-USERNAME-platform-windows:PASSWORD

Code examples

curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-platform-windows:PASSWORD" https://ip.oxylabs.io/location
import urllib.request

username = 'USERNAME'
password = 'PASSWORD'
entry = f'http://customer-{username}-platform-windows:{password}@pr.oxylabs.io:7777'

query = urllib.request.ProxyHandler({'http': entry, 'https': entry})
execute = urllib.request.build_opener(query)
print(execute.open('https://ip.oxylabs.io/location').read().decode('utf-8'))
<?php
$username = 'USERNAME';
$password = 'PASSWORD';
$platform = 'windows';
$proxy = 'pr.oxylabs.io:7777';

$query = curl_init('https://ip.oxylabs.io/location');
curl_setopt($query, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($query, CURLOPT_PROXY, "http://$proxy");
curl_setopt($query, CURLOPT_PROXYUSERPWD, "customer-$username-platform-$platform:$password");
$output = curl_exec($query);
curl_close($query);
echo $output;
?>

IP version

By default, Oxylabs Residential Proxies use both IPv4 and IPv6 addresses. To force connections exclusively through IPv4 or IPv6 exit nodes, pass the ipversion parameter with your username string as either ipversion-4 (IPv4 pool) or ipversion-6 (IPv6 pool):

If you use ipversion-6 on a target website that does not support IPv6, Oxylabs proxies automatically resolve the request via IPv4 by default to prevent connection failures.

To disable automatic fallback and enforce strict IPv6 routing, contact your Account Manager. If strict routing is enabled and the target lacks IPv6 support, requests will return an HTTP 522 Bad Response error.

Code examples

Last updated

Was this helpful?