menu FreeAPI 文章列表
face
腾讯类
keyboard_arrow_down
videogame_asset
游戏类
keyboard_arrow_down
ondemand_video
视频类
keyboard_arrow_down
photo_size_select_actual
图片类
keyboard_arrow_down
chrome_reader_mode
站长类
keyboard_arrow_down
location_on
网络类
keyboard_arrow_down

IP信息

使用教程


接口地址: https://api.amogu.cn/api/ipinfo

返回示例:

{
  "ip": "127.0.0.1",
  "pro": "",
  "proCode": "999999",
  "city": "",
  "cityCode": "0",
  "region": "",
  "regionCode": "0",
  "addr": " 本机地址",
  "regionNames": "",
  "err": "noprovince"
}

Example

请求示例:

https://api.amogu.cn/api/ipinfo/?ip=127.0.0.1

						https://api.amogu.cn/api/ipinfo/?ip=127.0.0.1
				

请求参数

名称必填类型说明
ipstring要查询的ip地址