Skip to main content
Geo-targeting sends your requests through residential IPs in a specific country, state or city. You set it in the username of your proxy credentials.
Only country is required. State and city are optional. The more specific the location, the fewer IPs are available.

Format

Put the targeting parameters between your client ID and session ID:
Username
State and city values are lowercase with no spaces, for example city-newyork or state-northerndistrict.

Country

string
required
Name of the country you want to target.
Parameter
Examples: country-UnitedStates, country-Israel, country-Hungary.

State or Region

string
State or region inside the selected country.
Parameter
Examples:
  • state-northerndistrict (Israel)
  • state-pestcounty (Hungary)
  • state-california (United States)
  • state-newyork (United States)

City

string
City inside the selected state.
Parameter
Examples:
  • city-maghar (Israel)
  • city-god (Hungary)
  • city-losangeles (United States)
  • city-newyork (United States)

Example Request

Python

Tips

  • Start with just the country. Add state or city only when you need them.
  • If you get PX1002 (no exit node available), add fallback-true or remove the city, then the state. See Error Handling.
  • Add a session to keep the same IP across requests.
Last modified on October 15, 2026