Home >Backend Development >PHP Tutorial >IP interface API interface query
IP interface query http://api.apidatas.com/ip/doc Interface description IP geographical location call, this interface is not pure data, compared with any other data on the market, but... it cannot be completely 100% accurate!!! Unlimited calls can be made!!! Interface address http://api.apidatas.com/ip/ Interface parameters http://api.apidatas.com/ip/127.0. 0.1 http://api.apidatas.com/ip?ip=127.0.0.1 Interface type http://api.apidatas.com/ip/127.0.0.1/json http://api.apidatas.com /ip/127.0.0.1/js The default interface is JSON format (XML format is not provided yet) If you want to use JS calls to display IP, then we recommend: Return data Name return type description is empty, return 0 country string country or IANA (computer reserved address) If it is empty, it returns 0 area string Region: East China, Central China, East China... If it is empty, it returns 0 region string Province: Beijing, Shanghai, Shandong... If it is empty, it returns Returns 0 city string City: Hangzhou, Wuxi, Laiwu... If it is empty, it returns 0 county string If it is empty, it returns 0 isp string Operator: If it is empty, it returns 0 Error code Name error code description state 10000 IP input error
|