2022最新ip地址查询api接口

全部测试可用。

可返回国家、省份、城市、运营商等信息 把 [IP地址] 替换成要查询的ip即可

1、网易云接口 

http://ip.ws.126.net/ipquery?ip=[IP地址] 

2、搜狐接口 

http://pv.sohu.com/cityjson?ie=utf-8 

3、爱奇艺接口

 http://ip.geo.iqiyi.com/cityjson?format=json&ip=[IP地址] 

4、ip-api接口

http://ip-api.com/json/[IP地址]?lang=zh-CN 

5、太平洋接口

http://whois.pconline.com.cn/ipJson.jsp?ip=[IP地址]&json=true

6、腾讯接口

https://apis.map.qq.com/ws/location/v1/ip?output=json&key=KUQBZ-FYDCU-YMVVN-2DDW5-7WDYE-5JBJR&ip=[IP地址] 

腾讯位置服务key申请地址https://lbs.qq.com/

7、百度

http://opendata.baidu.com/api.php?query=[IP地址]&co=&resource_id=6006&oe=utf8

https://sp0.baidu.com/8aQDcjqpAAV3otqbppnN2DJv/api.php?query=[IP地址]&co=&resource_id=6006&oe=utf8

8、ipip

http://freeapi.ipip.net/[IP地址]

9.ip-api,这个是国外的

http://ip-api.com/json/[IP地址]?lang=zh-CN

官网文档链接:

https://ip-api.com/docs/


© 版权声明
THE END
相关内容