Skip to main content
Geo-target multiple cities
K
Written by Katy
Updated over a month ago

Quick Example:

"username;country=US;city=LosAngeles,Denver,Seattle"

Video guide here.

You can geo-target multiple cities at once when using the “=” syntax. To do this, simply string the city names together and separate them with a comma. For example, geo-targeting the Los Angeles, Denver, and Seattle would look like this: “username;country=US;city=LosAngeles,Denver,Seattle:password”.

Using the “=” syntax here, you need to encapsulate your username and password in quotation marks. It would look like this: “username;country=US;city=LosAngeles,Denver,Seattle:password”

You can retrieve a list of available cities within a specific country using the Proxyrack API. Here is a guide.

Please note that cURL is used below as an example. You do not need to use cURL in order to geo-target. You can do this wherever you have configured your proxies, such as in a browser, code, etc.

Examples

Unmetered Residential:

Please note: Unmetered Residential proxies are no longer available for purchase. Existing subscriptions will continue to work, however.
curl -x unmetered.residential.proxyrack.net:10000 -U 'username;country=US;city=LosAngeles,Denver,Seattle:password' http://example.com

Live example here.

Premium Residential:
curl -x premium.residential.proxyrack.net:10000 -U 'username;country=US;city=LosAngeles,Denver,Seattle:password' http://example.com

Live example here.

Private Unmetered Residential:
curl -x private.residential.proxyrack.net:10000 -U 'username;country=US;city=LosAngeles,Denver,Seattle:password' http://example.com

Live example here.

Global Rotating Datacenter:
curl -x global.rotating.proxyrack.net:10000 -U 'username;country=US;city=LosAngeles,Denver,Seattle:password' http://example.com

Live example here.

USA Rotating Datacenter:
curl -x usa.rotating.proxyrack.net:10000 -U 'username;country=US;city=LosAngeles,Denver,Seattle:password' http://example.com

Live example here.

Static USA Datacenter:
curl -x usa.static.proxyrack.net:10000 -U 'username;country=US;city=LosAngeles,Denver,Seattle:password' http://example.com

Live example here.

Did this answer your question?