IP API

LBS现在越来越流行了(点击看看

提供几个ip地址API

腾讯的IP地址API接口地址:http://fw.qq.com/ipaddress
新浪的IP地址查询接口:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js
新浪另外一个IP地址查询接口:http://counter.sina.com.cn/ip
新浪多地域测试方法: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

 

另外一家国外公司:www.quova.com

使用方法:http://developer.quova.com/docs

示例:

http://api.quova.com/v1/ipinfo/114.242.156.66?apikey=100.hywspb4m4tvth4b259my&sig=57c3f47f385126504c3c2e735f8b3c34&format=xml

posted @ 2011-09-01 11:43  Codefor  阅读(622)  评论(0编辑  收藏  举报