免费的Geo信息查询API

推荐说明

  1. 仅有IP

  2. 有IP,有经纬度、时区(或UTC表示)、语言(或国家代码)中的1项

  3. 有IP,有经纬度、时区(或UTC表示)、语言(或国家代码)中的2项

  4. 有IP,有经纬度、时区(或UTC表示)、语言(或国家代码)中的3项

  5. 满足上述要求的同时,最符合浏览器注入数据规范

API可用性请求限制格式推荐
可传IP&可不传入IP
https://webapi-pc.meitu.com/common/ip_location
加载失败
3
https://www.ip.cn/api/index?ip=&type=0
加载失败
1
https://whois.pconline.com.cn/ipJson.jsp?ip=&json=trueGB2312
加载失败
1
https://api.vore.top/api/IPdata?ip=
加载失败
1
https://api.ip.sb/geoip/GeoLite data created by MaxMind暂无
加载失败
4
https://api.ip2location.io/500/day
加载失败
3.5
https://realip.cc/
加载失败
4
http://demo.ip-api.com/json/?lang=zh-CN
加载失败
4
https://ip-api.io/json大陆>1000ms
加载失败
4
https://ipapi.co/json/大陆 x
https://api.ipapi.is大陆>1000ms
加载失败
3
https://api.ip.sb/geoip大陆>1000ms
加载失败
3
https://api.qjqq.cn/api/Local
加载失败
3
不可传入IP
https://ip.useragentinfo.com/json
加载失败
http://httpbin.org/ip
加载失败
https://cdid.c-ctrip.com/model-poc2/h14.107.174.184
https://vv.video.qq.com/checktime?otype=ojson
加载失败
https://api.uomg.com/api/visitor.info?skey=1
加载失败
https://test.ipw.cn/api/ip/myip?json14.107.174.184
https://api.ipify.org14.107.174.184
https://ipv4.my.ipinfo.app/api/ipDetails.php大陆不稳定
加载失败
https://g3.letv.com/r?format=1
加载失败
3
只能&必须传入IP
http://opendata.baidu.com/api.php?co=&resource_id=6006&oe=utf8&query=
加载失败
1
https://get.geojs.io/v1/ip/geo/121.8.215.106.json
加载失败
3
https://ipinfo.io/widget/demo/121.8.215.106
加载失败
3
https://ipapi.com/ip_api.php?ip=121.8.215.106
加载失败
5
https://db-ip.com/demo/home.php?s=121.8.215.106
加载失败
5
https://mesh.if.iqiyi.com/aid/ip/info?version=1.1.1&ip=121.8.215.106
加载失败
1
仅需获取IP
curl ifconfig.me curl ifconfig.es curl icanhazip.com curl ipinfo.io/ip curl ipecho.net/ip curl ident.me curl eth0.me curl ipaddr.site curl ipaddress.sh curl l2.io/ip curl tnx.nl/ip curl wgetip.com curl ip.tyk.nu curl curlmyip.net curl ipcalf.com curl checkip.amazonaws.com