IP详情查询

省份/州名称,省份/州代码,城市名称,邮政编码 ,坐标信息, 纬度,经度,网络信息,时区,网络服务提供商,组织机构,(自治系统号)

接口地址: https://wzapi.com/api/dingwei

返回格式: JSON

请求方式: GET

请求示例: https://wzapi.com/api/dingwei?ip=1.1.1.1

请求参数说明:

名称 必填 类型 说明
ip string 目标IP

返回参数说明:

名称 类型 说明

返回示例:

{
  "code": 200,
  "msg": "success",
  "data": {
    "ip": "8.8.8.8",
    "country": "美国",
    "countryCode": "US",
    "region": "California",
    "regionCode": "california",
    "city": "Mountain View",
    "zip": "94043",
    "lat": "37.4056",
    "lon": "-122.0775",
    "timezone": "America/Los_Angeles",
    "isp": "AS15169 Google LLC",
    "org": "AS15169 Google LLC",
    "as": ""
  }
}

请求参数设置:

参数名称 参数值


{
  "code": 200,
  "msg": "success",
  "data": {
    "ip": "8.8.8.8",
    "country": "美国",
    "countryCode": "US",
    "region": "California",
    "regionCode": "california",
    "city": "Mountain View",
    "zip": "94043",
    "lat": "37.4056",
    "lon": "-122.0775",
    "timezone": "America/Los_Angeles",
    "isp": "AS15169 Google LLC",
    "org": "AS15169 Google LLC",
    "as": ""
  }
}

错误码格式说明:

名称 类型 说明

代码示例:

欢迎卡片