216.73.216.240: 美国加利福尼亚0 EarthLink
请求接口(GET)
https://ip.zhisg.com/q.php?ip=[ip地址]
返回数据格式(json)
{
"head": {
"errcode": 0,
"msg": "success",
"timestamp": 1749874452
},
"body": {
"country": "中国",
"area": "0",
"province": "福建省",
"city": "莆田市",
"isp": "联通",
"ip": "175.44.42.203",
"v": 4
},
"signType": "NONE",
"encrypted": false,
"bodyEncrypted": ""
}
jQuery Ajax 调用例子
$.get("https://ip.zhisg.com/q.php?ip=175.44.42.241",
function(dataBody,status){
console.log(dataBody);
});
响应返回值
{
"head": {
"errcode": 0,
"msg": "success",
"timestamp": 1749874452
},
"body": {
"country": "中国",
"area": "0",
"province": "福建省",
"city": "莆田市",
"isp": "联通",
"ip": "175.44.42.203",
"v": 4
},
"signType": "NONE",
"encrypted": false,
"bodyEncrypted": ""
}