get http://ip-api.com/json/
Filtering IPs by Type
Geonode's proxy service allows you to filter IPs based on their type for targeted proxy usage.
The available IP types are:
- Residential: Real users' IP addresses from ISPs.
- Datacenter: IPs hosted in data centers, often used for high-speed connections.
- Mix: A combination of both residential and datacenter IPs.
How to Specify IP Type
You can specify the IP type by appending type-<type_of_ip>
to the username when authenticating.
Example cURL
request:
cURL
request:# Generic example
## when there is no type set, it will be set to residential as default type
curl \
-x proxy.geonode.io:port \
-U "geonode_username:geonode_password" \
http://ip-api.com
# Actual example for a residential IP
curl \
-x proxy.geonode.io:9001 \
-U "geonode_username-type-residential:geonode_password" \
http://ip-api.com
# Actual example for a datacenter IP
curl \
-x proxy.geonode.io:9001 \
-U "geonode_username-type-datacenter:geonode_password" \
http://ip-api.com
# Actual example for a mix IP
curl \
-x proxy.geonode.io:9001 \
-U "geonode_username-type-mix:geonode_password" \
http://ip-api.com
Note that if there is no type set in the proxy config, it will be set to residential for the default type.