Geo targeting

Country targeting

Target a country when assigning a proxy IP. This is a username flag on the proxy connection (proxy.geonode.io), not a separate HTTP management API.

Auth

Use your Geonode proxy username and password with the proxy URL.

Username syntax

FormExample username suffix
Country-country-US
<geonode_username>-country-<COUNTRY_CODE>:<geonode_password>

Country codes are ISO 3166-1 alpha-2 (for example US, DE, GB).

You can combine with other flags such as -type-residential (place type before or with other flags as your dashboard export shows).

Parameters

NameInRequiredDescription
geonode_usernameproxy useryesDashboard proxy username (before flags)
geonode_passwordproxy useryesDashboard proxy password
countryusername flagyesISO country code
portproxy URLyesProxy port from your plan / dashboard

Example

curl -x "http://proxy.geonode.io:<port>" \
  --proxy-user "<geonode_username>-country-US:<geonode_password>" \
  "http://ip-api.com/json"

Response

The example URL is ip-api.com (egress IP check), not a Geonode API schema.

Example with -country-US (countryCode: "US"):

{
  "status": "success",
  "country": "United States",
  "countryCode": "US",
  "region": "OH",
  "regionName": "Ohio",
  "city": "Highland Heights",
  "zip": "44143",
  "lat": 41.5543,
  "lon": -81.467,
  "timezone": "America/New_York",
  "isp": "Rocks Computer Services, LLC",
  "org": "Rocks Computer Services. LLC",
  "as": "AS40403 Rocks Computer Services, LLC",
  "query": "82.40.67.156"
}

Useful fields: countryCode, query.

Was this page helpful?

On this page