curl --request GET \
     -x "http://proxy.geonode.io:<port>" \
     --user "<geonode_username>-country-<country_code>-city-<city_name>:<geonode_password>" \
     --url "http://ip-api.com/json"
{
  "status": "success",
  "continent": "North America",
  "continentCode": "NA",
  "country": "United States",
  "countryCode": "US",
  "region": "AL",
  "regionName": "Alabama",
  "city": "Decatur",
  "district": "",
  "zip": 35601,
  "query": "68.191.141.86"
}

Response

200
application/json
Successful response from City Targeting API.
status
string

Indicates the status of the request.

Example:

"success"

continent
string

The name of the continent.

Example:

"North America"

continentCode
string

The two-letter continent code.

Example:

"NA"

country
string

The full name of the country.

Example:

"United States"

countryCode
string

The two-letter country code.

Example:

"US"

region
string

The region code.

Example:

"AL"

regionName
string

The full name of the region.

Example:

"Alabama"

city
string

The name of the city.

Example:

"Decatur"

district
string

The district name, if available.

Example:

""

zip
string

The postal code associated with the IP.

Example:

35601

query
string

The queried IP address.

Example:

"68.191.141.86"