Quick answer
How do I get a proxy in a specific US city?
Add state- and city- segments to the proxy username: USERNAME-country-us-state-ga-city-atlanta asks the MetroProxies gateway for a residential IP in Atlanta. City targeting is included on every plan from $0.50/GB (October 2026), with no surcharge. City availability varies; the checkout shows what is online. No KYC; crypto payments.
How does the city segment work?
| Segment | city-{name} after country-us and state-{code} |
|---|---|
| Name format | Lower case, spaces become underscores: city-san_jose, city-oklahoma_city |
| Full format | USERNAME-country-{cc}-state-{state}-city-{city}-zip-{zip}-asn-{asn}-session-{id}-ttl-{minutes} |
| Gateway | gw.metroproxies.com, port 7777 (HTTP/HTTPS) or 7778 (SOCKS5) |
| Price | Included in every plan; from $0.50/GB (October 2026) |
| Cities with a page | 181; other city names also accepted |
| Availability | City availability varies; the checkout shows what is online |
| Sessions | Rotating, or sticky up to 30 minutes, set per session with the ttl parameter; the IP can change earlier |
Why should I always send the state with the city?
Because US city names repeat. On this site alone there are two Aurora pages (Colorado and Illinois), two Columbus (Ohio and Georgia), two Glendale (Arizona and California), two Kansas City (Missouri and Kansas) and two Springfield (Missouri and Massachusetts). Across the country there are dozens of Springfields.
USERNAME-country-us-state-co-city-aurora— Aurora, Colorado (403,130 residents in 2024).USERNAME-country-us-state-il-city-aurora— Aurora, Illinois (180,710).
Without the state, the name is ambiguous. With it, the gateway knows which one you meant, and the exit check you run afterwards has one right answer. For wider requests, see state-level proxies.
How do I write city names with spaces, dots or hyphens?
Lower case, letters and digits only, with underscores between words:
- New York City →
city-new_york(the city segment for all five boroughs) - Salt Lake City →
city-salt_lake_city - St. Louis →
city-st_louis(the dot is dropped) - Winston-Salem →
city-winston_salem(the hyphen becomes an underscore)
Each city page prints its exact segment, so you can copy it instead of guessing. If a name returns no IP at all, at any hour, write to support with the city and state: we can check the spelling the gateway expects.
What does "city availability varies" mean in practice?
Residential IPs belong to real home connections that go online and offline. A city of 2 million has many more devices online at 9 p.m. than a city of 160,000 at 4 a.m. City availability varies; the checkout shows what is online; we do not promise a fixed number of IPs in any city.
Plan for it:
- Test your city with 1 GB ($1.50) at the hours you will run your job.
- Keep sticky sessions short when you need many distinct IPs, long when you need one stable IP.
- Fall back to
state-when a small city is empty, and log which level each result came from.
The FCC data on each city page (number of homes, providers) gives a sense of scale, but it describes the city, not our pool.
curl -s -x http://USERNAME-country-us-state-ga-city-atlanta:[email protected]:7777 https://ipinfo.io/jsonWhich providers include city targeting, and at what cost?
Most residential providers offer city targeting; the difference is the price. On 18 October 2026:
- DataImpulse documents that traffic using its city parameter "is billed at double the standard rate" ($1/GB standard).
- SOAX includes city and region on all plans but keeps ZIP and ASN targeting for its Scale ($1,500/month + VAT) and Enterprise plans.
- Decodo lists city, state, ZIP and ASN targeting on each residential plan, from $3.75/GB on 3 GB.
- MetroProxies includes city, state, ZIP and ASN targeting from 1 GB at $1.50.
The full comparison is on what city targeting costs.
What else do people ask about city targeting?
Does the city segment work with SOCKS5?
Yes. The username is the same on port 7777 (HTTP/HTTPS) and port 7778 (SOCKS5). Browsers such as Chrome and Firefox do not send a username to SOCKS5 proxies, so use the HTTP port in a browser.
Can I combine a city with a ZIP code?
Yes: USERNAME-country-us-state-ga-city-atlanta-zip-30318. Keep the ZIP inside the city, or the request may find nothing. See ZIP code targeting.
Can I rotate between several cities in one job?
Yes: change the city segment per request or per session. Loop over a list of city segments and keep one sticky session per city, so that each city's results come from one IP.
Is city targeting available outside the United States?
Country and city targeting on every plan; in the United States also state and ZIP code; ASN targeting at no extra cost. City availability varies. This site covers US cities; state and ZIP targeting are US-only.
Sources (4)
- City parameter docs.dataimpulse.com/proxies/parameters/city — DataImpulse (2026-10-18)
- Pricing soax.com/pricing — SOAX (2026-10-18)
- Residential proxy pricing decodo.com/proxies/residential-proxies/pricing — Decodo (2026-10-18)
- City and town population totals: 2020-2024 — US Census Bureau (2026-10-18)