# Url return position (latitude, longtitude)

**URL:** <https://discourse.nodered.org/t/url-return-position-latitude-longtitude/10512>\
**Category:** General\
**Created:** [24 April 2019 16:31 UTC](https://discourse.nodered.org/t/url-return-position-latitude-longtitude/10512 "2019-04-24T16:31:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaara7271](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gaara7271/32/7474_2.png) [@gaara7271](https://discourse.nodered.org/u/gaara7271)\
**Post date:** [24 April 2019 16:31 UTC](https://discourse.nodered.org/t/url-return-position-latitude-longtitude/10512/1 "2019-04-24T16:31:03Z")

</div>

hello, i know a url " [http://ipv4bot.whatismyipaddress.com](http://ipv4bot.whatismyipaddress.com/)" return IP wan for me.  
now i need url like that return latitude,longtitude for me.  
if you know, please share it with me.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 April 2019 16:44 UTC](https://discourse.nodered.org/t/url-return-position-latitude-longtitude/10512/2 "2019-04-24T16:44:17Z")

</div>

How do you expect a remote server to know your location, and what has that got to do with node-red?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 April 2019 19:40 UTC](https://discourse.nodered.org/t/url-return-position-latitude-longtitude/10512/3 "2019-04-24T19:40:23Z")

</div>

Hi @gaara7271

Geolocating an IP address is highly unreliable. It depends entirely on how you are connected to the internet.

There are services that will return an approximation, but I'd never want to rely on it.

For example, it routinely identifies my home to be about 200 miles north in the city where my ISP happens to be based.

Likewise, when sat in my work office in the UK, lots of the internet thinks I'm sat in Germany, again due to how my corporate network is configured.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 April 2019 20:00 UTC](https://discourse.nodered.org/t/url-return-position-latitude-longtitude/10512/4 "2019-04-24T20:00:43Z")

</div>

It had not occurred to me that @gaara7271 meant getting the location from the IP, as @knolleary says, that basically doesn't work.
