Geolocation
Country selection
Anyip allows you to specify a country directly within your proxy username.
How to select the country
Most software requires you to specify a username when using a proxy. From your anyIP dashboard, you can retrieve your anyIP username, which will start with user_XXXX
.
To specify a country, append the country flag to your username. For example, add country_US
to select an IP from the United States.
You can combine multiple flags offered by anyIP to use additional features. Separate each flag with a comma (,
).
For instance, your username might look like this: user_XXXX,country_US
. This configuration informs our proxy to assign an IP from the United States, ensuring you are routed through the correct IP address.
Here is the complete cURL command that you can execute from your Terminal:
curl -v --proxy "http://user_XXXX,country_US:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Remember to replace XXXX
with the username that you can find from your dashboard. Also, YOUR_PASSWORD
needs to be replaced with the password you’ve set.
How to select an Internet Provider (ASN)
To obtain an IP address associated with a specific provider, you can include the ASN number corresponding to that provider in your request.
For example, if you’d like to select T-Mobile USA, which has the ASN 21928, you would specify it as follows: user_XXXX,asn_21928
.
Below is the complete cURL command for this request:
Here is the complete cURL command:
curl -v --proxy "http://user_XXXX,asn_21928:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
How to select a region via GPS coordinates
Sometimes, you may want to be highly precise and pinpoint a specific location.
Using this site, you can easily find the exact coordinates you need.
For example, let’s choose New York by specifying its latitude (lat
) and longitude (lon
):
user_XXXX,lat_40.7128,lon_-74.006
Here’s a cURL example for reference:
curl -v --proxy "http://user_XXXX,lat_40.7128,lon_-74.006:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Let’s now say you’d like to be in Paris, France, the username should look like:
user_XXXX,lat_48.8323,lon_2.4075
curl -v --proxy "http://user_XXXX,lat_48.8323,lon_2.4075:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
And Voilà!
Predefined Pools
Some pools have been predefined by us, allowing you to get an IP that matches specific criteria.
Pool “western”
To use this list, user_XXXX,pool_western
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_western:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “europe”
To use this list, user_XXXX,pool_europe
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_europe:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “west europe”
To use this list, user_XXXX,pool_westeurope
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_westeurope:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “mena” (Middle East and North Africa)
To use this list, user_XXXX,pool_mena
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_mena:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “middle east”
To use this list, user_XXXX,pool_middleeast
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_middleeast:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “asia”
To use this list, user_XXXX,pool_asia
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_asia:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “central asia”
To use this list, user_XXXX,pool_centralasia
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_centralasia:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “sea” (south east asia)
To use this list, user_XXXX,pool_sea
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_sea:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “east asia”
To use this list, user_XXXX,pool_eastasia
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_eastasia:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “oceania”
To use this list, user_XXXX,pool_oceania
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_oceania:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “south asia”
To use this list, user_XXXX,pool_southasia
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_southasia:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “north america”
To use this list, user_XXXX,pool_northamerica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_northamerica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “south america”
To use this list, user_XXXX,pool_southamerica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_southamerica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “north africa”
To use this list, user_XXXX,pool_northafrica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_northafrica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “west africa”
To use this list, user_XXXX,pool_westafrica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_westafrica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “east africa”
To use this list, user_XXXX,pool_eastafrica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_eastafrica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “central africa”
To use this list, user_XXXX,pool_centralafrica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_centralafrica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “southern africa”
To use this list, user_XXXX,pool_southernafrica
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_southernafrica:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/
Pool “africa”
To use this list, user_XXXX,pool_africa
must be included in your username.
curl -v --proxy "http://user_XXXX,pool_africa:YOUR_PASSWORD@portal.anyip.io:1080" http://ip-api.com/