API V1
API v1 Overview
Version 1 is the legacy query-string command API retained for backward compatibility.
Base URL
Use https://api.iplocation.net for production requests. Existing integrations can keep calling the root command endpoint with the cmd query parameter.
Versioned command URL
The same command interface is also available at /v1, so /?cmd=ip&ip=8.8.8.8 and /v1?cmd=ip&ip=8.8.8.8 use the same v1 behavior.
New integrations
Use API v2 for new resource-style endpoints such as /v2/ip-location and /v2/proxy-check.
Response formats
JSON is the default. Supported optional format values are json plain xml jsonp php csv serialized.