This API requires authentication using BasicAuth. Provide credentials in the format:

  • Username (--user): <username>-session-<randomString>-limit-<limit>
  • Password (--user): <password>
  • Proxy (--proxy): http://proxy.geonode.io:10001
  • Accept Header: Specifies the response format (application/json).

Example cURL request:

curl --request GET \
     --proxy "http://proxy.geonode.io:10001" \
     --user "{username}-session-{randomString}-limit-{limit}:{password}" \
     --url "http://ip-api.com/json" \
     --header "Accept: application/json"

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

Language