Skip to main content
City-targeting sends your requests through residential IPs in one city. It is the most precise location option. Add city to your username together with the matching country and state.
City has the smallest IP pool of any location option. Always use the correct country and state with it. A city that doesn’t match its state returns no IPs.

Format

Put city after country and state, before your session ID:
Username
string
required
City inside the selected state. Lowercase, no spaces or special characters.
Write city names in lowercase without spaces, for example city-newyork or city-telaviv.

Examples

Example Request

Python

Tips

  • Only use city-targeting when you really need it. Country or state targeting gives you far more IPs.
  • If you get PX1002 (no exit node available), add fallback-true to accept another city in the same country, or remove city and target the state. See Error Handling.
  • Add a session to keep the same IP across requests.
Last modified on October 15, 2026