下面的这些IP查询接口都是免费,自行测试使用
http://ip-api.com/json/202.102.249.69?fields=status,message,continent,continentCode,country,countryCode,region,regionName,city,district,zip,lat,lon,timezone,offset,currency,isp,org,as,asname,reverse,mobile,proxy,hosting,query
https://api.map.baidu.com/reverse_geocoding/v3/?ak=48444fafbb3c57708f58a144b05f7aeb&output=json&coordtype=wgs84ll&location=26.8861,112.6147
https://api.map.baidu.com/location/ip?ak=WvXU4lKjSjR15DfAbaicgqyI4a5wyp8Z&ip=124.228.143.63&coor=bd09ll
https://whois.pconline.com.cn/ipJson.jsp?ip=140.205.135.3&json=true
http://ip-api.com/json/140.205.135.3?lang=zh-CN
https://apis.map.qq.com/ws/location/v1/ip?output=json&key=KUQBZ-FYDCU-YMVVN-2DDW5-7WDYE-5JBJR&ip=140.205.135.3
https://ip.ws.126.net/ipquery?ip=140.205.135.3
https://ipapi.co/140.205.135.3/json/
https://ipwhois.app/json/140.205.135.3
有一些是需要key 可以自己去申请,大部分免费的额度都足够使用。