Perform ISP/ASN Targeting
Execute an ASN-level geo-targeting request to route proxy traffic through a specific ISP or Autonomous System Number.
Route your proxy requests through a specific ISP or Autonomous System Number (ASN) by including the ASN number in your username string.
Request Format
The username format supports multiple targeting options:
- Country:
-country-<country_code>- Specify the country - ASN:
-asn-<ASN_NUMBER>- Filter by ASN number - IP Type:
-type-<type_of_ip>- Choose residential, datacenter, or mix
Refer to our Geo-Locations List to find available ASN numbers and locations.
Request
curl -x "http://proxy.geonode.io:<port>" \
--user "<geonode_username>-type-<type_of_ip>-country-<country_code>-asn-<ASN_NUMBER>:<geonode_password>" \
--url "http://ip-api.com/json"Response
200 Success
Returns detailed geolocation information about the IP address assigned to your proxy connection.
Response Fields
| Field | Type | Description |
|---|---|---|
status | string | The status of the request (e.g., "success") |
continent | string | The continent where the IP is located |
continentCode | string | The continent code |
country | string | The country where the IP is registered |
countryCode | string | The country code in ISO 3166-1 alpha-2 format |
region | string | The regional subdivision (state/province) |
regionName | string | The full name of the region |
city | string | The city associated with the IP address |
district | string | The district or subdivision of the city |
zip | string | The postal or ZIP code of the location |
lat | number | Latitude coordinate of the location |
lon | number | Longitude coordinate of the location |
timezone | string | Time zone in which the IP is located |
offset | integer | Time offset from UTC in seconds |
currency | string | Local currency used in the country |
isp | string | The name of the Internet Service Provider (ISP) |
org | string | The name of the organization associated with the IP |
as | string | The Autonomous System (AS) number and name |
asname | string | The full Autonomous System (AS) name |
mobile | boolean | Indicates whether the IP is from a mobile network |
proxy | boolean | Indicates whether the IP is being used as a proxy |
hosting | boolean | Indicates whether the IP belongs to a hosting provider |
query | string | The IP address queried in the request |
Example Response
{
"status": "success",
"continent": "Europe",
"continentCode": "EU",
"country": "Russia",
"countryCode": "RU",
"region": "VGG",
"regionName": "Volgograd Oblast",
"city": "Volgograd",
"district": "",
"zip": "",
"lat": 48.5044,
"lon": 44.5838,
"timezone": "Europe/Volgograd",
"offset": 14400,
"currency": "RUB",
"isp": "JSC ER-Telecom Holding Volgograd branch",
"org": "JSC Columbia-Telecom",
"as": "AS50543 JSC ER-Telecom Holding",
"asname": "SARATOV-AS",
"mobile": false,
"proxy": false,
"hosting": false,
"query": "83.167.79.185"
}