Comparison of some different mostly free GeoIP APIs I found around the internet.
Go to https://geoip.emrik.org to do your own benchmark or lookup an IP address using multiple APIs.
Feel free to add any APIs you find to the list by creating a pull request or an issue.
Url | Https | Limit | Clientside | Client lookup delay | Serverside delay |
---|---|---|---|---|---|
http://ip-api.com/ | 45/min | 124 ms | 25 ms | ||
https://ipapi.co/ | 1000/day | 378 ms | 205 ms | ||
https://ipbase.com/ | 150/month | 185 ms | 89 ms | ||
https://ipgeolocation.io/ | 1000/day | n/a | 142 ms | ||
https://ipstack.com/ | 1000/month | 274 ms | 145 ms | ||
https://ipwhois.io/ | 10000/month | 127 ms | 26 ms | ||
https://getgeoapi.com/ | 300/day | 171 ms | 122 ms | ||
https://geo.ipify.org/ | 333/account | n/a | 852 ms | ||
https://www.ip2location.io/ | 30000/month | 131 ms | 62 ms | ||
https://ipinfo.io/ | 50000/month | n/a | 198 ms | ||
https://dev.maxmind.com/geoip/geoip2/geolite2/ | Unlimited | n/a | 310 ms | ||
https://www.maxmind.com/en/geoip2-city-database | 16667/account | n/a | 176 ms |
API | Serverside Lookup |
---|---|
ip-api.com | { |
ipapi.co | { |
ipbase.com | { |
ipgeolocation.io | { |
ipstack.com | { |
ipwhois.io | { |
getgeoapi.com | { |
geo.ipify.org | { |
ip2location.io | { |
ipinfo.io | { |
geolite2 | { |
geoip2 | { |