请求地址:https://iptesting.cn/serve/check/geoIp
请求参数:https://iptesting.cn/serve/check/geoIp?ip=xxx.xxx.xxx.xxx&apiKey=
请求方式:GET
请求地址:https://iptesting.cn/serve/check/geoIp
请求头部:Content-Type: application/json
请求参数:
{
"ip": "xxx.xxx.xxx.xxx",
"apiKey": ""
}
请求方式:POST
返回参考json
{
"msg": "操作成功",
"code": 200,
"data":"{\"city\":\"未知\",\"connectionTypeName\":\"公司\",\"country\":\"英国\",\"country_code\":\"GB\",\"evaluate\":\"您的IP使用者是机房类型,网络线路属于公司,有接入服务器记录,检测不及格,不建议使用。\",\"ip\":\"82.21.77.244\",\"ipAddress\":\"82.21.77.244\",\"isAbuser\":false,\"isAnonymousVpn\":false,\"isAttacker\":false,\"isBlacklist\":false,\"isCloudProvider\":false,\"isHostingProvider\":true,\"isPublicProxy\":false,\"isTorExitNode\":false,\"isp\":\"Wisdom Cloud Internet Technology Pte.\",\"language\":\"English\",\"latitude\":51.4964,\"longitude\":-0.1224,\"network\":\"82.21.77.192/26\",\"owner\":\"Skyquantum Internet Service LLC\",\"ownerType\":\"business\",\"ownerTypeName\":\"企业/商务\",\"points\":55,\"registered_country\":\"英国\",\"registered_country_code\":\"GB\",\"staticIpScore\":0,\"timeZone\":\"Europe/London\",\"userCount\":0,\"userType\":\"hosting\",\"userTypeName\":\"机房\"}"
}
参数说明
code:200 成功 ;4001 输入ip不对;4002 输入key不对;4003 积分不足;4004 API故障,请联系技术处理
msg:提示信息
data:IP具体报告内容
data参数说明
"country": "美国", //国家名称【中文】"country_code": "US", //国家代号
"registered_country": "美国",//注册国家名称【中文】
"registered_country_code": "US",//注册国家代号,和country_code不一样表示非原生IP
"network": "65.75.220.30\/32", //网关
"ipAddress": "65.75.220.30", //IP地址
"isp": "Eons Data Communications Limited",//网络提供商
"isHostingProvider": true,//是否机房
"isPublicProxy": false,//是否公共代理
"isAnonymousVpn": false,//是否匿名V*p*n
"isTorExitNode": false,//是否tor节点
"isBlacklist": false,//是否黑名单
"isCloudProvider": false,//是否云服务器商
"isAttacker": false,//是否有攻击记录
"userCount": 2, //大概多少用户共用该IP,能查出大于1,其实都挺多用户在最近使用该IP了,3个含3个以上都很糟糕
"staticIpScore": 0, //IP独立性
"timeZone": "America Los_Angeles", //IP所在地时区
"language": "English", //IP所在地主要使用语言
"longitude": -121.7946,//IP所在经度
"latitude": 37.2379,//IP所在纬度
"city": "Costa Mesa",//IP所在城市
"points": 50, //整体评分,60及格,80以上优良
"userType": "residential",//使用者特征
"ip": "65.75.220.30",//IP
"userTypeName": "住宅",//使用者特征【中文】
"connectionTypeName": "ISP",//网络类型
"owner": "Metropolis Networks INC", //归属商
"ownerTypeName": "ISP",//归宿商类型【中文】
"ownerType": "isp",//归宿商类型
"isAbuser": false,//是否滥用
"evaluate": "您的IP使用者是住宅类型,网络线路属于ISP(住宅),有接入服务器记录,可能是机场,容易被关联,黑名单或机场不建议使用。"//评语