curl --request GET \
     -x "http://proxy.geonode.io:<port>" \
     --user "<geonode_username>-session-<randomString>-limit-<limit>:<geonode_password>" \
     --url "http://ip-api.com/json"
{
  "status": "success",
  "country": "Algeria",
  "countryCode": "DZ",
  "region": "22",
  "regionName": "Sidi Bel Abbès",
  "city": "Sidi Bel Abbes",
  "zip": "22000",
  "lat": 34.8934,
  "lon": -0.6526,
  "timezone": "Africa/Algiers",
  "isp": "4 djaweb de AS fawri",
  "org": "",
  "as": "AS36947 Telecom Algeria",
  "query": "197.203.245.147"
}

Response

200
application/json
Bandwidth-limited proxy session executed successfully.
status
string

Indicates the status of the request.

Example:

"success"

country
string

The full name of the country where the IP is located.

Example:

"Algeria"

countryCode
string

The two-letter country code.

Example:

"DZ"

region
string

The region code.

Example:

"22"

regionName
string

The full name of the region.

Example:

"Sidi Bel Abbès"

city
string

The name of the city.

Example:

"Sidi Bel Abbes"

zip
string

The postal code associated with the IP.

Example:

"22000"

lat
number

The latitude coordinate.

Example:

34.8934

lon
number

The longitude coordinate.

Example:

-0.6526

timezone
string

The timezone of the IP location.

Example:

"Africa/Algiers"

isp
string

The name of the Internet Service Provider.

Example:

"4 djaweb de AS fawri"

org
string

The organization that owns the IP address, if available.

Example:

""

as
string

The Autonomous System (AS) number.

Example:

"AS36947 Telecom Algeria"

query
string

The queried IP address.

Example:

"197.203.245.147"