欢迎来到Wabc (wabc.cc)

全球IP地址查询企业版_易源数据

价格: ¥ 99 金币可抵¥ 1

最后更新: 2019-12-15 20:54:45

演示地址:

安装费: 免费

分类
Classtype
Brand
Language
Database
Encrypt
Authorize
大小
10 MB
发货方式
自动发货
下载方式
远程下载

API接口

IP地址归属地

IP地址归属地

调用地址:http(s)://ali-ip.showapi.com/ip

请求方式:GET

返回类型:JSON

API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)

调试工具:去调试

请求参数(Headers)

无参数

请求参数(Query)
名称类型是否必须描述
ipSTRING必选ip地址
请求参数(Body)

无参数

请求示例
curl
Java
C#
PHP
Python
ObjectC
curl -i -k --get --include 'https://ali-ip.showapi.com/ip?ip=223.5.5.5'  -H 'Authorization:APPCODE 你自己的AppCode'
    正常返回示例
    {
      "showapi_res_code": 0,
      "showapi_res_error": "",
      "showapi_res_body": {
        "region": "云南",   //省级
        "isp": "电信",      //运营商
        "en_name": "China",   
        "country": "中国",   //国家
        "city": "昆明",      //市级
        "ip": "106.61.28.243",   //IP
        "ret_code": 0,
        "county": "五华",       //县级
        "continents": "亚洲",    //洲,大陆
        "city_code": "530102",   城市代码
        "lnt": "102.70786",      //经度
        "en_name_short": "CN",   //国家简称
        "lat": "25.03521"        //纬度
      }
    }
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    失败返回示例
    {
      "showapi_res_error": "",
      "showapi_res_id": "aa545197f03d4df1b9c312698a10f638",
      "showapi_res_code": 0,
      "showapi_res_body": {
        "remark": "ip格式不正确!",
        "ip": "116.4.2101.1",
        "ret_code": -1
      }
    }
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    错误码定义

    无数据

    0 (0%)

    好评

    0 (0%)

    中评

    0 (0%)

    差评

    • 在线客服

      点击这里给我发消息

      官方微信

      仅处理投诉、举报及平台使用问题;
      商品问题请咨询商家客服!

    浏览记录