PRIVATEBYTE
ServersProxiesAgentsStatusNetworkAbout
Sign inDeploy

← Docs / Proxies

Targeting a country, state or city

Add a two-letter country code to the password:

YOUR_KEY:standard_country-GB

That is all most people need. Use ISO codes: US, GB, DE, FR and so on.

Narrower than a country

State, city, ZIP code and network (ASN) are set with HTTP headers sent to the proxy, alongside a country in the password:

Header Example
X-Proxy-State California
X-Proxy-City Los Angeles
X-Proxy-ZIP 90012
X-Proxy-ASN 7922

For HTTPS sites these go on the CONNECT request to the proxy, not to the website. They need HTTP on port 3128 — SOCKS5 has no way to carry them. The cleanproxy_geo tier is built for state and city work.

Country State City · ZIP · ASN bar length ≈ how many IPs can match
Every step narrower leaves fewer IPs that can serve the request.

When nothing matches

If no IP is available for your exact targeting, the request fails with a message that says so. We do not quietly widen your targeting — you never get a Texas IP when you asked for Los Angeles. Retry, or broaden: drop the city and keep the state, or drop the state and keep the country.

Check what you got. A geolocation lookup through the proxy confirms the location. Different lookup services sometimes disagree on a residential IP by a city or two; the country is reliable.

Related

Proxies: your first requestYour key, one command, and how to tell it worked. Two minutes.Proxy connection format and tiersWhat goes in the username and password, and what each tier is for.Using SOCKS5Port 1080, the same credentials, and the two things SOCKS5 cannot do.

Still stuck? Open a ticket — tell us what was missing and the article gets fixed.

PRIVATEBYTE

Infrastructure for independent minds.

Service status

Products

Virtual serversProxiesAgentsMigration

Resources

Looking glassSecurityBlogNews

Company

AboutContactX / TwitterTelegram
© 2026 PrivateByte Ltd
TermsPrivacyAcceptable useRefundsAbuse & legalSLA

Registered in England & Wales · Company no. 15834803 · 128 City Road, London EC1V 2NX