Docs menu

Docs Get started

Targeting & sessions

Pick the exit country, state, city or ASN, leave out what you don't want, and keep one IP for as long as you need it.

Last verified: November 2026

How it works

Location keys in green, session keys in blue. The password never changes.

Targeting rides in the username, so it works in any app that takes a proxy login. After your username, add two underscores, then key.value parameters separated by semicolons. Separate several values for one key with commas: cr.us,gb.

Build it instead of typing it. The Generator tab on your product page writes ready-made lines, and the proxy command generator does it without an account. Some apps cut the username at a semicolon or cap its length: if targeting seems ignored, check that the field kept the whole login.

Location

KeyExampleWhat it does
crcr.usCountry, as a two-letter code. List several to exit in any of them: cr.us,gb.
statestate.californiaState or region, written as its full name in lowercase with no spaces (state.newyork). Abbreviations such as ca or us-ca match nothing.
citycity.newyorkCity, written the same way: full name, lowercase, no spaces.
zipzip.10001ZIP or postal code.
asnasn.7922Network operator (ISP or mobile carrier), by AS number.
geohashgeohash.dr5ruA square on the map, down to a neighborhood. Geohash targeting shows how to find yours.

State, city, ZIP and ASN need a country: cr.us;city.newyork. Without one the gateway answers 407 COUNTRY_REQUERIED, a 407 that isn't about your password. A code that matches no IPs answers 503 NO_RAY: drop the narrowest key or check its spelling. The Targeting tab on your product page picks locations from the live list and writes the codes for you.

Exclude and filter

Leave places or networks out instead of naming the ones you want:

KeyExampleWhat it does
nocrnocr.cn,ruCountries to leave out. Works only without cr, when exits may come from anywhere else.
nostatenostate.californiaA state to leave out of the country: cr.us;nostate.california.
nozipnozip.10001A ZIP or postal code to leave out of the country.
noasnnoasn.7922A network to leave out, such as a provider your target site rejects.
anonanon.1Only IPs the network rates as more anonymous. The pool gets smaller, so expect fewer exits.

Sessions

By default every request gets a new IP. A session keeps one:

Request1234Rotatingthe defaultIP AIP BIP CIP DStickysessid.job42IP A, heldIP B
Same letter, same exit IP. Without a session every request leaves from a new IP. With one, requests keep the same IP until the session ends: request 4 here comes 30 minutes later, when sessttl.30 moves the session on.
KeyExampleWhat it does
sessidsessid.job42Session ID, any letters and digits. The same ID keeps the same IP while that IP stays online; a new ID gets a new IP.
sessttlsessttl.30Minutes before the session moves to a new IP, from 1 to 120.

Give each worker, account or antidetect profile its own sessid. If a site refuses the IP a session drew, switch to a new sessid to move off it.

The proxy generator on your product page can also give you sticky ports, each holding one IP without a session ID. Use the ports it lists: any other answers 407 PORT_NOT_ALLOWED.

Check where you exit

Ask the gateway to name each exit's location in the response headers: the answer comes with the page, with no second request and no lookup service.

bash
curl -x "http://PROXY_USER__cr.us:PROXY_PASS@gw.proxmint.com:823" \
  --proxy-header "Accept-X-Proxy-Headers: X-Proxy-IP, X-Proxy-Country, X-Proxy-State, X-Proxy-City, X-Proxy-Zip, X-Proxy-ASN, X-Proxy-Geohash" \
  -s -D - -o /dev/null https://api.ipify.org
response
HTTP/1.1 200 OK
X-Proxy-IP: 203.0.113.24
X-Proxy-Country: US
X-Proxy-State: New York
X-Proxy-City: New York
X-Proxy-Zip: 10001
X-Proxy-ASN: 33733
X-Proxy-Geohash: dr5ru-US

Ask for any of X-Proxy-IP, X-Proxy-Country, X-Proxy-State, X-Proxy-City, X-Proxy-Zip, X-Proxy-ASN and X-Proxy-Geohash. They come back on HTTPS requests through port 823, in the gateway's answer to the tunnel request, which curl prints first. Plain http:// pages and SOCKS5 don't get them.

Username vs. saved Targeting

The Targeting tab saves a default location for the product. It applies whenever the username carries no location key, including connections from a whitelisted IP.

Saved on TargetingCaliforniaUsernamePROXY_USER__cr.usExits fromAnywhere in the US
A location key in the username replaces the saved location; it doesn't add to it.
Saved on TargetingCaliforniaUsernamePROXY_USER__sessid.a1b2Exits fromCalifornia, one IP held
Session keys alone leave the saved location in charge.

One key works differently: a geohash replaces a saved state, city or ZIP, but not a saved country. Add cr beside it to move countries too.

The Targeting tab: United States picked under Countries, New York under States and Cities, with the 2x metering note for fine geo.The Targeting tab: United States picked under Countries, New York under States and Cities, with the 2x metering note for fine geo.
The Targeting tab picks codes from the live list, so a misspelled city can't happen here. Save, then Test saved targeting to see an exit.

Metering

KeysOn Datacenter, Residential, and MobileOn Premium Residential
cr nocr noasn anon, sessions1×1×
state city zip asn geohash nostate nozip2×: 1 GB delivered uses 2 GB of your pack1×

The same applies to targeting saved on the Targeting tab. Bandwidth and pricing: Pricing.

Examples

username
# Any US IP, a new one on every request
PROXY_USER__cr.us

# New York City, one IP held for 30 minutes
PROXY_USER__cr.us;city.newyork;sessid.a1b2;sessttl.30

# The UK or Germany
PROXY_USER__cr.gb,de

# Anywhere except China and Russia
PROXY_USER__nocr.cn,ru

# A Comcast IP in the US
PROXY_USER__cr.us;asn.7922

# The US, minus California and minus Comcast
PROXY_USER__cr.us;nostate.california;noasn.7922

# Midtown Manhattan, by geohash
PROXY_USER__geohash.dr5ru

Stuck on an error? Error codes explains each one.