IP定位
获取IP定位(仅限中国)
数据来源 https://cz88.net 纯真IP数据库

接口地址: https://api.htloli.com/api/v2/ip

返回格式: JSON

请求方式: GET / POST

请求示例: https://api.htloli.com/api/v2/ip?authorization=你的Authorization

请求参数说明:

名称 必填 类型 说明
mode string 查询模式. eg:默认为(auto)自动获取IP,可用参数为:input
input string 自定义查询ip. eg:查询相关IP的信息,仅限mode模式为input时可用

返回参数说明:

名称 类型 说明
ip string IP地址
country string 国家
province string 省市
city string 城市
county string 郡&县
isp string 运营商
area string 地区
from string 数据来源

额外说明:

暂无额外说明

返回示例:

{
    "ip": "27.37.225.222",
    "country": "中国",
    "province": "广东",
    "city": "东莞市",
    "county": "",
    "isp": "联通",
    "area": "中国广东东莞市联通",
    "from": "https://cz88.net 纯真数据库"
}
{{ item.label }} {{ item.value }} 请求



                                

                                

                                
MarkDown编辑器

代码示例:

暂无代码示例