Skip to main content
Specify geolocation database when geo-targeting
K
Written by Katy
Updated over a month ago

Quick Example:

"username;country=US;geoDb=ipinfo"

There are many different geolocation databases available, and IP information can vary from database to database. You can specify a specific geolocation database when using geo-targeting. Right now, you can choose between two different databases:

  1. Maxmind

  2. ipinfo.io

Do you have a geolocation database that you would like to use that we do not currently offer? Let us know by filling out the survey here!

You can also specify a specific geolocation database using the Proxyrack API by adding “;geoDb={database name}” after your username wherever you are authenticating. For example, to specific ipinfo.io, you would add geoDb=ipinfo after your username.

Make sure to substitute "{database name}" in the configuration with the name of the geolocation database that you would like to use.

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

Maxmind is the default geolocation database. If a geolocation database is not specified specifically then Maxmind will be used.

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

Examples

Premium Residential:
curl -x premium.residential.proxyrack.net:10000 -U 'username;country=US;geoDb=ipinfo:password' http://example.com

Private Unmetered Residential:
curl -x private.residential.proxyrack.net:10000 -U 'username;country=US;geoDb=ipinfo:password' http://example.com

Global Rotating Datacenter:
​curl -x global.rotating.proxyrack.net:10000 -U 'username;country=US;geoDb=ipinfo:password' http://example.com

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

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

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;geoDb=ipinfo:password' http://example.com

Did this answer your question?