get http://ip-api.com/json/
This API requires authentication using BasicAuth
. Provide credentials in the format:
- Username (
--user
):<geonode_username>-session-<randomString>-limit-<limit>
- Password (
--user
):<geonode_password>
- Proxy (
--proxy
):http://proxy.geonode.io:10001
- Accept Header: Specifies the response format (
application/json
).
Example Response:
{
"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": "192.168.1.1"
}
The limit feature is helpful if the usage requires a certain amount of bandwidth allocation to avoid overcharging.
The limit unit is in Megabytes. Example: -limit-1000