Collection of Free and Useful IP Lookup APIs
Before developing IPinfo, xiaoz constantly searched for free and useful IP query interfaces. Now that IPinfo is basically complete, the collected IP query interfaces are organized and shared here to help developers.

Pure Truth IP (Chunzhen IP)
The Pure Truth official website http://www.cz88.net/ provides IP database downloads for offline use. However, no suitable online query interface was found, so xiaoz developed an online IP query interface using the Pure Truth IP database.
- Interface Address: https://api.ttt.sh/ip/qqwry/
- Help Documentation: https://doc.xiaoz.org/#/api/ip-query
- Frequency Limit: 300 requests per 10 minutes
Taobao IP Address Library
This query interface is provided by Taobao and has been online for a long time, making it stable and reliable.
- Interface Address: /service/getIpInfo.php?ip=
- Interface Instructions: http://ip.taobao.com/instructions.html
- Frequency Limit: Each user's access frequency must be less than 1 qps
IPIP
This interface is provided by ipip.net. Currently, it may be the most accurate IP query interface in China, but the commercial version is too expensive. The free version interface is provided here.
- Interface Address: http://freeapi.ipip.net/118.28.8.8
- Interface Documentation: api.html
- Frequency Limit: 1000 requests per day
IP.SB
This query interface's data comes from MaxMind's commercial database and is accurate for querying foreign IPs. The author also provides an image hosting interface called sm.ms, which you may have heard of.
- Interface Address: https://api.ip.sb/ip
- Interface Documentation: https://ip.sb/
- Frequency Limit: Unknown
Summary
The above are some free database query interfaces collected and organized by xiaoz. Welcome to leave comments to supplement.
IPinfo integrates all the above query interfaces. Click here to visit: https://ip.awk.sh/