* API接口可能会因为各种网络原因和攻击都可能产生阻断,请开发时做好冗余和异常处理
* 所有接口同时兼容IPv4和IPv6
http协议:http://www.paoto.com/api.php
https协议:https://www.paoto.com/api.php
get
q
https://www.paoto.com/api.php?q=8.8.8.8
{
"ipv6":"false",
"myip":"8.8.8.8",
"ipstart":"8.8.8.8",
"ipend":"8.8.8.8",
"country":"美国",
"location":"美国 加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器",
"local":"加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器",
"author":"[email protected]",
"website":"https://www.paoto.com"
}
http://www.paoto.com/api.php?q=2406:840::1
{
"ipv6":"true",
"myip":"2406:840::1",
"ipstart":"2406:840::",
"ipend":"2406:840:f:ffff::",
"country":"全球",
"location":"全球 ZX Network Anycast网段",
"local":"ZX Network Anycast网段",
"author":"[email protected]",
"website":"https://www.paoto.com"
}
http://www.paoto.com/api.php?q=www.qq.com
{
"ipv6":"true",
"myip":"240e:97c:2f:2::4c",
"ipstart":"240e:97c::",
"ipend":"240e:97c:fff:ffff::",
"country":"中国广东省广州市",
"location":"中国广东省广州市 中国电信IDC",
"local":"中国电信IDC",
"author":"[email protected]",
"website":"https://www.paoto.com"
}