Skip to main content
City-targeting routes requests through residential IPs located in a single city — the most precise level of geo-targeting we offer. Add the city parameter to the username segment of your proxy credentials, together with the matching country and state.
City is the narrowest targeting level, so it has the smallest IP pool. Always pair city with the correct country and state — a city that doesn’t match its state returns no IPs.

Targeting Format

Add the city 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 the city parameter and retry with state-level targeting. See Error Handling.
  • Pair city-targeting with a sticky session to keep the same exit IP across requests.