【Api相關】獲取IP地址統計查詢

ip 查詢

淘寶的IP接口地址: http://ip.taobao.com/instructions.php
騰訊的IP地址API接口地址:http://fw.qq.com/ipaddress
新浪的IP地址查詢接口:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js
新浪多地域測試方法:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=218.192.3.42
搜狐IP地址查詢接口(默認GBK):http://pv.sohu.com/cityjson
搜狐IP地址查詢接口(可設置編碼):http://pv.sohu.com/cityjson?ie=utf-8
搜狐另外的IP地址查詢接口:http://txt.go.sohu.com/ip/soip

ip查詢的api

**GET POST ** :http://ip.taobao.com/outGetIpInfo?ip=111.201.149.247&accessKey=alibaba-inc
其中code的值的含義為,0:成功,1:服務器異常,2:請求參數異常,3:服務器繁忙,4:個人qps超出。

{
    "data": {
        "area": "",
        "country": "中國",
        "isp_id": "100026",
        "queryIp": "111.201.149.247",
        "city": "北京",
        "ip": "111.201.149.247",
        "isp": "聯通",
        "county": "",
        "region_id": "110000",
        "area_id": "",
        "county_id": null,
        "region": "北京",
        "country_id": "CN",
        "city_id": "110100"
    },
    "msg": "query success",
    "code": 0
}
posted @ 2020-07-18 00:29  sopcce  閱讀(19)  評論(0編輯  收藏
最新chease0ldman老人