# Adding IP2Location.io AP into the location detection

**URL:** https://publichappinessmovement.com/t/topic/4087
**Category:** Web Developers
**Tags:** backlog, webdev
**Created:** [22 December 2023 00:51 UTC](https://publichappinessmovement.com/t/topic/4087 "2023-12-22T00:51:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![IP2LocationIO](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/ip2locationio/32/1421_2.png) [@IP2LocationIO](https://publichappinessmovement.com/u/IP2LocationIO)
#### Post date: [22 December 2023 00:51 UTC](https://publichappinessmovement.com/t/topic/4087/1 "2023-12-22T00:51:11Z")

</div>

I see that only IPStack is supported in the below page.

> <https://github.com/focallocal/fl-maps/blob/master/server/methods/general/location.js>

Would it be possible to add the option to choose the [IP2Location.io](http://IP2Location.io) API?

> **[IP Geolocation API | IP2Location.io](https://www.ip2location.io/)**
>
> An IP Geolocation API tool that provides geolocation information like country, city, ISP, proxy and so on in JSON and XML formats by using users' IP addresses.

Without an API key, it will allow 500 geolocation queries per day. If subscribed to the free API plan and using its API key, the user can get 30,000 queries per month.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [22 December 2023 16:59 UTC](https://publichappinessmovement.com/t/topic/4087/2 "2023-12-22T16:59:53Z")

</div>

That sounds like an excellent idea. @Marvelxy and [@WebDev](https://publichappinessmovement.com/groups/webdev) team can anyone see any issues with making this change?
