pulkitjalan / ip-geolocation

IP Geolocation Wrapper with Laravel Support
MIT License
85 stars 44 forks source link

[Feature request] Using IPinfo.io for IP information (IP Geolocation + ASN) #66

Open abdullahdevrel opened 1 day ago

abdullahdevrel commented 1 day ago

I would like to recommend ipinfo.io for IP data.

IPinfo vs IP-api

Usage example:

curl https://ipinfo.io/8.8.8.8
{
    "ip": "8.8.8.8",
    "hostname": "dns.google",
    "anycast": true,
    "city": "Mountain View",
    "region": "California",
    "country": "US",
    "loc": "37.4056,-122.0775",
    "org": "AS15169 Google LLC",
    "postal": "94043",
    "timezone": "America/Los_Angeles"
}

Documentation: https://ipinfo.io/developers

Free IP databases: https://ipinfo.io/products/free-ip-database


Consider including IPinfo in the project for accurate data and generous free access. Please let me know what you think. Thank you very much.

NikolaiT commented 12 hours ago

And in case you need something that is equally as accurate but much much cheaper, try:

https://ipapi.is/