手机归属地免费API
1.百度免费api
http://mobsec-dianhua.baidu.com/dianhua_api/open/location?tel=15850781443
返回示例
{"response":{"15850781443":{"detail":{"area":[{"city":"南京"}],"province":"江苏","type":"domestic","operator":"移动"},"location":"江苏南京移动"}},"responseHeader":{"status":200,"time":1560740789379,"version":"1.1.0"}}
2.淘宝api 只能获取到省
http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=15850781443
返回示例
__GetZoneResult_ = { mts: '1585078', province: '江苏', catName: '中国移动', telString: '15850781443', areaVid: '30511', ispVid: '3236139', carrier: '江苏移动'}
3.百付宝API jsonp
API地址:https://www.baifubao.com/callback?cmd=1059&callback=phone&phone=15850781443参数: phone:手机号码 callback:回调函数 cmd:未知(必须) 返回:JSON
4.http://www.k780.com/api/phone.get
http://api.k780.com:88/?app=phone.get&phone=13800138000&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json
返回示例
{"success":"1","result":{"status":"ALREADY_ATT","phone":"13800138000","area":"010","postno":"100000","att":"中国,北京","ctype":"中国移动138卡","par":"1380013","prefix":"138","operators":"中国移动","style_simcall":"中国,北京","style_citynm":"中华人民共和国,北京市"}}
5.https://www.nowapi.com/api/phone.get
http://api.k780.com:88/?app=phone.get&phone=13800138000&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json&jsoncallback=data
返回示例
data({"success":"1","result":{"status":"ALREADY_ATT","phone":"13800138000","area":"010","postno":"100000","att":"中国,北京","ctype":"中国移动138卡","par":"1380013","prefix":"138","operators":"中国移动","style_simcall":"中国,北京","style_citynm":"中华人民共和国,北京市"}})
出处链接:https://www.jianshu.com/p/9925ecdec5e3
网友评论