最近有个项目需要用到手机归属地信息,所有网上找到了一些免费的API。但是因为是免费的,所有很多都有限制,比如每天只能查询多少次等。
本站提供的
API地址: /api/mobile.php?mobile=13188888888
参数:mobile ->手机号码(7位到11位)
返回格式:JSON
实例结果:
{
"ID": "18889",
"prefix": "1318888",
"province": "山东",
"city": "济南",
"operator": "中国联通",
"areaCode": "0531",
"zip": "250000",
"ret": 0,
"from": "/api/mobile.php"
}
大家可以微信关注下面小程序即可体验:
API详情:《过往记忆博客免费手机归属地API》
淘宝网
API地址: http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=13188888888
参数:tel ->手机号码
返回格式:JSON
实例结果:
__GetZoneResult_ = {
mts:'1318888',
province:'山东',
catName:'中国联通',
telString:'13188888888',
areaVid:'30501',
ispVid:'137815084',
carrier:'山东联通'
}
财付通
API地址: http://life.tenpay.com/cgi-bin/mobile/MobileQueryAttribution.cgi?chgmobile=13188888888
参数:chgmobile -> 手机号码
返回格式:xml
实例结果:
<?xml version="1.0" encoding="gb2312" ?>
<root>
<ENV_CgiName>/cgi-bin/mobile/MobileQueryAttribution.cgi</ENV_CgiName>
<ENV_ClientAgent>Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36</ENV_ClientAgent>
<ENV_ClientIp>192.168.1.1</ENV_ClientIp>
<ENV_QueryString>chgmobile=13188888888</ENV_QueryString>
<ENV_RequestMethod>GET</ENV_RequestMethod>
<ENV_referer></ENV_referer>
<chgmobile>13188888888</chgmobile>
<city>济南 </city>
<province>山东 </province>
<retcode>0</retcode>
<retmsg>OK</retmsg>
<supplier>联通 </supplier>
<tid></tid>
</root>
360
API地址:http://cx.shouji.360.cn/phonearea.php?number=13188888888
参数:number -> 手机号码
返回格式:JSON
实例结果:
{
"code": 0,
"data": {
"province": "山东",
"city": "济南",
"sp": "联通"
}
}
百付宝
API地址: https://www.baifubao.com/callback?cmd=1059&callback=iteblog&phone=15850781443
参数:phone ->手机号码,callback -> 回调函数 cm,d->未知(必须)
返回格式:JSON
返回结果:
iteblog(
{
"meta": {
"result": "0",
"result_info": "",
"jump_url": ""
},
"data": {
"operator": "联通",
"area": "山东",
"area_operator": "山东联通",
"support_price": {
"100": "115",
"500": "507",
"1000": "1000",
"2000": "1996",
"3000": "2994",
"5000": "4990",
"10000": "9980",
"20000": "19955",
"30000": "29940",
"50000": "49894"
},
"promotion_info": [ ]
}
}
)
本博客文章除特别声明,全部都是原创!原创文章版权归过往记忆大数据(过往记忆)所有,未经许可不得转载。
本文链接: 【最新可用的免费手机归属地查询API收集】(https://www.iteblog.com/archives/1725.html)



今天用了 本站提供的手机归属地查询,第一条本站的json,但是好像有请求次数限制,现在不能用了。
目前每个IP每天限制访问100次。超过100次将跳转到本站首页。
确定要送书嘛,这么久了,已关注微信公众号,我应该是第一个吧
是真的送书,但是需要评论获赞前5名才有送。