Is there a free IP geolocation database with an API?
I'm searching online, but pretty much every IP database has some some of restriction like with the number of requests, ability to use it for commercial purposes, API limitations, or the number of requests per second.
Is there anything that is completely free, with no such limitations, that can convert an IP into a rough city/country/geolocation/ASN through an API?
I am a representative of Advin Servers
Comments
Not really that I am aware off.
Either its limited as you say or inaccurate.
Even if you pay, there is no best, they only have like xx% accuracy anyway.
Free NAT KVM | Free NAT LXC | Bobr
ITS WEDNESDAY MY DUDES
Sent you a DM.
█ xTom - https://xtom.com/ - Global Dedicated Servers, Colocation and IP Transit. | Subscribe our newsletter
█ V.PS - https://v.ps/ - Global VPS Hosting. | Mastodon @[email protected] | @[email protected]
Invoke birdc s r for to convert the IP into an ASN.
It's free and unlimited.
Accepting submissions for IPv6 less than /64 Hall of Incompetence.
If your intent is to find out where they are located, ASNs are quite inaccurate beyond most consumer ISPs.
You could have an ASN geo located in Antarctica but most of your traffic originates from North America, for example.
The all seeing eye sees everything...
Rough? depending on your requirement for accuracy and timeliness I found self hosting Maxmind's free database the better option and just rolling a simple API for my own use. Not seen much negative feedback on its accuracy but would be interested to know other's experience. It seems to do the job for me, but I'm not using it for arbitrating sign-ups et al.
Well, the free Maxmind geo db is meh, there are better ones.
https://db-ip.com/
Maxmind has a lot of spots with no data, db-ip has at all.
On accuracy well, they all suck, some suck less.
Free NAT KVM | Free NAT LXC | Bobr
ITS WEDNESDAY MY DUDES
MaxMind and db-ip is not bad, but for commercial scale operation I would use https://ipinfo.io/ . They just so good.
I like IPInfo and that's what I already use for most of my projects.
It is more for curiosity, if there is anything that is truly open and free with no limitations that anyone has to worry about. I want to share my projects, and being able to use an IP API without needing an API key or anything special would just be nice to have. For commercial use, I would be fine with paying, but this is more for my personal projects.
I could look into making my own free IP database at some point as well.
I am a representative of Advin Servers
https://www.cheervision.co/ipinfo ?
My virtualized amusement park: https://github.com/oneclickvirt
I also agree that Maxmind is not great. I don't think they really do much validation themselves. I always found IPInfo to be the "best" database in terms of accuracy. db-ip might also be good, though I never used it before
I am a representative of Advin Servers
I have no idea what that does (actually https://www.cheervision.co/ipinfo/tools/ ) - the IP address is completely wrong (wrong continent) and so is the latency info.
Try ip-api.co
I use it for nws.sh
Only caveat - you can't use https on the free version, so have to run it on server (ie you can't run as JS on a website)
Accuracy is kinda a hit/miss, but it's been good so far
The Ultimate Speedtest Script | Get Instant Alerts on new LES/LET deals | Cheap VPS Deals | VirMach Flash Sales Notifier
FREE KVM VPS - FreeVPS.org | FREE LXC VPS - MicroLXC
Basically upstreams to MaxMind.
Oh, my bad, didn't know that.
The Ultimate Speedtest Script | Get Instant Alerts on new LES/LET deals | Cheap VPS Deals | VirMach Flash Sales Notifier
FREE KVM VPS - FreeVPS.org | FREE LXC VPS - MicroLXC
On a related note. Done a WhatsMyIP lookup on an IP that was linked to a domain that I wanted to reuse - it came back as still owned by Nexus Bytes.
It wisnae me! A big boy done it and ran away.
NVMe2G for life! until death (the end is nigh)
Tried https://ipgeolocation.io/api/ipgeolocation
big sucky, got a bunch of my servers incorrectly placed.
Since I fetch them per machine, IP limit isn't an issue but still.
edit: duh, ipinfo has it right, time so switch, brb.
Free NAT KVM | Free NAT LXC | Bobr
ITS WEDNESDAY MY DUDES
Been building one of these since 1996. Probably will die still building it.
Free Hosting at YetiNode | Cryptid Security | URL Shortener | LaunchVPS | ExtraVM | Host-C | In the Node, or Out of the Loop?
Deleted
You can use https with them, I just stumbled across them.
Open your browser developer console.
It makes a https call right, so it does support https.
You can't call
But what if you just copy that api call with the headers like this?
gg ez
Free NAT KVM | Free NAT LXC | Bobr
ITS WEDNESDAY MY DUDES
Yea ip-api.com is way better.
Free NAT KVM | Free NAT LXC | Bobr
ITS WEDNESDAY MY DUDES
I mean, ip-api.com is just Maxmind, and Maxmind's accuracy is rather interesting (at least for DC blocks, residential are mostly fine)
Good to know, well, as expected, the free maxmind db is crap but the paid one seems good.
Free NAT KVM | Free NAT LXC | Bobr
ITS WEDNESDAY MY DUDES
Origin and Referer headers cannot be modified from browser JavaScript.
Accepting submissions for IPv6 less than /64 Hall of Incompetence.