# Add IP info lookup for Admins

**URL:** <https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626>\
**Category:** Feature\
**Tags:** rfc, spec\
**Created:** [2014 年5 月 14 日 07:13 UTC](https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626 "2014-05-14T07:13:11Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![coderholic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderholic/32/108825_2.png) [@coderholic](https://meta.discourse.org/u/coderholic)\
发布日期： [2014 年5 月 14 日 14:05 UTC](https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626/7 "2014-05-14T14:05:13Z")

</div>

IP locations don’t change that frequently, and even less frequently at the country level, so looking up the current geolocation details is probably going to be OK.

To get this up and running quickly you could use the [http://ipinfo.io](http://ipinfo.io) API, which gives you a bunch of different details:

```
$ curl ipinfo.io/67.188.232.130
{
  "ip": "67.188.232.130",
  "hostname": "c-67-188-232-130.hsd1.ca.comcast.net",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.4192,-122.0574",
  "org": "AS7922 Comcast Cable Communications, Inc.",
  "postal": "94043"
}

```

---

_[View the full topic](https://meta.discourse.org/t/add-ip-info-lookup-for-admins/15626)._
