有哪些免费的IP地址归属地查询API接口?
免费的 ip 所属地区 api 接口
为找出免费的 ip 所属地区 api 接口,您可以参考以下推荐:
请求:http://ip-api.com/json/117.136.12.79?lang=zh-cn响应:{ "status": "success", "country": "中国", "countrycode": "cn", "region": "gd", "regionname": "广东", "city": "广州市", "zip": "", "lat": 23.1181, "lon": 113.2539, "timezone": "asia/shanghai", "isp": "china mobile communications corporation", "org": "china mobile", "as": "as56040 china mobile communications corporation", "query": "117.136.12.79"}
请求:http://opendata.baidu.com/api.php?query=117.136.12.79&co=&res...响应:{ "status": "0", "t": "", "set_cache_time": "", "data": [ { "location": "广东省广州市 移动", "titlecont": "ip地址查询", "origip": "117.136.12.79", "origipquery": "117.136.12.79", "showlamp": "1", "showlikeshare": 1, "shareimage": 1, "extendedlocation": "", "originquery": "117.136.12.79", "tplt": "ip", "resourceid": "6006", "fetchkey": "117.136.12.79", "appinfo": "", "role_id": 0, "disp_type": 0 } ]}
请求:https://ip.useragentinfo.com/json?ip=117.136.12.79响应:{ "country": "中国", "short_name": "cn", "province": "广东省", "city": "", "area": "", "isp": "移动", "net": "手机网络", "ip": "117.136.12.79", "code": 200, "desc": "success"}
请求:https://api.vore.top/api/IPdata?ip=117.136.12.79响应:{ "code": 200, "msg": "SUCCESS", "ipinfo": { "type": "ipv4", "text": "117.136.12.79", "cnip": true }, "ipdata": { "info1": "广东省", "info2": "广州市", "info3": "", "isp": "基站" }, "adcode": { "o": "广东省广州市 - 基站", "p": "广东", "c": "广州", "n": "广东-广州", "r": "广东-广州", "a": "440100", "i": true }, "tips": "接口由VORE-API(https://api.vore.top/)免费提供", "time": 1666772899}
此外,这些 api 的使用方式通常是通过 http get 请求,在请求中附带 ip 地址作为查询参数。您可以根据各自 api 的文档来使用。