# 示例
$ curl http://ipinfo.io

# 输出结果
{
  "ip": "111.18.43.163",
  "city": "Shanghai",
  "region": "Shanghai",
  "country": "CN",
  "loc": "31.2222,121.4581",
  "org": "AS9808 China Mobile Communications Group Co., Ltd.",
  "postal": "200000",
  "timezone": "Asia/Shanghai",
  "readme": "https://ipinfo.io/missingauth"
}

这个开源仓库存储了各种免费的 IP 查询接口,而且无须配置任何 key 就可以直接访问,可以帮助开发者快速获取指定 IP 地址的地理位置、ISP 信息、网络类型等信息。