Proxies
Help center

Targeting

Every parameter you can put in a proxy username, with the rules on how they combine.

Targeting is written into the username as key-value pairs joined by hyphens, after the pool selector. Keys and values are lowercase. Omit a parameter and the network chooses for you.

Pool selector

Always first.

SelectorPool
network-residentialResidential IPs, desktop devices by default
network-residential-pool-udpResidential IPs verified for UDP over SOCKS5
pool-mobileMobile 4G / 5G carrier IPs

Parameters

ParameterExampleValuesNotes
countrycountry-usISO 3166-1 alpha-2Several countries: country-de,gb,us, comma-separated, no spaces
regionregion-texas, region-englandA region code from List regions and citiesRequires country
citycity-london, city-losangelesA city code from List regions and citiesRequires country; cannot be combined with asn
asnasn-3320An ASN from List ASNs, without the AS prefixRequires country; cannot be combined with city
osos-windowswindows, macos, linux, android, iosOperating system of the device behind the IP
sessionsession-a91f3Any string you chooseSame id, same IP, until the TTL expires or the IP goes offline. Omit for a new IP on every request
ttlttl-60Minutes, 1 to 1440How long a session holds its IP. Only meaningful with session
zip——Not available yet

Where the codes come from

Region and city values are codes, not names you type: california, losangeles, england. The locations endpoint of the User API lists the codes available in each of your plan’s countries. ASNs come from List ASNs, searched by name or number; that list is global, so pick an ASN that operates in the country you target. Guessing a code gives 417.

Generate proxies builds complete usernames for you, including asn and os. Which parameters a plan accepts is in its targeting block, returned by Get a plan.

Rules

  • Order matters only for the pool selector, which must come first. The other parameters can appear in any order.
  • city and asn are exclusive. A request with both is rejected. Pick the one that matters more, or use region with asn.
  • Multiple countries spread requests across all of them; you cannot weight one over another.
  • ttl without session does nothing: there is no session to hold.
  • Device type is desktop on network-residential. To get mobile devices, use the pool-mobile pool rather than os-android or os-ios, which select the operating system of a residential device, not a carrier IP.
  • Unknown keys or values make the gateway reject the request with 407.

Full example

Text
network-residential-country-us-region-california-city-losangeles-os-windows-session-394893-ttl-120

A residential IP in Los Angeles, California, on a Windows device, held for two hours under session 394893.

Availability

Coverage varies by country and by how narrow the target is. Country-level targeting is available everywhere the network has IPs; city and asn depend on local pool size. If a narrow request returns no IP, widen it one step: city to region, region to country.