# 获取IP信息

摘要

获取IP地址的详细信息

接口地址:

https://api.vvhan.com/api/ipInfo

请求方式:

GET

返回格式:

JSON

请求示例:

https://api.vvhan.com/api/ipInfo

无指定IP:

https://api.vvhan.com/api/ipInfo

指定IP:

https://api.vvhan.com/api/ipInfo?ip=58.154.0.0

请求参数:
名称必填说明

ip输入IP地址

返回状态:
名称必填说明

success成功:true,失败:false

message返回状态描述信息

返回示例:

{"success":true,"ip":"58.154.0.0","info":{"country":"中国","prov":"辽宁省","city":"沈阳市","isp":"教育网"}}