# Node flow to convert ip to coordinates?

**URL:** https://discourse.nodered.org/t/node-flow-to-convert-ip-to-coordinates/27852
**Category:** General
**Created:** [5 June 2020 19:24 UTC](https://discourse.nodered.org/t/node-flow-to-convert-ip-to-coordinates/27852 "2020-06-05T19:24:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)
#### Post date: [5 June 2020 19:39 UTC](https://discourse.nodered.org/t/node-flow-to-convert-ip-to-coordinates/27852/2 "2020-06-05T19:39:50Z")

</div>

You get the IP address of a visitor of your dashboard via the node ui\_control in msg.socketip.  
Then use a service like [https://ipstack.com/product](https://ipstack.com/product).  
I just have registered there for the free plan and playing with their API service, and it looks promising!  
Node-RED will make the http request for you and ipstack will return the geo location.

---

_[View the full topic](https://discourse.nodered.org/t/node-flow-to-convert-ip-to-coordinates/27852)._
