city parameter to the username segment of your proxy credentials, together with the matching country and state.
Targeting Format
Add thecity parameter after country and state, before your session ID:
string
required
City name that matches the selected state. Lowercase, dash-separated, no spaces or special characters.
City names are written lowercase with spaces removed (e.g.
city-newyork, city-telaviv).
Examples
Example Request
Tips
- Only reach for city-targeting when your use case truly needs it — country or state targeting gives you a much larger IP pool.
- If you receive
No Available IPs for Targeting, drop thecityparameter and retry with state-level targeting. See Error Handling. - Pair city-targeting with a sticky session to keep the same exit IP across requests.