Is there a free IP geolocation database with an API?

AdvinAdvin Hosting Provider
edited December 18 in General

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

  • NeoonNeoon OGSenpai

    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.

  • xTomxTom Hosting Provider

    Sent you a DM.

    Thanked by (1)Advin

    █ 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.

  • @yoursunny said:
    Invoke birdc s r for to convert the IP into an ASN.
    It's free and unlimited.

    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.

    Thanked by (2)yoursunny Advin
  • NeoonNeoon OGSenpai

    @cochon said:
    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.

    Thanked by (2)cochon ariq01
  • @Neoon said:

    @cochon said:
    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.

    MaxMind and db-ip is not bad, but for commercial scale operation I would use https://ipinfo.io/ . They just so good.

  • AdvinAdvin Hosting Provider
    edited December 18

    @legendary said:

    @Neoon said:

    @cochon said:
    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.

    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.

    Thanked by (1)sh97

    I am a representative of Advin Servers

  • AdvinAdvin Hosting Provider
    edited December 18

    @Neoon said:

    @cochon said:
    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.

    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 :p

    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.

  • edited December 18

    @Advin said:

    @legendary said:

    @Neoon said:

    @cochon said:
    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.

    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.

    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

  • @sh97 said:

    @Advin said:

    @legendary said:

    @Neoon said:

    @cochon said:
    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.

    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.

    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

    Basically upstreams to MaxMind.

  • @zgato said:

    @sh97 said:

    @Advin said:

    @legendary said:

    @Neoon said:

    @cochon said:
    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.

    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.

    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

    Basically upstreams to MaxMind.

    Oh, my bad, didn't know that.

  • 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. :astonished:

    It wisnae me! A big boy done it and ran away.
    NVMe2G for life! until death (the end is nigh)

  • NeoonNeoon OGSenpai
    edited December 18

    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.

    Thanked by (1)ariq01
  • AuroraZeroAuroraZero ModeratorHosting Provider

    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?

  • edited December 19

    Deleted

Sign In or Register to comment.