Geolocation Targeting
How to target specific countries and cities with residential proxies
Country and city geolocation targeting comes as standard with all residential bandwidth purchases. We support over 195 countries and every major city in the world.
You can generate proxies which are geolocated to specific countries or cities through both our dashboard generator and through syntax generation in your API requests.
Country Targeting
When generating residential proxies, you can specify the country using the ISO country code:
This will return proxies exclusively from the specified country:
City Targeting
For more precise targeting, you can generate proxies from specific cities:
Response:
Notice that the city information is encoded in the proxy string (city_london
).
Subdivision Targeting
You can also target specific subdivisions (states, provinces, regions) within countries:
Finding Available Cities
To discover which cities are available within a country, you can use the city search endpoint:
Combining Geolocation with Other Filters
For advanced targeting, you can combine geolocation with ISP/ASN targeting:
Dashboard Generation
You can also easily generate geotargeted proxies through our dashboard interface by selecting the desired country and city from the dropdown menus in the residential proxy generator.
For more information on generating residential proxies, see the Generating Residential Proxies guide.