{
"ok": true,
"ip": "216.73.216.24",
"db": "v4",
"region": {
"raw": "United States|California|Monrovia|Amazon.com, Inc.|US",
"country": "United States",
"region": "California",
"province": "Monrovia",
"city": "Amazon.com, Inc.",
"isp": "US"
},
"network": {
"type": "datacenter",
"isProxy": false,
"isVpn": false,
"isMobile": false,
"isDatacenter": true,
"confidence": 75,
"reason": "datacenter keyword: amazon"
},
"risk": {
"isRisk": false,
"level": "none",
"score": 0,
"tags": [],
"reasons": [],
"source": "none"
},
"ioCount": 6
}
curl "https://ipk.nxzlm.com/ip.php?ip=8.8.8.8&db=auto"
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| ip | string | 否 | 要查询的 IP;不传则默认使用访问者的 REMOTE_ADDR |
| db | string | 否 | auto / v4 / v6,默认 auto |
| 字段 | 类型 | 说明 |
|---|---|---|
| ok | boolean | 是否成功 |
| ip | string | 查询的 IP |
| db | string | v4 或 v6 |
| network.type | string | 网络类型:datacenter / mobile / residential / private / unknown |
| network.isProxy | boolean | 是否疑似代理(启发式判断) |
| network.isVpn | boolean | 是否疑似 VPN(启发式判断) |
| network.isMobile | boolean | 是否疑似手机网络(启发式判断) |
| network.isDatacenter | boolean | 是否疑似机房/云厂商(启发式判断) |
| region.raw | string | 离线库返回的原始字符串 |
| region.country | string | 国家 |
| region.region | string | 地区 |
| region.province | string | 省份 |
| region.city | string | 城市 |
| region.isp | string | 运营商 |
| ioCount | number | 本次查询读取次数 |