免费IP归属地查询接口

免费IP归属地查询接口

淘宝API接口

接口文档 http://ip.taobao.com/instructions
调用示例 GET http://ip.taobao.com/outGetIpInfo?ip=114.88.88.88&accessKey=alibaba-inc

返回结果

{
    "data": {
        "area": "",
        "country": "中国",
        "isp_id": "100017",
        "queryIp": "114.88.88.88",
        "city": "上海",
        "ip": "114.88.88.88",
        "isp": "电信",
        "county": "",
        "region_id": "310000",
        "area_id": "",
        "county_id": null,
        "region": "上海",
        "country_id": "CN",
        "city_id": "310100"
    },
    "msg": "query success",
    "code": 0
}

IP-API接口

接口文档 https://ip-api.com/docs/api:json
调用示例 GET http://ip-api.com/json/114.88.88.88?lang=zh-CN
返回结果

{
    "status": "success",
    "country": "中国",
    "countryCode": "CN",
    "region": "SH",
    "regionName": "上海",
    "city": "上海",
    "zip": "",
    "lat": 31.2222,
    "lon": 121.4581,
    "timezone": "Asia/Shanghai",
    "isp": "China Telecom (Group)",
    "org": "Chinanet SH",
    "as": "AS4812 China Telecom (Group)",
    "query": "114.88.88.88"
}

太平洋API接口

接口文档 http://whois.pconline.com.cn
调用示例 GET http://whois.pconline.com.cn/ipJson.jsp?ip=114.88.88.88&json=true
返回结果

{
    "ip": "114.88.88.88",
    "pro": "上海市",
    "proCode": "310000",
    "city": "上海市",
    "cityCode": "310000",
    "region": "",
    "regionCode": "0",
    "addr": "上海市 电信",
    "regionNames": "",
    "err": ""
}
  • 3
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值