Share several free IP address query API interfaces
1. IP address query interface: http://apis.juhe.cn/ip/ip2addr
Go to https://www.juhe.cn/docs/api/id/1 to apply for APPKEY
2. Sina's IP address query interface: http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js
Sina this should be said to be the best. And the returned data type is in a customizable format (the default is plain text format, and according to the parameter definition of format, JS and Json formats can also be returned).
3. Sina multi-regional test method:
http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=219.242.98.111
4. Sohu IP address query interface (default GBK): http://pv.sohu.com/cityjson
5. Sohu IP address query interface (encoding can be set): http://pv.sohu.com/cityjson?ie=utf-8
6. Another IP address query interface of Sohu: http://txt.go.sohu.com/ip/soip