curl --request GET \
     -x "http://proxy.geonode.io:<port>" \
     --user "<geonode_username>-session-<session_id>-lifetime-<lifetime>:<geonode_password>" \
     --url "http://ip-api.com/json"
{
  "status": "success",
  "continent": "Africa",
  "continentCode": "AF",
  "country": "Algeria",
  "countryCode": "DZ",
  "region": "05",
  "regionName": "Batna",
  "city": "Batna City",
  "district": "",
  "zip": "05000",
  "lat": 35.5064,
  "lon": 6.0707,
  "timezone": "Africa/Algiers",
  "offset": 3600,
  "currency": "DZD",
  "isp": "4 djaweb de AS fawri",
  "org": "",
  "as": "AS36947 Telecom Algeria",
  "asname": "ALGTEL-AS",
  "mobile": false,
  "proxy": false,
  "hosting": false,
  "query": "192.168.1.1"
}

Response

200
application/json
Proxy session created successfully with the specified lifetime.
status
string

Indicates the status of the request.

Example:

"success"

continent
string

The continent where the IP is located.

Example:

"Africa"

continentCode
string

The two-letter continent code.

Example:

"AF"

country
string

The full name of the country.

Example:

"Algeria"

countryCode
string

The two-letter country code.

Example:

"DZ"

region
string

The region code.

Example:

"05"

regionName
string

The full name of the region.

Example:

"Batna"

city
string

The name of the city.

Example:

"Batna City"

district
string

The district name, if available.

Example:

""

zip
string

The postal code associated with the IP.

Example:

"05000"

lat
number

The latitude coordinate.

Example:

35.5064

lon
number

The longitude coordinate.

Example:

6.0707

timezone
string

The timezone of the IP location.

Example:

"Africa/Algiers"

offset
integer

The time offset in seconds from UTC.

Example:

3600

currency
string

The currency code of the country.

Example:

"DZD"

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"

asname
string

The name associated with the AS number.

Example:

"ALGTEL-AS"

mobile
boolean

Indicates whether the connection is from a mobile network.

Example:

false

proxy
boolean

Indicates whether the IP is a known proxy.

Example:

false

hosting
boolean

Indicates whether the IP is from a hosting provider.

Example:

false

query
string

The queried IP address.

Example:

"192.168.1.1"